[Spice-devel] [PATCH spice-gtk 03/12] meson: fix po generation

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Fri Jan 18 00:16:08 UTC 2019


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Use glib preset (from meson v0.37) to catch all our translatable
strings and use good default settings.

While at it, remove the needless directory argument.

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 po/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/po/meson.build b/po/meson.build
index 60c27a7..fb3c395 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,3 +1,3 @@
 i18n = import('i18n')
 i18n.gettext(meson.project_name(),
-             args : '--directory=@0@'.format(meson.source_root()))
+             preset : 'glib')
-- 
2.20.1.98.gecbdaf0899



More information about the Spice-devel mailing list