Changed options for "Show worked tiles" and "Show resources and improvements" because it was less clear than the other options

This commit is contained in:
Yair Morgenstern 2019-10-22 19:41:22 +03:00
parent 062d1d34ce
commit 777d1391f4
2 changed files with 12 additions and 8 deletions

View File

@ -821,7 +821,7 @@
Czech:"Schovat"
}
"Worked tiles":{
"Show worked tiles":{
Italian:"Celle sfruttate"
Russian:"Обрабатываемые клетки"
French:"cases exploités"

View File

@ -46,14 +46,18 @@ class WorldScreenOptionsTable(val worldScreen:WorldScreen) : PopupTable(worldScr
val innerTable = PopupTable(screen) // cheating, to get the old code to fit inside a Scroll =)
innerTable.background = null
innerTable.add("Worked tiles".toLabel())
if (settings.showWorkedTiles) innerTable.addButton("Hide") { settings.showWorkedTiles = false; update() }
else innerTable.addButton("Show") { settings.showWorkedTiles = true; update() }
innerTable.add("Resources and improvements".toLabel())
if (settings.showResourcesAndImprovements)
innerTable.addButton("Hide") { settings.showResourcesAndImprovements = false; update() }
else innerTable.addButton("Show") { settings.showResourcesAndImprovements = true; update() }
innerTable.add("Show worked tiles".toLabel())
innerTable.addButton(if (settings.showWorkedTiles) "Yes".tr() else "No".tr()) {
settings.showWorkedTiles= !settings.showWorkedTiles
update()
}
innerTable.add("Show resources and improvements".toLabel())
innerTable.addButton(if (settings.showResourcesAndImprovements) "Yes".tr() else "No".tr()) {
settings.showResourcesAndImprovements = !settings.showResourcesAndImprovements
update()
}
innerTable.add("Check for idle units".toLabel())
innerTable.addButton(if (settings.checkForDueUnits) "Yes".tr() else "No".tr()) {