aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/po/meson.build
blob: 5cbb15b1c497aab5524e0641c0ef875cd29a0810 (plain) (tree)
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', '--from-code=UTF-8']
)