support comments

This commit is contained in:
Jérôme Rapinat 2014-04-12 17:50:53 +02:00
parent e04fb106de
commit 98834658b3

View File

@ -650,7 +650,7 @@ def retrieve():
listing('python.txt', ['.py', '.py.in'])
# additional keywords must always be kept in sync with those in genpot.sh
os.system('''%(xgettext)s -j --directory=./ -d gramps '''
os.system('''%(xgettext)s -c -j --directory=./ -d gramps '''
'''-L Python -o gramps.pot --files-from=python.txt '''
'''--keyword=_ --keyword=ngettext '''
'''--keyword=_T_ --keyword=trans_text '''