mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 09:03:57 -07:00
update remaining logs
This commit is contained in:
parent
ab1fce75f2
commit
80110ee74d
1 changed files with 10 additions and 2 deletions
|
|
@ -343,10 +343,18 @@ void MessageLogWidget::logMoveCard(Player *player,
|
||||||
finalStr = tr("%1 moves %2%3 to sideboard.");
|
finalStr = tr("%1 moves %2%3 to sideboard.");
|
||||||
} else if (targetZoneName == STACK_ZONE_NAME) {
|
} else if (targetZoneName == STACK_ZONE_NAME) {
|
||||||
soundEngine->playSound("play_card");
|
soundEngine->playSound("play_card");
|
||||||
finalStr = tr("%1 plays %2%3.");
|
if (card->getFaceDown()) {
|
||||||
|
finalStr = tr("%1 plays %2%3 face down.");
|
||||||
|
} else {
|
||||||
|
finalStr = tr("%1 plays %2%3.");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
fourthArg = targetZoneName;
|
fourthArg = targetZoneName;
|
||||||
finalStr = tr("%1 moves %2%3 to custom zone '%4'.");
|
if (card->getFaceDown()) {
|
||||||
|
finalStr = tr("%1 moves %2%3 to custom zone '%4' face down.");
|
||||||
|
} else {
|
||||||
|
finalStr = tr("%1 moves %2%3 to custom zone '%4'.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString message = finalStr.arg(sanitizeHtml(player->getPlayerInfo()->getName()), cardStr, nameFrom.second);
|
QString message = finalStr.arg(sanitizeHtml(player->getPlayerInfo()->getName()), cardStr, nameFrom.second);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue