Skip to content

Commit

Permalink
feat(readme_generator/i18n): add a warning in case a language is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Mar 22, 2024
1 parent a158823 commit a98354d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/readme_generator/make_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit a98354d

Please sign in to comment.