mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
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:
parent
062d1d34ce
commit
777d1391f4
@ -821,7 +821,7 @@
|
|||||||
Czech:"Schovat"
|
Czech:"Schovat"
|
||||||
}
|
}
|
||||||
|
|
||||||
"Worked tiles":{
|
"Show worked tiles":{
|
||||||
Italian:"Celle sfruttate"
|
Italian:"Celle sfruttate"
|
||||||
Russian:"Обрабатываемые клетки"
|
Russian:"Обрабатываемые клетки"
|
||||||
French:"cases exploités"
|
French:"cases exploités"
|
||||||
|
@ -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 =)
|
val innerTable = PopupTable(screen) // cheating, to get the old code to fit inside a Scroll =)
|
||||||
innerTable.background = null
|
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())
|
innerTable.add("Show worked tiles".toLabel())
|
||||||
if (settings.showResourcesAndImprovements)
|
innerTable.addButton(if (settings.showWorkedTiles) "Yes".tr() else "No".tr()) {
|
||||||
innerTable.addButton("Hide") { settings.showResourcesAndImprovements = false; update() }
|
settings.showWorkedTiles= !settings.showWorkedTiles
|
||||||
else innerTable.addButton("Show") { settings.showResourcesAndImprovements = true; update() }
|
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.add("Check for idle units".toLabel())
|
||||||
innerTable.addButton(if (settings.checkForDueUnits) "Yes".tr() else "No".tr()) {
|
innerTable.addButton(if (settings.checkForDueUnits) "Yes".tr() else "No".tr()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user