aboutsummaryrefslogtreecommitdiff
path: root/po/meson.build
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-06-09 18:25:44 +0200
committerThomas White <taw@physics.org>2021-06-19 19:49:05 +0200
commitc188720e176be030cf46099c2301f80daaad687a (patch)
treec707d69d33daad0f83b59880e5f368d3e08eb4dc /po/meson.build
parent602e45a6de90ec9ab4caea2f2bdd2e3ee60edf22 (diff)
Basic internationalisation 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 0000000..24c7f2e
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,8 @@
+i18n = import('i18n')
+
+add_project_arguments('-DGETTEXT_PACKAGE="starlet"',
+ language : 'c')
+
+i18n.gettext(meson.project_name(),
+ preset : 'glib',
+ args : '--directory='+meson.source_root())