[Update] Config Window: 再起動ボタンの表示言語。UI Languageが変更された場合は、変更先の言語で表示。

This commit is contained in:
Sakamoto Shiina
2023-10-14 17:48:15 +09:00
parent c0fb949a38
commit 6ed59df596
2 changed files with 4 additions and 2 deletions

View File

@@ -360,7 +360,7 @@ def callbackSetUiLanguage(value):
value = get_key_by_value(selectable_languages, value)
print("callbackSetUiLanguage__after_get_key_by_value", value)
config.UI_LANGUAGE = value
view.showRestartButton()
view.showRestartButton(locale=config.UI_LANGUAGE)
# Translation Tab
def callbackSetDeeplAuthkey(value):