Various UX improvements (#7207)

* Refactor: Format JSON

* Change button hover color to be darker

* Refactor: Change disabled buttons to always look disabled, even if they don't have the default style

* Make disabled style a little grayer

* Refactor: Make addCloseButton not start a new row

* Refactor: Remove "...inRow" popup button methods & add button style parameter

* Reorder "ok/cancel" popups to have "ok" on the right side

* Fix pointer enter/exit events being disabled by default

* Fix equalizeLastTwoButtonWidths not setting the cells to be equal size

* Change YesNoPopup to ConfirmPopup

* Add ConfirmPopup to deletion of save files
This commit is contained in:
Timo T
2022-06-19 00:53:30 +02:00
committed by GitHub
parent 35c68b47d5
commit 197241b2e0
29 changed files with 482 additions and 342 deletions

View File

@ -25,6 +25,9 @@ Fastlane_full_description =
# Starting from here normal translations start, as described in
# https://yairm210.github.io/Unciv/Other/Translating/
# General
Delete =
# Base ruleset names
Civ V - Vanilla =
Civ V - Gods & Kings =
@ -141,6 +144,7 @@ We will remember this. =
[civName] and [targetCivName] have signed the Declaration of Friendship! =
[civName] has denounced [targetCivName]! =
Do you want to break your promise to [leaderName]? =
Break promise =
We promised not to settle near them ([count] turns remaining) =
They promised not to settle near us ([count] turns remaining) =
@ -505,6 +509,7 @@ Change map to fit selected ruleset? =
Area: [amount] tiles, [amount2] continents/islands =
Area: [amount] tiles, [amount2]% water, [amount3] continents/islands =
Do you want to leave without saving the recent changes? =
Leave =
Do you want to load another map without saving the recent changes? =
Invalid map: Area ([area]) does not match saved dimensions ([dimensions]). =
The dimensions have now been fixed for you. =
@ -627,6 +632,7 @@ Copy to clipboard =
Copy saved game to clipboard =
Could not load game =
Load [saveFileName] =
Are you sure you want to delete this save? =
Delete save =
[saveFileName] deleted successfully. =
Insufficient permissions to delete [saveFileName]. =
@ -634,6 +640,7 @@ Failed to delete [saveFileName]. =
Saved at =
Saving... =
Overwrite existing file? =
Overwrite =
It looks like your saved game can't be loaded! =
If you could copy your game data ("Copy saved game to clipboard" - =
paste into an email to yairm210@hotmail.com) =
@ -943,6 +950,7 @@ Social policies =
Community =
Close =
Do you want to exit the game? =
Exit =
Start bias: =
Avoid [terrain] =
@ -962,6 +970,7 @@ Buy for [amount] gold =
Buy =
Currently you have [amount] [stat]. =
Would you like to purchase [constructionName] for [buildingGoldCost] [stat]? =
Purchase =
No space available to place [unit] near [city] =
Maintenance cost =
Pick construction =