From 0457f9ed59b7d2211c35c5b999298ce9e77c27d6 Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 19 Jul 2013 12:56:37 +0200 Subject: Ability to add tips for translators --- pavement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pavement.py') diff --git a/pavement.py b/pavement.py index 2dbec0cf3..ae681c03f 100644 --- a/pavement.py +++ b/pavement.py @@ -271,7 +271,7 @@ def makepot(domain, p, excludes=[], includes="", endings=[".py"], xxargs=[]): f.close() - call(["xgettext", "--files-from=includes.txt", "--default-domain=%s" % domain] + xargs + xxargs) + call(["xgettext", "-L", "Python", "--add-comments=L10N", "--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