Skip to content

Commit

Permalink
readme_generator: remove '**' from some string to facilitate translat…
Browse files Browse the repository at this point in the history
…ion (and not confusing translators) (#2179)

* remove '**' from some string to facilitate translation (and not confusing translators)

* edit the test readme accordingly to the PR
  • Loading branch information
OniriCorpe authored Mar 24, 2024
1 parent 4cb5d6e commit 5b9adb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tools/readme_generator/templates/README.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/readme_generator/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b9adb4

Please sign in to comment.