1
0
forked from 0ad/0ad

Correct a missed translation comment and fix translation contexts in the simulation settings.

This was SVN commit r17048.
This commit is contained in:
Nicolas Auvray 2015-09-20 10:37:45 +00:00
parent 0db7ea2dd2
commit c19903936b
2 changed files with 2 additions and 3 deletions

View File

@ -99,8 +99,7 @@ function updateCounters()
var currentSpeed = Engine.GetSimRate();
if (currentSpeed != 1.0)
// Translation: The "x" means "times", with the mathematical meaning of multiplication.
caption += sprintf(
translate("%(time)s (%(speed)sx)"),
caption += sprintf(translate("%(time)s (%(speed)sx)"),
{
time: timeToString(g_SimState.timeElapsed),
speed: Engine.FormatDecimalNumberIntoString(currentSpeed)

View File

@ -64,7 +64,7 @@ function loadSettingValuesFile(filename)
}
if (json.TranslatedKeys)
translateObjectKeys(json, json.TranslatedKeys);
translateObjectKeys(json.Data, json.TranslatedKeys);
return json.Data;
}