From 570da31e3a030b25e84721348fe14b362c7eb513 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 3 Feb 2010 17:33:28 +0100 Subject: l18n fixes --- pyLoadCli.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pyLoadCli.py') diff --git a/pyLoadCli.py b/pyLoadCli.py index 1989163c2..99d121d02 100755 --- a/pyLoadCli.py +++ b/pyLoadCli.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -#Copyright (C) 2009 RaNaN +#Copyright (C) 2010 RaNaN # #This program is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by @@ -430,7 +430,7 @@ if __name__ == "__main__": xmlconfig = XMLConfigParser(join(abspath(dirname(__file__)), "module", "config", "core.xml")) config = xmlconfig.getConfig() - translation = gettext.translation("pyLoad", join(abspath(dirname(__file__)), "locale"), languages=[config['general']['language']]) + translation = gettext.translation("pyLoadCli", join(abspath(dirname(__file__)), "locale"), languages=[config['general']['language']]) translation.install(unicode=True) if len(sys.argv) > 1: @@ -441,9 +441,7 @@ if __name__ == "__main__": opts, extraparams = __import__("getopt").getopt(sys.argv[1:], shortOptions, longOptions) for option, params in opts: if option in ("-l", "--local"): - - - + ssl = "" if config['ssl']['activated'] == "True": ssl = "s" -- cgit v1.2.3