Skip to content

Commit

Permalink
Read available languages from LINGUAS file (#301)
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Maddock <[email protected]>
Co-authored-by: Joshua Strobl <[email protected]>
  • Loading branch information
EbonJaeger and JoshStrobl authored Feb 11, 2023
1 parent 5ffa177 commit f4dfa68
Showing 1 changed file with 3 additions and 79 deletions.
82 changes: 3 additions & 79 deletions po/meson.build
Original file line number Diff line number Diff line change
@@ -1,84 +1,8 @@
fs = import('fs')
i18n = import('i18n')

# for i in *.po; do echo " '$i'," | sed 's/\.po//'; done
langs = [
'af',
'ar',
'be',
'be_Latn',
'bg',
'bg_BG',
'bn',
'br',
'bs',
'ca',
'cs',
'da',
'de',
'de_CH',
'el_GR',
'en_AU',
'en_GB',
'en_US',
'eo',
'es',
'es_419',
'es_AR',
'es_CL',
'es_MX',
'es_PE',
'es_US',
'eu',
'fi',
'fr',
'fr_BE',
'fr_FR',
'ga',
'gl',
'he',
'hi',
'hr',
'hr_HR',
'hu',
'id',
'it',
'ja',
'ka',
'ko',
'lt',
'lv',
'ms_MY',
'ne',
'nl',
'nl_BE',
'nn',
'no',
'oc',
'pa',
'pl',
'pt_BR',
'pt_PT',
'ro',
'ru',
'si',
'sk',
'sl',
'sq',
'sr_RS',
'sr_RS@latin',
'sv',
'tr',
'tt',
'uk',
'uk_UA',
'ur',
'ur_PK',
'vi',
'vi_VN',
'zh',
'zh_HK',
'zh_TW',
]
# Read the languages from the LINGUAS file
langs = fs.read('LINGUAS').strip().split('\n')

# Stole this from gnome-twitch, ty TingPing
# https://github.com/vinszent/gnome-twitch/tree/master/po
Expand Down

0 comments on commit f4dfa68

Please sign in to comment.