updated Spanish; adjusted details for release

This commit is contained in:
Max-Wilhelm Bruker 2012-06-24 16:40:05 +02:00
parent 0bd0361a27
commit 87584a3a76
7 changed files with 253 additions and 253 deletions

View file

@ -94,12 +94,14 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
bool CardInfoWidget::shouldShowPowTough()
{
return (!info->getPowTough().isEmpty() && (minimized != 0));
// return (!info->getPowTough().isEmpty() && (minimized != 0));
return (minimized != 0);
}
bool CardInfoWidget::shouldShowLoyalty()
{
return ((info->getLoyalty() > 0) && (minimized != 0));
// return ((info->getLoyalty() > 0) && (minimized != 0));
return (minimized != 0);
}
void CardInfoWidget::setMinimized(int _minimized)
@ -153,7 +155,7 @@ void CardInfoWidget::setCard(CardInfo *card)
manacostLabel2->setText(card->getManaCost());
cardtypeLabel2->setText(card->getCardType());
powtoughLabel2->setText(card->getPowTough());
loyaltyLabel2->setText(QString::number(card->getLoyalty()));
loyaltyLabel2->setText(card->getLoyalty() > 0 ? QString::number(card->getLoyalty()) : QString());
textLabel->setText(card->getText());
powtoughLabel1->setVisible(shouldShowPowTough());

View file

@ -644,7 +644,7 @@ void Player::retranslateUi()
aFlip->setText(tr("&Flip"));
aPeek->setText(tr("&Peek at card face"));
aClone->setText(tr("&Clone"));
aClone->setShortcut(tr("Ctrl+H"));
aClone->setShortcut(tr("Ctrl+J"));
aAttach->setText(tr("Attac&h to card..."));
aAttach->setShortcut(tr("Ctrl+A"));
aUnattach->setText(tr("Unattac&h"));

View file

@ -224,7 +224,7 @@ void MainWindow::actAbout()
+ tr("French:") + " Yannick Hammer, Arnaud Faes<br>"
+ tr("Japanese:") + " Nagase Task<br>"
+ tr("Russian:") + " Alexander Davidov<br>"
+ tr("Czech:") + " Ondřej Trhoň<br>"
// + tr("Czech:") + " Ondřej Trhoň<br>"
// + tr("Slovak:") + " Ganjalf Rendy<br>"
+ tr("Italian:") + " Luigi Sciolla<br>"
+ tr("Swedish:") + " Jessica Dahl<br>"