update_po: do po correct for glade files
svn: r20511
This commit is contained in:
parent
2e98c52cd5
commit
e97bf17488
31535
po/gramps.pot
31535
po/gramps.pot
File diff suppressed because it is too large
Load Diff
@ -256,7 +256,10 @@ def main():
|
|||||||
extract_xml()
|
extract_xml()
|
||||||
|
|
||||||
if options.glade:
|
if options.glade:
|
||||||
|
create_filesfile()
|
||||||
extract_glade()
|
extract_glade()
|
||||||
|
if os.path.isfile('tmpfiles'):
|
||||||
|
os.unlink('tmpfiles')
|
||||||
|
|
||||||
if options.catalog:
|
if options.catalog:
|
||||||
retrieve()
|
retrieve()
|
||||||
@ -413,12 +416,12 @@ def retrieve():
|
|||||||
"""
|
"""
|
||||||
Extract messages from all files used by Gramps (python, glade, xml)
|
Extract messages from all files used by Gramps (python, glade, xml)
|
||||||
"""
|
"""
|
||||||
create_filesfile()
|
|
||||||
extract_xml()
|
extract_xml()
|
||||||
|
|
||||||
if not os.path.isfile('gramps.pot'):
|
if not os.path.isfile('gramps.pot'):
|
||||||
create_template()
|
create_template()
|
||||||
|
|
||||||
|
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 --add-comments -j --directory=./ -d gramps '''
|
||||||
|
Loading…
Reference in New Issue
Block a user