From 5b9adb48ef2d8e8b4a60abcf6f617a5ff6eec715 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 25 Mar 2024 00:58:54 +0100 Subject: [PATCH] readme_generator: remove '**' from some string to facilitate translation (and not confusing translators) (#2179) * remove '**' from some string to facilitate translation (and not confusing translators) * edit the test readme accordingly to the PR --- tools/readme_generator/templates/README.md.j2 | 6 +++--- tools/readme_generator/tests/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/readme_generator/templates/README.md.j2 b/tools/readme_generator/templates/README.md.j2 index 3f9529dd..c532f300 100644 --- a/tools/readme_generator/templates/README.md.j2 +++ b/tools/readme_generator/templates/README.md.j2 @@ -32,11 +32,11 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## {{ _("Overview") }} {% if description %}{{description}}{% else %}{{manifest.description[lang]}}{% endif %} -{{ _("**Shipped version:**") }} {% if upstream.version %}{{upstream.version}}{% else %}{{manifest.version}} +**{{ _("Shipped version:") }}** {% if upstream.version %}{{upstream.version}}{% else %}{{manifest.version}} {% endif -%} {% if upstream.demo %} -{{ _("**Demo:**") }} <{{upstream.demo}}> +**{{ _("Demo:") }}** <{{upstream.demo}}> {% endif -%} {% if screenshots %} @@ -79,7 +79,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in {{ _("Please send your pull request to the [testing branch](%(testing_branch_url)s)")|format(testing_branch_url="https://github.com/YunoHost-Apps/" + manifest.id + "_ynh/tree/testing") }}, -{{ _("To try the testing branch, please proceed like that.") }} +{{ _("To try the testing branch, please proceed like that:") }} ```bash sudo yunohost app install https://github.com/YunoHost-Apps/{{manifest.id}}_ynh/tree/testing --debug diff --git a/tools/readme_generator/tests/README.md b/tools/readme_generator/tests/README.md index 877dfbaf..7fd50ab2 100644 --- a/tools/readme_generator/tests/README.md +++ b/tools/readme_generator/tests/README.md @@ -50,7 +50,7 @@ Please note that this package uses the ["i'm so tired" software license 1.0](htt Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing), -To try the testing branch, please proceed like that. +To try the testing branch, please proceed like that: ```bash sudo yunohost app install https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing --debug