Pagetraining: Make sure the translator comment will be collected
authorWuzzy <Wuzzy2@mail.ru>
Sun, 06 Jan 2019 02:32:27 +0100
changeset 14527 0fc9560be9cc
parent 14526 797e3f441c14
child 14528 6446ddf0c0ba
Pagetraining: Make sure the translator comment will be collected
QTfrontend/ui/page/pagetraining.cpp
--- a/QTfrontend/ui/page/pagetraining.cpp	Sun Jan 06 02:16:45 2019 +0100
+++ b/QTfrontend/ui/page/pagetraining.cpp	Sun Jan 06 02:32:27 2019 +0100
@@ -350,11 +350,15 @@
             QString highscoreText = QString("");
             QString teamName = CBTeam->currentText();
             if (missionValueExists(missionName, teamName, "Highscore"))
-                //: Highest score of a team
-                highscoreText = highscoreText + tr("Team highscore: %1").arg(getMissionValue(missionName, teamName, "Highscore").toString()) + "\n";
+                highscoreText = highscoreText +
+                    //: Highest score of a team
+                    tr("Team highscore: %1")
+                    .arg(getMissionValue(missionName, teamName, "Highscore").toString()) + "\n";
             if (missionValueExists(missionName, teamName, "Lowscore"))
-                //: Lowest score of a team
-                highscoreText = highscoreText + tr("Team lowscore: %1").arg(getMissionValue(missionName, teamName, "Lowscore").toString()) + "\n";
+                highscoreText = highscoreText +
+                    //: Lowest score of a team
+                    tr("Team lowscore: %1")
+                    .arg(getMissionValue(missionName, teamName, "Lowscore").toString()) + "\n";
             if (missionValueExists(missionName, teamName, "TimeRecord"))
             {
                 double time = ((double) getMissionValue(missionName, teamName, "TimeRecord").toInt()) / 1000.0;