Thank's Jacobtey.
merge-requests/64/head
Hugo Posnic 2017-03-19 21:29:53 +01:00
parent 303d547440
commit 24d36439c4
1 changed files with 2 additions and 1 deletions

View File

@ -136,6 +136,8 @@ class ManjaroHello():
except OSError: except OSError:
return return
self.preferences["locale"] = locale
# Dirty code to fix an issue with gettext that can't translate strings from glade files # Dirty code to fix an issue with gettext that can't translate strings from glade files
# Redfining all translatables strings # Redfining all translatables strings
# TODO: Find a better solution # TODO: Find a better solution
@ -179,7 +181,6 @@ class ManjaroHello():
label = child.get_children()[0].get_children()[0] label = child.get_children()[0].get_children()[0]
label.set_markup(self.get_page(page)) label.set_markup(self.get_page(page))
self.preferences["locale"] = locale
def set_autostart(self, autostart): def set_autostart(self, autostart):
"""Set state of autostart. """Set state of autostart.