aboutsummaryrefslogtreecommitdiff
path: root/po/meson.build
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-02-04 08:30:52 +0100
committerThomas White <taw@physics.org>2019-05-16 15:15:49 +0200
commita6bbd9c0db901859b8820c90b4b147ad36c52dc6 (patch)
tree320cd5c04fa39eadec866867c998546fcf241661 /po/meson.build
parenta21a13fe9a722b7d607c45fcbd19ff0bb154e621 (diff)
Localisation and other stuff
Diffstat (limited to 'po/meson.build')
-rw-r--r--po/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 00000000..ca0ae221
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,8 @@
+i18n = import('i18n')
+
+add_project_arguments('-DGETTEXT_PACKAGE="sylpheed"',
+ language : 'c')
+
+i18n.gettext(meson.project_name(),
+ preset : 'glib',
+ args : '--directory='+meson.source_root())