screen: Allow fallback for other languages

This commit is contained in:
Jordan 2020-12-18 13:10:45 -05:00
parent 5c1d5a1825
commit 246c15494c

View File

@ -90,7 +90,7 @@ class KlipperScreen(Gtk.Window):
'is_active': False
}
})
self.lang = gettext.translation('KlipperScreen', localedir='ks_includes/locales')
self.lang = gettext.translation('KlipperScreen', localedir='ks_includes/locales', fallback=True)
_ = self.lang.gettext
self.apiclient = KlippyRest(self._config.get_main_config_option("moonraker_host"),