Merge pull request #4568 from nemaara/language_icon

Title screen: move language button to icon
This commit is contained in:
nemaara 2019-11-17 19:22:42 -05:00 committed by GitHub
commit 5c9077dc41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 2 deletions

View file

@ -260,6 +260,14 @@
()
}
{_GUI_DEFINITION
"action_language"
"Button for displaying the language menu."
"buttons/button_square/button_square_25"
"icons/action/language_25"
()
}
{_GUI_DEFINITION
"left_arrow_short_ornate"
"Left arrow action button."

View file

@ -253,7 +253,6 @@ where
{_GUI_BUTTON "load" _"Load" _"Load a saved game"}
{_GUI_BUTTON "addons" _"Add-ons" _"Download usermade campaigns, eras, or map packs"}
{_GUI_BUTTON "editor" _"Map Editor" _"Start the map editor"}
{_GUI_BUTTON "language" _"Language" _"Change the language"}
{_GUI_BUTTON "preferences" _"Preferences" _"Configure the games settings"}
{_GUI_BUTTON "credits" _"Credits" _"View the credits"}
{_GUI_BUTTON "quit" _"Quit" _"Quit the game"}
@ -446,7 +445,7 @@ where
[row]
[column]
horizontal_alignment = "left"
horizontal_grow = true
vertical_alignment = "bottom"
[grid]
@ -455,6 +454,7 @@ where
[column]
grow_factor = 0
horizontal_alignment = "left"
[button]
id = "about"
definition = "action_about"
@ -464,6 +464,7 @@ where
[column]
grow_factor = 1
horizontal_alignment = "left"
border = "left"
border_size = 5
[label]
@ -472,6 +473,16 @@ where
[/label]
[/column]
[column]
grow_factor = 0
horizontal_alignment = "right"
[button]
id = "language"
definition = "action_language"
tooltip = _ "Change the language"
[/button]
[/column]
[/row]
[/grid]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB