# HG changeset patch # User unc0rr # Date 1289154209 -10800 # Node ID 67e1a683e9b3263a9a8bcfea8201c84bffca002b # Parent 2a92c7f5c0582fc54fe5f6fa0c920841445ad8e2 Fix stats messages Add ru description diff -r 2a92c7f5c058 -r 67e1a683e9b3 QTfrontend/statsPage.cpp --- a/QTfrontend/statsPage.cpp Sun Nov 07 13:20:06 2010 -0500 +++ b/QTfrontend/statsPage.cpp Sun Nov 07 21:23:29 2010 +0300 @@ -225,21 +225,21 @@ case 's' : { int i = info.indexOf(' '); int num = info.left(i).toInt(); - QString message = "
" + PageGameStats::tr("%1 thought it's good to shoot his own hedgehogs with %2 pts.", "", num).arg(info.mid(i + 1), num) + "
"; + QString message = "" + PageGameStats::tr("%1 thought it's good to shoot his own hedgehogs with %2 pts.", "", num).arg(info.mid(i + 1)).arg(num) + "
"; AddStatText(message); break; } case 'S' : { int i = info.indexOf(' '); int num = info.left(i).toInt(); - QString message = "" + PageGameStats::tr("%1 killed %2 of his own hedgehogs.", "", num).arg(info.mid(i + 1), num) + "
"; + QString message = "" + PageGameStats::tr("%1 killed %2 of his own hedgehogs.", "", num).arg(info.mid(i + 1)).arg(num) + "
"; AddStatText(message); break; } case 'B' : { int i = info.indexOf(' '); int num = info.left(i).toInt(); - QString message = "" + PageGameStats::tr("%1 was scared and skipped turn %2 times.", "", num).arg(info.mid(i + 1), num) + "
"; + QString message = "" + PageGameStats::tr("%1 was scared and skipped turn %2 times.", "", num).arg(info.mid(i + 1)).arg(num) + "
"; AddStatText(message); break; } diff -r 2a92c7f5c058 -r 67e1a683e9b3 share/hedgewars/Data/misc/hwengine.desktop.in --- a/share/hedgewars/Data/misc/hwengine.desktop.in Sun Nov 07 13:20:06 2010 -0500 +++ b/share/hedgewars/Data/misc/hwengine.desktop.in Sun Nov 07 21:23:29 2010 +0300 @@ -11,6 +11,7 @@ GenericName[es]=Motor del juego Hedgewars, reproduce demos y partidas guardadas GenericName[it]=Motore grafico di Hedgewars, riproduce le demo e riprende le partite salvate GenericName[pt]=Motor de jogo Hedgewars, para reprodução de jogos guardados e demos +GenericName[ru]=Движок Hedgewars для проигрывания сохранённых игр и демок Icon=hedgewars.png Exec=${CMAKE_INSTALL_PREFIX}/bin/hwengine ${HEDGEWARS_DATADIR}/hedgewars/Data %f Path=/tmp