labwc/po/meson.build
2024-06-23 01:02:03 +02:00

18 lines
411 B
Meson

i18n = import('i18n')
add_project_arguments(
'-DGETTEXT_PACKAGE="' + meson.project_name() + '"',
'-DLOCALEDIR="' + get_option('prefix') / get_option('localedir') + '"',
language:'c',
)
i18n.gettext(
meson.project_name(),
args: [
'--directory=' + source_root,
'--add-comments=TRANSLATORS',
'--keyword=_',
'--msgid-bugs=https://github.com/labwc/labwc/issues',
],
preset: 'glib',
)