From 6e39cc382352f32a9d6f4dd06f6b7d6235c93595 Mon Sep 17 00:00:00 2001 From: Matt Lowe Date: Sun, 12 Apr 2015 17:00:43 +0200 Subject: [PATCH] Updated grammar based on #932 Based on #932 I have added pronouns the the graveyard and hand, and also changed "from play" to "from battlefield" --- cockatrice/src/messagelogwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cockatrice/src/messagelogwidget.cpp b/cockatrice/src/messagelogwidget.cpp index ef1588ec..b910db3a 100644 --- a/cockatrice/src/messagelogwidget.cpp +++ b/cockatrice/src/messagelogwidget.cpp @@ -217,7 +217,7 @@ QPair MessageLogWidget::getFromStr(CardZone *zone, QString car QString startName = zone->getName(); if (startName == "table") - fromStr = tr(" from table"); + fromStr = tr(" from battlefield"); else if (startName == "grave") fromStr = tr(" from graveyard"); else if (startName == "rfg") @@ -303,11 +303,11 @@ void MessageLogWidget::doMoveCard(LogMoveCard &attributes) else finalStr = tr("%1 puts %2 into play%3."); } else if (targetName == "grave") - finalStr = tr("%1 puts %2%3 into graveyard."); + finalStr = isFemale(attributes.targetZone->getPlayer()) ? tr("%1 puts %2%3 into her graveyard.") : tr("%1 puts %2%3 into his graveyard."); else if (targetName == "rfg") finalStr = tr("%1 exiles %2%3."); else if (targetName == "hand") - finalStr = tr("%1 moves %2%3 to hand."); + finalStr = isFemale(attributes.targetZone->getPlayer()) ? tr("%1 moves %2%3 to her hand.") : tr("%1 moves %2%3 to his hand."); else if (targetName == "deck") { if (attributes.newX == -1) finalStr = isFemale(attributes.targetZone->getPlayer()) ? tr("%1 puts %2%3 into her library.") : tr("%1 puts %2%3 into his library.");