summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 23:05:16 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 23:05:16 +0200
commita4bba0a5d6ffccc3c2fb680d94872ff6cb9ca158 (patch)
treecf3b2976c1c5d4837c1c7ecc927b81a715f4b46b
parentUpdated plugins POT (diff)
downloadpyload-a4bba0a5d6ffccc3c2fb680d94872ff6cb9ca158.tar.xz
Moving options to xargs
-rw-r--r--pavement.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pavement.py b/pavement.py
index ae681c03f..28c955e0d 100644
--- a/pavement.py
+++ b/pavement.py
@@ -50,7 +50,8 @@ options(
)
# xgettext args
-xargs = ["--from-code=utf-8", "--copyright-holder=pyLoad Team", "--package-name=pyload",
+xargs = ["--language=Python", "--add-comments=L10N",
+ "--from-code=utf-8", "--copyright-holder=pyLoad Team", "--package-name=pyload",
"--package-version=%s" % __version__, "--msgid-bugs-address='bugs@pyload.org'"]
@@ -271,7 +272,7 @@ def makepot(domain, p, excludes=[], includes="", endings=[".py"], xxargs=[]):
f.close()
- call(["xgettext", "-L", "Python", "--add-comments=L10N", "--files-from=includes.txt", "--default-domain=%s" % domain] + xargs + xxargs)
+ call(["xgettext", "--files-from=includes.txt", "--default-domain=%s" % domain] + xargs + xxargs)
# replace charset und move file
with open("%s.po" % domain, "rb") as f: