From a056a882c3011df6ad68900a0878b5d4d26ff245 Mon Sep 17 00:00:00 2001 From: tooomm Date: Fri, 6 Apr 2018 04:42:54 +0200 Subject: [PATCH] flip rename (client side) (#3149) --- cockatrice/src/messagelogwidget.cpp | 4 ++-- cockatrice/src/player.cpp | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cockatrice/src/messagelogwidget.cpp b/cockatrice/src/messagelogwidget.cpp index 100ff4db..97b917f0 100644 --- a/cockatrice/src/messagelogwidget.cpp +++ b/cockatrice/src/messagelogwidget.cpp @@ -363,9 +363,9 @@ void MessageLogWidget::logDumpZone(Player *player, CardZone *zone, int numberCar void MessageLogWidget::logFlipCard(Player *player, QString cardName, bool faceDown) { if (faceDown) { - appendHtmlServerMessage(tr("%1 flips %2 face-down.").arg(sanitizeHtml(player->getName())).arg(cardName)); + appendHtmlServerMessage(tr("%1 turns %2 face-down.").arg(sanitizeHtml(player->getName())).arg(cardName)); } else { - appendHtmlServerMessage(tr("%1 flips %2 face-up.").arg(sanitizeHtml(player->getName())).arg(cardName)); + appendHtmlServerMessage(tr("%1 turns %2 face-up.").arg(sanitizeHtml(player->getName())).arg(cardName)); } } diff --git a/cockatrice/src/player.cpp b/cockatrice/src/player.cpp index d3dbf8eb..108d3da9 100644 --- a/cockatrice/src/player.cpp +++ b/cockatrice/src/player.cpp @@ -683,9 +683,13 @@ void Player::retranslateUi() aPlay->setText(tr("&Play")); aHide->setText(tr("&Hide")); aPlayFacedown->setText(tr("Play &Face Down")); + //: Turn sideways or back again aTap->setText(tr("&Tap / Untap")); aDoesntUntap->setText(tr("Toggle &normal untapping")); - aFlip->setText(tr("&Flip")); + //: Turn face up/face down + aFlip->setText(tr("T&urn Over")); // Only the user facing names in client got renamed to "turn over" + // All code and proto bits are still unchanged (flip) for compatibility reasons + // A protocol rewrite with v3 could incorporate that, see #3100 aPeek->setText(tr("&Peek at card face")); aClone->setText(tr("&Clone")); aAttach->setText(tr("Attac&h to card..."));