cleaned up log widget

This commit is contained in:
brukie 2009-06-10 13:11:12 +02:00
parent 21daf9db99
commit 05e12636ea
2 changed files with 6 additions and 1 deletions

View file

@ -104,6 +104,8 @@ void MessageLogWidget::logSetCardCounters(QString playerName, QString cardName,
void MessageLogWidget::logSetTapped(QString playerName, QString cardName, bool tapped)
{
if (cardName == "-1")
cardName = tr("his permanents");
appendAndScroll(tr("%1 %2 %3").arg(playerName).arg(tapped ? "taps" : "untaps").arg(cardName));
}