sort translations output by file location for easier diff
This commit is contained in:
parent
c8b73dd3f9
commit
15206590e7
6311
po/gramps.pot
6311
po/gramps.pot
File diff suppressed because it is too large
Load Diff
@ -577,7 +577,7 @@ def extract_glade():
|
|||||||
create_template()
|
create_template()
|
||||||
|
|
||||||
listing('glade.txt', ['.glade'])
|
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'''
|
'''--from-code=UTF-8 -o gramps.pot --files-from=glade.txt'''
|
||||||
% {'xgettext': xgettextCmd}
|
% {'xgettext': xgettextCmd}
|
||||||
)
|
)
|
||||||
@ -649,7 +649,7 @@ def retrieve():
|
|||||||
listing('python.txt', ['.py', '.py.in'])
|
listing('python.txt', ['.py', '.py.in'])
|
||||||
|
|
||||||
# additional keywords must always be kept in sync with those in genpot.sh
|
# 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 '''
|
'''-L Python -o gramps.pot --files-from=python.txt '''
|
||||||
'''--keyword=_ --keyword=ngettext '''
|
'''--keyword=_ --keyword=ngettext '''
|
||||||
'''--keyword=_T_ --keyword=trans_text '''
|
'''--keyword=_T_ --keyword=trans_text '''
|
||||||
@ -661,7 +661,7 @@ def retrieve():
|
|||||||
# C format header (.h extension)
|
# C format header (.h extension)
|
||||||
for h in headers():
|
for h in headers():
|
||||||
print ('xgettext for %s' % h)
|
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'''
|
'''--keyword=N_ --from-code=UTF-8 %(head)s'''
|
||||||
% {'xgettext': xgettextCmd, 'head': h}
|
% {'xgettext': xgettextCmd, 'head': h}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user