Displace two vars
This commit is contained in:
@@ -15,8 +15,6 @@ class ManjaroHello():
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
# App vars
|
# App vars
|
||||||
self.app = "manjaro-hello"
|
self.app = "manjaro-hello"
|
||||||
self.default_locale = "en_US"
|
|
||||||
self.sys_locale = locale.getdefaultlocale()[0]
|
|
||||||
self.urls = {
|
self.urls = {
|
||||||
"wiki": "https://wiki.manjaro.org",
|
"wiki": "https://wiki.manjaro.org",
|
||||||
"forums": "https://forum.manjaro.org",
|
"forums": "https://forum.manjaro.org",
|
||||||
@@ -56,6 +54,8 @@ class ManjaroHello():
|
|||||||
self.window = self.builder.get_object("window")
|
self.window = self.builder.get_object("window")
|
||||||
|
|
||||||
# Init translation
|
# Init translation
|
||||||
|
self.default_locale = "en_US"
|
||||||
|
self.sys_locale = locale.getdefaultlocale()[0]
|
||||||
self.default_texts = {}
|
self.default_texts = {}
|
||||||
locales = os.listdir(self.locale_path)
|
locales = os.listdir(self.locale_path)
|
||||||
locales.append(self.default_locale)
|
locales.append(self.default_locale)
|
||||||
|
|||||||
Reference in New Issue
Block a user