fwupd/po/meson.build
Christian Kellner 4655a51d1e Add meson target to fix translations
Target to run the contrib/fix_translation.py scripts with the
correct path. Update the RELEASE documentation to use the new
target instead of calling the script "manually".
2019-06-25 17:01:45 +01:00

17 lines
390 B
Meson

i18n.gettext(meson.project_name(),
preset : 'glib',
args: [
'--default-domain=' + meson.project_name(),
]
)
if get_option('plugin_uefi')
meson.add_install_script('make-images.sh', localedir, python3.path())
endif
run_target('fix-translations',
command: [
join_paths(meson.source_root(), 'contrib/fix_translations.py'),
join_paths(meson.source_root(), 'po')
])