mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 06:44:42 -04:00
The language buttons in the preferences have their localized names in their hint tooltips
For example, if you hover over the "English" button while the language is Greek, the hint tooltip will be "Αγγλικά", which is the Greek word for English.
This commit is contained in:
parent
49005e7425
commit
12fb8b02c8
3 changed files with 28 additions and 29 deletions
|
@ -20,6 +20,7 @@ func _ready() -> void:
|
|||
for child in languages.get_children():
|
||||
if child is Button:
|
||||
child.connect("pressed", self, "_on_Language_pressed", [child])
|
||||
child.hint_tooltip = child.name
|
||||
|
||||
for child in themes.get_children():
|
||||
if child is Button:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue