Translation of the mod's name (#2260)
This commit is contained in:
parent
7591d7f2c6
commit
2d33273c8d
2 changed files with 3 additions and 2 deletions
|
@ -317,6 +317,7 @@ Starting Era =
|
|||
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? =
|
||||
No human players selected! =
|
||||
Mods: =
|
||||
|
||||
# Multiplayer
|
||||
|
||||
|
|
|
@ -233,10 +233,10 @@ class NewGameScreenOptionsTable(val newGameScreen: NewGameScreen, val updatePlay
|
|||
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) }
|
||||
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
|
||||
checkBox.addListener(object : ChangeListener() {
|
||||
override fun changed(event: ChangeEvent?, actor: Actor?) {
|
||||
|
|
Loading…
Reference in a new issue