From 84243ad0db0ecc3f4aebf7ded004b39698e1c4e0 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 25 Mar 2024 01:02:56 +0100 Subject: [PATCH] readme_generator: fix the all_readme.md markdown (#2178) * fix the all_readme.md markdown * fix double final break lines --------- Co-authored-by: Bram --- tools/readme_generator/templates/ALL_README.md.j2 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tools/readme_generator/templates/ALL_README.md.j2 b/tools/readme_generator/templates/ALL_README.md.j2 index 5ce5e941..2bdcfe2d 100644 --- a/tools/readme_generator/templates/ALL_README.md.j2 +++ b/tools/readme_generator/templates/ALL_README.md.j2 @@ -1,14 +1,13 @@ # All available README files by language -[Read the README in English](README.md) - -{% for filename, translated_sentence in links_to_other_READMEs %} +- [Read the README in English](README.md) +{% for filename, translated_sentence in links_to_other_READMEs -%} - [{{ translated_sentence }}]({{ filename }}) -{% endfor %} +{% endfor -%} -{% if False %} +{% if False -%} Yes this is a hack to add the translatable string to messages.pot -{{ _("Read the README in %(language)s") }} -{% endif %} +{{- _("Read the README in %(language)s") }} +{% endif -%}