diff options
author | Stefano <l.stickell@yahoo.it> | 2013-07-19 12:56:37 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-07-19 12:56:37 +0200 |
commit | 0457f9ed59b7d2211c35c5b999298ce9e77c27d6 (patch) | |
tree | 9a8bde9423c0b680008fff7b332402b2f58aba2e | |
parent | Created a readme for the l10n process (diff) | |
download | pyload-0457f9ed59b7d2211c35c5b999298ce9e77c27d6.tar.xz |
Ability to add tips for translators
-rw-r--r-- | pavement.py | 2 |
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: |