aboutsummaryrefslogtreecommitdiff
path: root/po/meson.build
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-04-11 08:55:50 +0200
committerThomas White <taw@bitwiz.me.uk>2018-04-11 09:29:09 +0200
commite70ccae390df02840b860119900bfc81871c62b2 (patch)
tree9ac4bf359d7df7d109b89586f0035468d7aef313 /po/meson.build
parentb9018bff1b56e16942075600109f9b8ad5443ed0 (diff)
Add gettext stuff
Diffstat (limited to 'po/meson.build')
-rw-r--r--po/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 0000000..8e33532
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,9 @@
+i18n = import('i18n')
+
+# define GETTEXT_PACKAGE
+
+add_project_arguments('-DGETTEXT_PACKAGE="intltest"',
+ language : 'c')
+
+i18n.gettext(meson.project_name(),
+ args : '--directory=' + meson.source_root())