Updated fix for #53 to only work on 3.1.x

As of 3.2.x, the fix has been implemented to Godot itself. See https://github.com/godotengine/godot/pull/34654
This commit is contained in:
OverloadedOrama 2020-01-01 15:00:46 +02:00
parent f7ba68b5fc
commit d917eb06de
2 changed files with 8 additions and 2 deletions

View file

@ -74,6 +74,10 @@ func _on_Language_pressed(button : Button) -> void:
Global.config_cache.set_value("preferences", "locale", TranslationServer.get_locale())
Global.config_cache.save("user://cache.ini")
# Update Translations
_on_PreferencesDialog_popup_hide()
_on_PreferencesDialog_about_to_show()
func _on_Theme_pressed(button : Button) -> void:
var index := 0
var i := 0