1
0
Fork 0

feat(readme_generator/i18n): add a warning in case a language is skipped

This commit is contained in:
Laurent Peuch 2024-03-22 07:06:21 +01:00 committed by Bram
parent 60de24a36a
commit 8f255b9e06

View file

@ -78,6 +78,12 @@ def generate_READMEs(app_path: Path):
if is_fully_translated:
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()