# HG changeset patch # User Wuzzy # Date 1546738347 -3600 # Node ID 0fc9560be9cc8e8e503111a924743106c68bdebf # Parent 797e3f441c14f5b478efe044367e0238964240e4 Pagetraining: Make sure the translator comment will be collected diff -r 797e3f441c14 -r 0fc9560be9cc 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;