diff --git a/po/meson.build b/po/meson.build index 708d4aad..bcc74cd3 100644 --- a/po/meson.build +++ b/po/meson.build @@ -1,11 +1,18 @@ i18n = import('i18n') -add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name() + '"', + +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, + 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' + '--msgid-bugs=https://github.com/labwc/labwc/issues', + ], + preset: 'glib', )