Fix some issues

merge-requests/64/head
Hugo Posnic 2016-12-26 23:14:57 +01:00
parent 97940ebf78
commit 0722b4d864
2 changed files with 3 additions and 4 deletions

View File

@ -10,7 +10,7 @@ msgstr ""
"PO-Revision-Date: 2016-12-27 00:23+0300\n"
"Last-Translator: Jacobtey <jacobtey@gmail.com>\n"
"Language-Team: Russian <>\n"
"Language: pl\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -113,4 +113,3 @@ msgstr "Использовать Calamares (Графический режим)"
#: src/manjaro_hello.py:229
msgid "Can't load page."
msgstr "Невозможно загрузить страницу."

View File

@ -27,14 +27,14 @@ class ManjaroHello():
self.locale_path = "/usr/share/locale/"
self.ui_path = "/usr/share/" + self.app + "/ui/"
self.desktop_path = "/usr/share/applications/" + self.app + ".desktop"
if not hasattr(self, 'logo_path'):
if not hasattr(self, "logo_path"):
self.logo_path = "/usr/share/" + self.app + "/data/img/manjaro.png"
else:
self.data_path = "data/"
self.locale_path = "locale/"
self.ui_path = "ui/"
self.desktop_path = os.getcwd() + "/" + self.app + ".desktop"
if not hasattr(self, 'logo_path'):
if not hasattr(self, "logo_path"):
self.logo_path = "data/img/manjaro.png"
self.config_path = self.home_path + "/.config/"
self.preferences_path = self.config_path + self.app + ".json"