From 37eee319b5e0d3ad7a0cc2ea1955290dfcb3ae4c Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Thu, 22 Sep 2022 16:40:53 +0300 Subject: [PATCH] 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 --- src/Preferences/PreferencesDialog.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Preferences/PreferencesDialog.gd b/src/Preferences/PreferencesDialog.gd index e5208b091..b2ec8d47b 100644 --- a/src/Preferences/PreferencesDialog.gd +++ b/src/Preferences/PreferencesDialog.gd @@ -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():