sort translations output by file location for easier diff

This commit is contained in:
Jérôme Rapinat 2014-04-17 16:34:20 +02:00
parent 9e3d055a9a
commit a9cc79d9fd
2 changed files with 1865 additions and 1768 deletions

File diff suppressed because it is too large Load Diff

View File

@ -578,7 +578,7 @@ def extract_glade():
create_template()
listing('glade.txt', ['.glade'])
os.system('''%(xgettext)s --add-comments -j -L Glade '''
os.system('''%(xgettext)s -F --add-comments -j -L Glade '''
'''--from-code=UTF-8 -o gramps.pot --files-from=glade.txt'''
% {'xgettext': xgettextCmd}
)
@ -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 -c -j --directory=./ -d gramps '''
os.system('''%(xgettext)s -F -c -j --directory=./ -d gramps '''
'''-L Python -o gramps.pot --files-from=python.txt '''
'''--keyword=_ --keyword=ngettext '''
'''--keyword=_T_ --keyword=trans_text '''
@ -662,7 +662,7 @@ def retrieve():
# C format header (.h extension)
for h in headers():
print ('xgettext for %s' % h)
os.system('''%(xgettext)s --add-comments -j -o gramps.pot '''
os.system('''%(xgettext)s -F --add-comments -j -o gramps.pot '''
'''--keyword=N_ --from-code=UTF-8 %(head)s'''
% {'xgettext': xgettextCmd, 'head': h}
)