From 8f255b9e061165dc2e107220521648a16ef5af00 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 22 Mar 2024 07:06:21 +0100 Subject: [PATCH] feat(readme_generator/i18n): add a warning in case a language is skipped --- readme_generator/make_readme.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme_generator/make_readme.py b/readme_generator/make_readme.py index 13d1a3c..349aa17 100755 --- a/readme_generator/make_readme.py +++ b/readme_generator/make_readme.py @@ -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()