diff options
-rw-r--r-- | meson.build | 3 | ||||
-rw-r--r-- | po/meson.build | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build index ff8d3fb1..b49e183e 100644 --- a/meson.build +++ b/meson.build @@ -62,6 +62,9 @@ add_project_arguments('-DPLUGINDIR="'+join_paths(get_option('prefix'), 'sylpheed', 'plugins')+'"', language : 'c') +add_project_arguments('-DLOCALEDIR="'+join_paths(get_option('prefix'), + get_option('localedir'))+'"', + language : 'c') add_project_arguments('-DTARGET_ALIAS="xxxx"', language : 'c') diff --git a/po/meson.build b/po/meson.build index ca0ae221..859a2080 100644 --- a/po/meson.build +++ b/po/meson.build @@ -3,6 +3,9 @@ i18n = import('i18n') add_project_arguments('-DGETTEXT_PACKAGE="sylpheed"', language : 'c') +add_project_arguments('-DENABLE_NLS', + language : 'c') + i18n.gettext(meson.project_name(), preset : 'glib', args : '--directory='+meson.source_root()) |