QTfrontend/ui/page/pagegamestats.cpp
changeset 12441 fdaafc48dce4
parent 12331 6707ee1d2430
child 12444 832b969ea00c
equal deleted inserted replaced
12440:f03105f8d756 12441:fdaafc48dce4
   315         }
   315         }
   316         case 's' :
   316         case 's' :
   317         {
   317         {
   318             int i = info.indexOf(' ');
   318             int i = info.indexOf(' ');
   319             int num = info.left(i).toInt();
   319             int num = info.left(i).toInt();
   320             QString message = "<p><img src=\":/res/StatsMostSelfDamage.png\"> " + PageGameStats::tr("<b>%1</b> thought it's good to shoot his own hedgehogs with <b>%2</b> pts.", "", num).arg(info.mid(i + 1)).arg(num) + "</p>";
   320             QString message = "<p><img src=\":/res/StatsMostSelfDamage.png\"> " + PageGameStats::tr("<b>%1</b> thought it's good to shoot their own hedgehogs with <b>%2</b> pts.", "", num).arg(info.mid(i + 1)).arg(num) + "</p>";
   321             AddStatText(message);
   321             AddStatText(message);
   322             break;
   322             break;
   323         }
   323         }
   324         case 'S' :
   324         case 'S' :
   325         {
   325         {
   326             int i = info.indexOf(' ');
   326             int i = info.indexOf(' ');
   327             int num = info.left(i).toInt();
   327             int num = info.left(i).toInt();
   328             QString message = "<p><img src=\":/res/StatsSelfKilled.png\"> " + PageGameStats::tr("<b>%1</b> killed <b>%2</b> of his own hedgehogs.", "", num).arg(info.mid(i + 1)).arg(num) + "</p>";
   328             QString message = "<p><img src=\":/res/StatsSelfKilled.png\"> " + PageGameStats::tr("<b>%1</b> killed <b>%2</b> of their own hedgehogs.", "", num).arg(info.mid(i + 1)).arg(num) + "</p>";
   329             AddStatText(message);
   329             AddStatText(message);
   330             break;
   330             break;
   331         }
   331         }
   332         case 'B' :
   332         case 'B' :
   333         {
   333         {