1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-03-12 22:35:18 +00:00

Fix "Close" button in the Preferences not being translated from a non-English language

Before this commit, if Pixelorama started in a language other than English and then the user switched languages, the Close button's string would remain translated in the previous language
This commit is contained in:
Emmanouil Papadeas 2022-09-22 16:40:53 +03:00
parent 5a9a3ba495
commit 37eee319b5

View file

@ -111,7 +111,7 @@ class Preference:
func _ready() -> void:
# Replace OK since preference changes are being applied immediately, not after OK confirmation
get_ok().text = tr("Close")
get_ok().text = "Close"
shrink_h_slider.value = Global.shrink # In case shrink is not equal to 1
for child in shortcuts.get_children():