sort translations output by file location for easier diff
This commit is contained in:
parent
9e3d055a9a
commit
a9cc79d9fd
3627
po/gramps.pot
3627
po/gramps.pot
File diff suppressed because it is too large
Load Diff
@ -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}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user