wscript: waf i18n should generate gtk2_ardour/appdata/ardour.appdata.pot when invoking appdata_i18n_pot

This commit is contained in:
Mads Kiilerich 2024-10-21 22:28:48 +02:00 committed by Robin Gareus
parent e520cf6bac
commit 6742c1e4b4
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -995,7 +995,7 @@ def i18n_mo_func(bld):
def appdata_i18n_pot(bld): def appdata_i18n_pot(bld):
potfile = os.path.join(bld.top_dir, 'gtk2_ardour', 'appdata', potfile = os.path.join(bld.top_dir, 'gtk2_ardour', 'appdata',
'ardour.appdata.pot') 'ardour.appdata.pot')
if bld.cmd == 'i18n_pot': if bld.cmd in ('i18n_pot', 'i18n'):
Logs.info('Generating pot file from Ardour appdata') Logs.info('Generating pot file from Ardour appdata')
itsfile = os.path.join(bld.top_dir, 'tools', 'as-metainfo.its') itsfile = os.path.join(bld.top_dir, 'tools', 'as-metainfo.its')
adsource = os.path.join(bld.top_dir, 'gtk2_ardour', adsource = os.path.join(bld.top_dir, 'gtk2_ardour',