mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-03 08:39:37 +07:00
fixing translatable (#7277)
* 1 - speeds not translatable * 2 - start year:
This commit is contained in:
@ -71,7 +71,7 @@ class Speed : RulesetObject() {
|
||||
yield(FormattedLine("Golden age length modifier: [${goldenAgeLengthModifier * 100}]%${Fonts.happiness}"))
|
||||
yield(FormattedLine("Adjacent city religious pressure: [$religiousPressureAdjacentCity]${Fonts.faith}"))
|
||||
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()
|
||||
|
||||
fun numTotalTurns(): Int = yearsPerTurn.last().untilTurn
|
||||
|
Reference in New Issue
Block a user