6096: check missing references; ignore "python" comments for translation (update_po)
svn: r20534
This commit is contained in:
parent
46f95d9834
commit
a9bf135c65
@ -3,6 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Files to extract from and then merge into
|
# Files to extract from and then merge into
|
||||||
#
|
#
|
||||||
|
gramps/gen/const.py.in
|
||||||
data/gramps.desktop.in
|
data/gramps.desktop.in
|
||||||
data/gramps.keys.in
|
data/gramps.keys.in
|
||||||
data/gramps.xml.in
|
data/gramps.xml.in
|
||||||
|
@ -544,7 +544,7 @@ def retrieve():
|
|||||||
create_filesfile()
|
create_filesfile()
|
||||||
listing('python.txt', ['.py', '.py.in'])
|
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 '''
|
'''-L Python -o gramps.pot --files-from=python.txt '''
|
||||||
'''--keyword=_ --keyword=ngettext '''
|
'''--keyword=_ --keyword=ngettext '''
|
||||||
'''--keyword=sgettext --from-code=UTF-8''' % {'xgettext': xgettextCmd}
|
'''--keyword=sgettext --from-code=UTF-8''' % {'xgettext': xgettextCmd}
|
||||||
|
Loading…
Reference in New Issue
Block a user