Reorder.
This commit is contained in:
parent
27328a720b
commit
7160aa60c3
@ -91,13 +91,14 @@ class DummyPythonQtViewStep:
|
|||||||
return self.main_widget
|
return self.main_widget
|
||||||
|
|
||||||
def retranslate(self, localeName):
|
def retranslate(self, localeName):
|
||||||
|
calamares.utils.debug("DummyPythonQt retranslation event "
|
||||||
|
"for locale name: {}".format(localeName))
|
||||||
|
|
||||||
global _
|
global _
|
||||||
_t = gettext.translation('dummypythonqt',
|
_t = gettext.translation('dummypythonqt',
|
||||||
os.path.join(_path, 'lang'),
|
os.path.join(_path, 'lang'),
|
||||||
languages=[localeName])
|
languages=[localeName])
|
||||||
_ = _t.lgettext
|
_ = _t.lgettext
|
||||||
calamares.utils.debug("DummyPythonQt retranslation event "
|
|
||||||
"for locale name: {}".format(localeName))
|
|
||||||
|
|
||||||
|
|
||||||
class DummyPQJob:
|
class DummyPQJob:
|
||||||
|
Loading…
Reference in New Issue
Block a user