German translation fix, take bottom card via Ctrl+Drag
This commit is contained in:
parent
3211801e39
commit
1bfa355974
3 changed files with 7 additions and 6 deletions
|
@ -175,7 +175,7 @@ QPair<QString, QString> MessageLogWidget::getFromStr(CardZone *zone, QString car
|
|||
else if (startName == "hand")
|
||||
fromStr = tr(" from hand");
|
||||
else if (startName == "deck") {
|
||||
if (position == zone->getCards().size() - 1) {
|
||||
if (position >= zone->getCards().size() - 1) {
|
||||
if (cardName.isEmpty()) {
|
||||
cardName = isFemale(zone->getPlayer()) ? tr("the bottom card of her library") : tr("the bottom card of his library");
|
||||
cardNameContainsStartZone = true;
|
||||
|
|
|
@ -84,8 +84,9 @@ void PileZone::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
|||
return;
|
||||
|
||||
bool faceDown = event->modifiers().testFlag(Qt::ShiftModifier);
|
||||
CardItem *card = cards.at(0);
|
||||
const int cardid = contentsKnown() ? card->getId() : 0;
|
||||
bool bottomCard = event->modifiers().testFlag(Qt::ControlModifier);
|
||||
CardItem *card = bottomCard ? cards.last() : cards.first();
|
||||
const int cardid = contentsKnown() ? card->getId() : (bottomCard ? cards.size() - 1 : 0);
|
||||
CardDragItem *drag = card->createDragItem(cardid, event->pos(), event->scenePos(), faceDown);
|
||||
drag->grabMouse();
|
||||
setCursor(Qt::OpenHandCursor);
|
||||
|
|
|
@ -4218,7 +4218,7 @@ Lokale Version ist %1, Serverversion ist %2.</translation>
|
|||
<message>
|
||||
<location filename="../src/player.cpp" line="444"/>
|
||||
<source>&View library</source>
|
||||
<translation>&Zeige Bibliothek</translation>
|
||||
<translation>Bibliothek &ansehen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move top cards to g&raveyard...</source>
|
||||
|
@ -4237,7 +4237,7 @@ Lokale Version ist %1, Serverversion ist %2.</translation>
|
|||
<message>
|
||||
<location filename="../src/player.cpp" line="445"/>
|
||||
<source>View &top cards of library...</source>
|
||||
<translation>Zeige die oberen Kar&ten der Bibliothek...</translation>
|
||||
<translation>Oberste Karten der Bibliothek a&nsehen...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/player.cpp" line="425"/>
|
||||
|
@ -5589,7 +5589,7 @@ Geben Sie 0 ein für einen unbefristeten Bann.</translation>
|
|||
<message>
|
||||
<location filename="../src/window_deckeditor.cpp" line="118"/>
|
||||
<source>Hash:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Hash:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_deckeditor.cpp" line="132"/>
|
||||
|
|
Loading…
Reference in a new issue