meson: po: use glib preset and read language list from LINGUAS

Supported since meson 0.37, so we can use it now.
This commit is contained in:
Tim-Philipp Müller 2017-07-15 12:40:28 +01:00
parent ea62c96b94
commit ad6a655cf7

View file

@ -1,45 +1,3 @@
i18n = import('i18n') i18n = import('i18n')
langs = [ i18n.gettext('gstreamer-1.0', preset: 'glib')
'af',
'az',
'be',
'bg',
'ca',
'cs',
'da',
'de',
'el',
'en_GB',
'eo',
'es',
'eu',
'fi',
'fr',
'gl',
'hr',
'hu',
'id',
'it',
'ja',
'lt',
'nb',
'nl',
'pl',
'pt_BR',
'ro',
'ru',
'rw',
'sk',
'sl',
'sq',
'sr',
'sv',
'tr',
'uk',
'vi',
'zh_CN',
'zh_TW',
]
i18n.gettext('gstreamer-1.0', languages : langs)