QTfrontend/ui/page/pagetraining.cpp
changeset 14591 b4089fa16b34
parent 14527 0fc9560be9cc
child 14646 e3e6b0c6543f
equal deleted inserted replaced
14590:c5f18710a184 14591:b4089fa16b34
   357             if (missionValueExists(missionName, teamName, "Lowscore"))
   357             if (missionValueExists(missionName, teamName, "Lowscore"))
   358                 highscoreText = highscoreText +
   358                 highscoreText = highscoreText +
   359                     //: Lowest score of a team
   359                     //: Lowest score of a team
   360                     tr("Team lowscore: %1")
   360                     tr("Team lowscore: %1")
   361                     .arg(getMissionValue(missionName, teamName, "Lowscore").toString()) + "\n";
   361                     .arg(getMissionValue(missionName, teamName, "Lowscore").toString()) + "\n";
       
   362             if (missionValueExists(missionName, teamName, "AccuracyRecord"))
       
   363                 highscoreText = highscoreText +
       
   364                     //: Best accuracy of a team (in a challenge)
       
   365                     tr("Team's top accuracy: %1%")
       
   366                     .arg(getMissionValue(missionName, teamName, "AccuracyRecord").toString()) + "\n";
   362             if (missionValueExists(missionName, teamName, "TimeRecord"))
   367             if (missionValueExists(missionName, teamName, "TimeRecord"))
   363             {
   368             {
   364                 double time = ((double) getMissionValue(missionName, teamName, "TimeRecord").toInt()) / 1000.0;
   369                 double time = ((double) getMissionValue(missionName, teamName, "TimeRecord").toInt()) / 1000.0;
   365                 highscoreText = highscoreText + tr("Team's best time: %L1 s").arg(time, 0, 'f', 3) + "\n";
   370                 highscoreText = highscoreText + tr("Team's best time: %L1 s").arg(time, 0, 'f', 3) + "\n";
   366             }
   371             }