meson: add translations
authorTim-Philipp Müller <tim@centricular.com>
Sat, 15 Jul 2017 11:52:38 +0000 (12:52 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 15 Jul 2017 11:52:38 +0000 (12:52 +0100)
meson.build
po/meson.build [new file with mode: 0644]

index c14d6bf..f09faad 100644 (file)
@@ -419,5 +419,6 @@ subdir('sys')
 subdir('ext')
 subdir('tests')
 subdir('pkgconfig')
+subdir('po')
 
 run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
diff --git a/po/meson.build b/po/meson.build
new file mode 100644 (file)
index 0000000..2e397b6
--- /dev/null
@@ -0,0 +1,3 @@
+i18n = import('i18n')
+
+i18n.gettext('gst-plugins-bad-1.0', preset: 'glib')