feat(readme_generator/i18n): add a warning in case a language is skipped
This commit is contained in:
parent
60de24a36a
commit
8f255b9e06
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…
Reference in a new issue