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:
parent
0db7ea2dd2
commit
c19903936b
@ -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)
|
||||
|
@ -64,7 +64,7 @@ function loadSettingValuesFile(filename)
|
||||
}
|
||||
|
||||
if (json.TranslatedKeys)
|
||||
translateObjectKeys(json, json.TranslatedKeys);
|
||||
translateObjectKeys(json.Data, json.TranslatedKeys);
|
||||
|
||||
return json.Data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user