blob: 6b027419ae9ee426d611227e14af4c882ebfb542 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
i18n = import('i18n')
localedir = join_paths(get_option('prefix'), get_option('localedir'))
add_project_arguments('-DGETTEXT_PACKAGE="weltschmerz"', language: 'c')
add_project_arguments('-DLOCALEDIR="@0@"'.format(localedir), language: 'c')
i18n.gettext(meson.project_name(),
args: ['--directory=' + meson.source_root(), '-c TRANSLATORS']
)
|