summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-19 12:56:37 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-19 12:56:37 +0200
commit0457f9ed59b7d2211c35c5b999298ce9e77c27d6 (patch)
tree9a8bde9423c0b680008fff7b332402b2f58aba2e
parentCreated a readme for the l10n process (diff)
downloadpyload-0457f9ed59b7d2211c35c5b999298ce9e77c27d6.tar.xz
Ability to add tips for translators
-rw-r--r--pavement.py2
1 files changed, 1 insertions, 1 deletions
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: