mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
CI: keep Esperanto in the "incomplete" list
- Since QLocale does not support Esperanto, we can't effectively load it.
This commit is contained in:
parent
dab841df02
commit
f4034f629a
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,11 @@ def get_tx_stats(token):
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
suppressed_languages = ( "es_ES", ) # In Transifex, but not used
|
suppressed_languages = ( "es_ES", ) # In Transifex, but not used
|
||||||
|
# Some languages go into the "incomplete" list by definition,
|
||||||
|
# regardless of their completion status: this can have various reasons.
|
||||||
|
incomplete_languages = (
|
||||||
|
"eo", # Not supported by QLocale
|
||||||
|
)
|
||||||
|
|
||||||
all_langs = []
|
all_langs = []
|
||||||
|
|
||||||
|
@ -66,6 +71,8 @@ def get_tx_stats(token):
|
||||||
if lang_name in suppressed_languages:
|
if lang_name in suppressed_languages:
|
||||||
continue
|
continue
|
||||||
stats = languages[lang_name]["translated"]["percentage"]
|
stats = languages[lang_name]["translated"]["percentage"]
|
||||||
|
if lang_name in incomplete_languages:
|
||||||
|
stats = 0.0
|
||||||
all_langs.append((stats, lang_name))
|
all_langs.append((stats, lang_name))
|
||||||
|
|
||||||
output_langs(all_langs, "complete", lambda s : s == 1.0)
|
output_langs(all_langs, "complete", lambda s : s == 1.0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue