This commit is contained in:
Teo Mrnjavac 2016-12-09 13:31:51 +01:00
parent 27328a720b
commit 7160aa60c3

View File

@ -91,13 +91,14 @@ class DummyPythonQtViewStep:
return self.main_widget
def retranslate(self, localeName):
calamares.utils.debug("DummyPythonQt retranslation event "
"for locale name: {}".format(localeName))
global _
_t = gettext.translation('dummypythonqt',
os.path.join(_path, 'lang'),
languages=[localeName])
_ = _t.lgettext
calamares.utils.debug("DummyPythonQt retranslation event "
"for locale name: {}".format(localeName))
class DummyPQJob: