summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-13 16:00:25 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-13 16:00:25 +0100
commit3f2c0734a294b2b42fcc68bdec76d1bc04c77c90 (patch)
treed4506da4908471c766d59609d083b9acdfd266e3
parentfixed last commit (diff)
downloadpyload-3f2c0734a294b2b42fcc68bdec76d1bc04c77c90.tar.xz
fixed setup
-rw-r--r--pyload/setup/Setup.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pyload/setup/Setup.py b/pyload/setup/Setup.py
index aa65edb4b..63d28852d 100644
--- a/pyload/setup/Setup.py
+++ b/pyload/setup/Setup.py
@@ -244,7 +244,6 @@ class Setup():
self.config["ssl"]["activated"] = self.ask(_("Activate SSL?"), self.yes, bool=True)
def set_user(self):
- gettext.setpaths([join(os.sep, "usr", "share", "pyload", "locale"), None])
translation = gettext.translation("setup", join(self.path, "locale"),
languages=[self.config["general"]["language"], "en"], fallback=True)
translation.install(True)
@@ -311,7 +310,6 @@ class Setup():
def conf_path(self, trans=False):
if trans:
- gettext.setpaths([join(os.sep, "usr", "share", "pyload", "locale"), None])
translation = gettext.translation("setup", join(self.path, "locale"),
languages=[self.config["general"]["language"], "en"], fallback=True)
translation.install(True)
@@ -336,7 +334,6 @@ class Setup():
def ask_lang(self):
langs = self.config.getMetaData("general", "language").type.split(";")
self.lang = self.ask(u"Choose your Language / Wähle deine Sprache", "en", langs)
- gettext.setpaths([join(os.sep, "usr", "share", "pyload", "locale"), None])
translation = gettext.translation("setup", join(self.path, "locale"), languages=[self.lang, "en"], fallback=True)
translation.install(True)