i18n fixes

This commit is contained in:
Sander Land committed 2020-06-01 11:48:29 +02:00
1 parent 8d2b49b424
commit 537168d8ee
11 files changed
+67 -58

No files matched your search

+4
View File
@@ -292,6 +292,10 @@ class AIPopup(QuickConfigGui):
class ConfigPopup(QuickConfigGui):
def __init__(self, katrain):
super().__init__(katrain)
self.configfile.text = i18n._("config file path").format(file=katrain.config_file)
def update_config(self, save_to_file=True):
updated = super().update_config(save_to_file=save_to_file)
self.katrain.debug_level = self.katrain.config("general/debug_level", OUTPUT_INFO)