fix wording
This commit is contained in:
parent
853342463a
commit
045da30546
1 changed files with 14 additions and 14 deletions
|
@ -224,20 +224,7 @@ QPair<QString, QString> MessageLogWidget::getFromStr(CardZone *zone, QString car
|
||||||
else if (startName == "hand")
|
else if (startName == "hand")
|
||||||
fromStr = isFemale(zone->getPlayer()) ? tr(" from her hand") : tr(" from his hand");
|
fromStr = isFemale(zone->getPlayer()) ? tr(" from her hand") : tr(" from his hand");
|
||||||
else if (startName == "deck") {
|
else if (startName == "deck") {
|
||||||
if (position >= zone->getCards().size() - 1) {
|
if (position == 0) {
|
||||||
if (cardName.isEmpty()) {
|
|
||||||
if (ownerChange)
|
|
||||||
cardName = tr("the bottom card of %1's library").arg(zone->getPlayer()->getName());
|
|
||||||
else
|
|
||||||
cardName = isFemale(zone->getPlayer()) ? tr("the bottom card of her library") : tr("the bottom card of his library");
|
|
||||||
cardNameContainsStartZone = true;
|
|
||||||
} else {
|
|
||||||
if (ownerChange)
|
|
||||||
fromStr = tr(" from the bottom of %1's library").arg(zone->getPlayer()->getName());
|
|
||||||
else
|
|
||||||
fromStr = isFemale(zone->getPlayer()) ? tr(" from the bottom of her library") : tr(" from the bottom of his library");
|
|
||||||
}
|
|
||||||
} else if (position == 0) {
|
|
||||||
if (cardName.isEmpty()) {
|
if (cardName.isEmpty()) {
|
||||||
if (ownerChange)
|
if (ownerChange)
|
||||||
cardName = tr("the top card of %1's library").arg(zone->getPlayer()->getName());
|
cardName = tr("the top card of %1's library").arg(zone->getPlayer()->getName());
|
||||||
|
@ -250,6 +237,19 @@ QPair<QString, QString> MessageLogWidget::getFromStr(CardZone *zone, QString car
|
||||||
else
|
else
|
||||||
fromStr = isFemale(zone->getPlayer()) ? tr(" from the top of her library") : tr(" from the top of his library");
|
fromStr = isFemale(zone->getPlayer()) ? tr(" from the top of her library") : tr(" from the top of his library");
|
||||||
}
|
}
|
||||||
|
} else if (position >= zone->getCards().size() - 1) {
|
||||||
|
if (cardName.isEmpty()) {
|
||||||
|
if (ownerChange)
|
||||||
|
cardName = tr("the bottom card of %1's library").arg(zone->getPlayer()->getName());
|
||||||
|
else
|
||||||
|
cardName = isFemale(zone->getPlayer()) ? tr("the bottom card of her library") : tr("the bottom card of his library");
|
||||||
|
cardNameContainsStartZone = true;
|
||||||
|
} else {
|
||||||
|
if (ownerChange)
|
||||||
|
fromStr = tr(" from the bottom of %1's library").arg(zone->getPlayer()->getName());
|
||||||
|
else
|
||||||
|
fromStr = isFemale(zone->getPlayer()) ? tr(" from the bottom of her library") : tr(" from the bottom of his library");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (ownerChange)
|
if (ownerChange)
|
||||||
fromStr = tr(" from %1's library").arg(zone->getPlayer()->getName());
|
fromStr = tr(" from %1's library").arg(zone->getPlayer()->getName());
|
||||||
|
|
Loading…
Reference in a new issue