mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 02:09:21 +07:00
fixing translatable (#7277)
* 1 - speeds not translatable * 2 - start year:
This commit is contained in:
@ -1340,7 +1340,7 @@ Eras =
|
|||||||
Embarked strength: [amount]† =
|
Embarked strength: [amount]† =
|
||||||
Base unit buy cost: [amount]¤ =
|
Base unit buy cost: [amount]¤ =
|
||||||
Research agreement cost: [amount]¤ =
|
Research agreement cost: [amount]¤ =
|
||||||
Game Speeds =
|
Speeds =
|
||||||
General speed modifier: [amount]%⏳ =
|
General speed modifier: [amount]%⏳ =
|
||||||
Production cost modifier: [amount]%⚙ =
|
Production cost modifier: [amount]%⚙ =
|
||||||
Gold cost modifier: [amount]%¤ =
|
Gold cost modifier: [amount]%¤ =
|
||||||
|
@ -71,7 +71,7 @@ class Speed : RulesetObject() {
|
|||||||
yield(FormattedLine("Golden age length modifier: [${goldenAgeLengthModifier * 100}]%${Fonts.happiness}"))
|
yield(FormattedLine("Golden age length modifier: [${goldenAgeLengthModifier * 100}]%${Fonts.happiness}"))
|
||||||
yield(FormattedLine("Adjacent city religious pressure: [$religiousPressureAdjacentCity]${Fonts.faith}"))
|
yield(FormattedLine("Adjacent city religious pressure: [$religiousPressureAdjacentCity]${Fonts.faith}"))
|
||||||
yield(FormattedLine("Peace deal duration: [$peaceDealDuration] turns${Fonts.turn}"))
|
yield(FormattedLine("Peace deal duration: [$peaceDealDuration] turns${Fonts.turn}"))
|
||||||
yield(FormattedLine("Start year: " + ("[${abs(startYear).toInt()}] " + (if (startYear < 0) "BC" else "AD")).tr()))
|
yield(FormattedLine("Start year: [" + ("{[${abs(startYear).toInt()}] " + (if (startYear < 0) "BC" else "AD") + "}]").tr()))
|
||||||
}.toList()
|
}.toList()
|
||||||
|
|
||||||
fun numTotalTurns(): Int = yearsPerTurn.last().untilTurn
|
fun numTotalTurns(): Int = yearsPerTurn.last().untilTurn
|
||||||
|
Reference in New Issue
Block a user