Displace two vars

merge-requests/64/head
Huluti 2016-12-11 01:05:01 +01:00
parent 4d10dc2399
commit d33234b740
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,6 @@ class ManjaroHello():
def __init__(self):
# App vars
self.app = "manjaro-hello"
self.default_locale = "en_US"
self.sys_locale = locale.getdefaultlocale()[0]
self.urls = {
"wiki": "https://wiki.manjaro.org",
"forums": "https://forum.manjaro.org",
@ -56,6 +54,8 @@ class ManjaroHello():
self.window = self.builder.get_object("window")
# Init translation
self.default_locale = "en_US"
self.sys_locale = locale.getdefaultlocale()[0]
self.default_texts = {}
locales = os.listdir(self.locale_path)
locales.append(self.default_locale)