mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
feat(readme_generator/i18n): add a warning in case a language is skipped
This commit is contained in:
parent
55b1daccfc
commit
54a04ddb1d
1 changed files with 6 additions and 0 deletions
|
@ -78,6 +78,12 @@ def generate_READMEs(app_path: Path):
|
||||||
|
|
||||||
if is_fully_translated:
|
if is_fully_translated:
|
||||||
fully_translated_langs.append(available_translations)
|
fully_translated_langs.append(available_translations)
|
||||||
|
else:
|
||||||
|
print(
|
||||||
|
"WARNING: skip generating translated README for "
|
||||||
|
f"{Language(available_translations).language_name()} ({available_translations}) "
|
||||||
|
"because it is not fully translated yet."
|
||||||
|
)
|
||||||
|
|
||||||
fully_translated_langs.sort()
|
fully_translated_langs.sort()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue