mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
14 lines
489 B
Meson
14 lines
489 B
Meson
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name().to_lower() + '"',
|
|
'-DLOCALEDIR="' + get_option('prefix') / get_option('localedir') + '"',
|
|
'-DUSE_NLS=1', language: 'c')
|
|
|
|
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']
|
|
)
|
|
endif
|