meson: hook up translations

This commit is contained in:
Tim-Philipp Müller 2016-09-24 09:08:00 +01:00
parent d671d6941f
commit 8150a742ee
2 changed files with 10 additions and 0 deletions

View file

@ -137,3 +137,4 @@ libsinc = include_directories('gst-libs')
subdir('gst')
subdir('ext')
subdir('tests')
subdir('po')

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', 'ms', 'mt',
'nb', 'nl', 'or', 'pl', 'pt_BR', 'ro', 'ru', 'sk', 'sl',
'sq', 'sr', 'sv', 'tr', 'uk', 'vi', 'zh_CN' ]
i18n.gettext('gst-plugins-ugly-1.0', languages : langs)