meson: fix po generation

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@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-01-18 04:16:08 +04:00 committed by Frediano Ziglio
parent 0a52e36a50
commit ef082bf1b1

View File

@ -1,3 +1,3 @@
i18n = import('i18n')
i18n.gettext(meson.project_name(),
args : '--directory=@0@'.format(meson.source_root()))
preset : 'glib')