From 587aa3a8cdb206c35b03d7191237fae78c864796 Mon Sep 17 00:00:00 2001 From: Peter Uithoven Date: Wed, 7 Feb 2018 21:39:24 +0100 Subject: Add GETTEXT_PACKAGE as project argument --- docs/markdown/Localisation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Localisation.md b/docs/markdown/Localisation.md index cbd19f8..517b642 100644 --- a/docs/markdown/Localisation.md +++ b/docs/markdown/Localisation.md @@ -33,8 +33,8 @@ File that lists all the source files that gettext should scan in order to find s Localization specific meson file. It imports and uses the `i18n` module. If not defined before it needs to define the `GETTEXT_PACKAGE` global. ```meson i18n = import('i18n') -# define GETTEXT_PACKAGE global -add_global_arguments('-DGETTEXT_PACKAGE="intltest"', language:'c') +# define GETTEXT_PACKAGE +add_project_arguments('-DGETTEXT_PACKAGE="intltest"', language:'c') i18n.gettext(meson.project_name(), args: '--directory=' + meson.source_root() ) -- cgit v1.1