6096: check missing references; ignore "python" comments for translation (update_po)

svn: r20534
This commit is contained in:
Jérôme Rapinat 2012-10-08 09:17:33 +00:00
parent 46f95d9834
commit a9bf135c65
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#
# Files to extract from and then merge into
#
gramps/gen/const.py.in
data/gramps.desktop.in
data/gramps.keys.in
data/gramps.xml.in

View File

@ -544,7 +544,7 @@ def retrieve():
create_filesfile()
listing('python.txt', ['.py', '.py.in'])
os.system('''%(xgettext)s --add-comments -j --directory=./ -d gramps '''
os.system('''%(xgettext)s -j --directory=./ -d gramps '''
'''-L Python -o gramps.pot --files-from=python.txt '''
'''--keyword=_ --keyword=ngettext '''
'''--keyword=sgettext --from-code=UTF-8''' % {'xgettext': xgettextCmd}