mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +07:00
Translation of the mod's name (#2260)
This commit is contained in:
parent
7591d7f2c6
commit
2d33273c8d
@ -317,6 +317,7 @@ Starting Era =
|
|||||||
It looks like we can't make a map with the parameters you requested! =
|
It looks like we can't make a map with the parameters you requested! =
|
||||||
Maybe you put too many players into too small a map? =
|
Maybe you put too many players into too small a map? =
|
||||||
No human players selected! =
|
No human players selected! =
|
||||||
|
Mods: =
|
||||||
|
|
||||||
# Multiplayer
|
# Multiplayer
|
||||||
|
|
||||||
|
@ -233,10 +233,10 @@ class NewGameScreenOptionsTable(val newGameScreen: NewGameScreen, val updatePlay
|
|||||||
ImageGetter.setTextureRegionDrawables()
|
ImageGetter.setTextureRegionDrawables()
|
||||||
}
|
}
|
||||||
|
|
||||||
add("{Mods}:".tr().toLabel(fontSize = 24)).padTop(16f).colspan(2).row()
|
add("Mods:".tr().toLabel(fontSize = 24)).padTop(16f).colspan(2).row()
|
||||||
val modCheckboxTable = Table().apply { defaults().pad(5f) }
|
val modCheckboxTable = Table().apply { defaults().pad(5f) }
|
||||||
for(mod in modRulesets){
|
for(mod in modRulesets){
|
||||||
val checkBox = CheckBox(mod.name,CameraStageBaseScreen.skin)
|
val checkBox = CheckBox(mod.name.tr(),CameraStageBaseScreen.skin)
|
||||||
if (mod.name in newGameParameters.mods) checkBox.isChecked = true
|
if (mod.name in newGameParameters.mods) checkBox.isChecked = true
|
||||||
checkBox.addListener(object : ChangeListener() {
|
checkBox.addListener(object : ChangeListener() {
|
||||||
override fun changed(event: ChangeEvent?, actor: Actor?) {
|
override fun changed(event: ChangeEvent?, actor: Actor?) {
|
||||||
|
Loading…
Reference in New Issue
Block a user