meson: hook up translations

This commit is contained in:
Tim-Philipp Müller 2016-09-24 09:36:24 +01:00
parent 4833f02e47
commit 7c5e89d82b
2 changed files with 10 additions and 0 deletions

View file

@ -242,6 +242,7 @@ subdir('gst')
subdir('sys')
subdir('ext')
subdir('tests')
subdir('po')
configure_file(input : 'config.h.meson',
output : 'config.h',

9
po/meson.build Normal file
View file

@ -0,0 +1,9 @@
i18n = import('i18n')
langs = [ 'af', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el',
'en_GB', 'eo', 'es', 'eu', 'fi', 'fr', 'gl', 'hr',
'hu', 'id', 'it', 'ja', 'lt', 'lv', 'mt', 'nb',
'nl', 'or', 'pl', 'pt_BR', 'ro', 'ru', 'sk', 'sl',
'sq', 'sr', 'sv', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW' ]
i18n.gettext('gst-plugins-good-1.0', languages : langs)