From a4bba0a5d6ffccc3c2fb680d94872ff6cb9ca158 Mon Sep 17 00:00:00 2001 From: Stefano Date: Sat, 20 Jul 2013 23:05:16 +0200 Subject: Moving options to xargs --- pavement.py | 5 +++-- 1 file 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: -- cgit v1.2.3