Browse Source

Use list of known available translation languages.

Although these are available in Debian, Devuan is English only, at present.
wip/archive
Mark Hindley 3 years ago
parent
commit
1f596d609a
  1. 3
      amprolla_merge_translations.py
  2. 41
      lib/config.def.py

3
amprolla_merge_translations.py

@ -87,8 +87,7 @@ def main():
"""
transl = []
for component in categories:
# TODO: complete CC list
for i in ['en','fr']:
for i in i18n:
transl.append('{}/i18n/Translation-{}.bz2'.format(component, i))
# Loop for devel

41
lib/config.def.py

@ -411,3 +411,44 @@ sources_keys = [
'Original-Maintainer',
'Python3-Version',
]
# Debian Translation languages as of June 2020
i18n = [
# 'bg',
# 'ca',
# 'cs',
# 'da',
# 'de',
# 'de_DE',
# 'el',
'en',
# 'eo',
# 'es',
# 'eu',
# 'fi',
# 'fr',
# 'hr',
# 'hu',
# 'id',
# 'it',
# 'ja',
# 'km',
# 'ko',
# 'ml',
# 'nb',
# 'nl',
# 'pl',
# 'pt',
# 'pt_BR',
# 'ro',
# 'ru',
# 'sk',
# 'sr',
# 'sv',
# 'tr',
# 'uk',
# 'vi',
# 'zh',
# 'zh_CN',
# 'zh_TW',
]

Loading…
Cancel
Save