Fix some issues
parent
97940ebf78
commit
0722b4d864
3
po/ru.po
3
po/ru.po
|
@ -10,7 +10,7 @@ msgstr ""
|
||||||
"PO-Revision-Date: 2016-12-27 00:23+0300\n"
|
"PO-Revision-Date: 2016-12-27 00:23+0300\n"
|
||||||
"Last-Translator: Jacobtey <jacobtey@gmail.com>\n"
|
"Last-Translator: Jacobtey <jacobtey@gmail.com>\n"
|
||||||
"Language-Team: Russian <>\n"
|
"Language-Team: Russian <>\n"
|
||||||
"Language: pl\n"
|
"Language: ru\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
@ -113,4 +113,3 @@ msgstr "Использовать Calamares (Графический режим)"
|
||||||
#: src/manjaro_hello.py:229
|
#: src/manjaro_hello.py:229
|
||||||
msgid "Can't load page."
|
msgid "Can't load page."
|
||||||
msgstr "Невозможно загрузить страницу."
|
msgstr "Невозможно загрузить страницу."
|
||||||
|
|
||||||
|
|
|
@ -27,14 +27,14 @@ class ManjaroHello():
|
||||||
self.locale_path = "/usr/share/locale/"
|
self.locale_path = "/usr/share/locale/"
|
||||||
self.ui_path = "/usr/share/" + self.app + "/ui/"
|
self.ui_path = "/usr/share/" + self.app + "/ui/"
|
||||||
self.desktop_path = "/usr/share/applications/" + self.app + ".desktop"
|
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"
|
self.logo_path = "/usr/share/" + self.app + "/data/img/manjaro.png"
|
||||||
else:
|
else:
|
||||||
self.data_path = "data/"
|
self.data_path = "data/"
|
||||||
self.locale_path = "locale/"
|
self.locale_path = "locale/"
|
||||||
self.ui_path = "ui/"
|
self.ui_path = "ui/"
|
||||||
self.desktop_path = os.getcwd() + "/" + self.app + ".desktop"
|
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.logo_path = "data/img/manjaro.png"
|
||||||
self.config_path = self.home_path + "/.config/"
|
self.config_path = self.home_path + "/.config/"
|
||||||
self.preferences_path = self.config_path + self.app + ".json"
|
self.preferences_path = self.config_path + self.app + ".json"
|
||||||
|
|
Loading…
Reference in New Issue