diff options
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r-- | jfr_playoff/gui/tabs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py index 7ef0f84..4a49d83 100644 --- a/jfr_playoff/gui/tabs.py +++ b/jfr_playoff/gui/tabs.py @@ -357,5 +357,11 @@ class TranslationsTab(PlayoffTab): container, vertical=True) self.translationsFrame.pack(side=tk.TOP, fill=tk.BOTH, expand=True) + def setValues(self, config): + if 'i18n' in config: + self.translationsFrame.setTranslations(config['i18n']) + else: + self.translationsFrame.setTranslations({}) + __all__ = ['MainSettingsTab', 'TeamsTab', 'MatchesTab', 'SwissesTab', 'NetworkTab', 'VisualTab', 'StyleTab', 'TranslationsTab'] |