update_po: do po correct for glade files

svn: r20511
This commit is contained in:
Benny Malengier 2012-10-03 15:55:36 +00:00
parent 2e98c52cd5
commit e97bf17488
2 changed files with 16656 additions and 14884 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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 '''