summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Rebillout <arnaud.rebillout@collabora.com>2018-11-26 15:31:49 +0700
committerArun Raghavan <arun@arunraghavan.net>2019-06-08 11:57:00 +0200
commit68f9984ac071cb17a6ff261b88d1a18dbaef196a (patch)
tree45eebe83fb9757f28475585abf33c3f1f706e7fe
parent5084dbd96a4b7c888a864d422c411196c577eed3 (diff)
downloadpulseaudio-68f9984ac071cb17a6ff261b88d1a18dbaef196a.tar.gz
meson: Add basic po support
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-rw-r--r--meson.build1
-rw-r--r--po/meson.build4
2 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 3b44d28b3..77d2c9881 100644
--- a/meson.build
+++ b/meson.build
@@ -487,6 +487,7 @@ endforeach
# Subdirs
+subdir('po')
if get_option('man')
subdir('man')
endif
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 000000000..91b73ea4f
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,4 @@
+i18n = import('i18n')
+i18n.gettext(meson.project_name(), preset: 'glib')
+
+po_dir = meson.current_source_dir()