labwc/po/meson.build
01micko 9e954dfcd0 nls: updates for new strings in menus
- also fixes updating tr.po file
- more descriptive instructions in CONTRIBUTING.md
- fix comments in po/pot files when using meson gettext tools
2023-01-02 21:39:56 +00:00

11 lines
393 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'
)