summaryrefslogtreecommitdiffstats
path: root/module/setup.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-01 12:12:26 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-01 12:12:26 +0100
commit76d5c10380fec15e5e8800ace91597041f814a96 (patch)
tree2d0af1110a67b1a5b3bf77efa698135a18962272 /module/setup.py
parentMU premium lifetime fix (diff)
downloadpyload-76d5c10380fec15e5e8800ace91597041f814a96.tar.xz
Happy new Year !!!
Diffstat (limited to 'module/setup.py')
-rw-r--r--module/setup.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/module/setup.py b/module/setup.py
index 8881cf055..7799ea30c 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -261,12 +261,14 @@ class Setup():
self.config.password = self.ask("", "", password=True)
print ""
- self.config["general"]["language"] = self.ask(_("Language"), "en", ["en", "de", "it", "pl", "es"])
- #@TODO get language from config type
+ langs = self.config.getMetaData("general", "language")
+ self.config["general"]["language"] = self.ask(_("Language"), "en", langs["type"].split(";"))
+
+
self.config["general"]["download_folder"] = self.ask(_("Downloadfolder"), "Downloads")
- self.config["general"]["max_downloads"] = self.ask(_("Max parallel downloads"), "3")
- print _("You should disable checksum proofing, if you have low hardware requirements.")
- self.config["general"]["checksum"] = self.ask(_("Proof checksum?"), "y", bool=True)
+ self.config["download"]["max_downloads"] = self.ask(_("Max parallel downloads"), "3")
+ #print _("You should disable checksum proofing, if you have low hardware requirements.")
+ #self.config["general"]["checksum"] = self.ask(_("Proof checksum?"), "y", bool=True)
reconnect = self.ask(_("Use Reconnect?"), "n", bool=True)
self.config["reconnect"]["activated"] = reconnect