From f78c453ee81e816cd02d369f789958e5a25b027d 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 --- readme_generator/templates/README.md.j2 | 6 +++--- readme_generator/tests/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/readme_generator/templates/README.md.j2 b/readme_generator/templates/README.md.j2 index 3f9529d..c532f30 100644 --- a/readme_generator/templates/README.md.j2 +++ b/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/readme_generator/tests/README.md b/readme_generator/tests/README.md index 877dfba..7fd50ab 100644 --- a/readme_generator/tests/README.md +++ b/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