waybox/po/meson.build

15 lines
489 B
Meson
Raw Normal View History

2024-01-25 21:37:01 -05:00
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name().to_lower() + '"',
'-DLOCALEDIR="' + get_option('prefix') / get_option('localedir') + '"',
'-DUSE_NLS=1', language: 'c')
2024-01-02 16:13:31 -05:00
i18n = import('i18n', required: false)
if i18n.found()
i18n.gettext(meson.project_name().to_lower(),
args: ['--directory=' + source_root,
'--add-comments=TRANSLATORS',
'--no-location',
'--keyword=_',
'--msgid-bugs=https://github.com/wizbright/waybox/issues']
2020-03-09 17:08:08 -04:00
)
2024-01-02 16:13:31 -05:00
endif