From 69bd451c30eae920ecd52b46eee4cfb83c8f9800 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 26 Feb 2024 22:15:02 +0100 Subject: [PATCH] fixes for weblate --- store/app.py | 6 +++--- store/messages.pot | 14 +++++++------- store/templates/catalog.html | 2 +- store/templates/wishlist.html | 2 +- store/templates/wishlist_add.html | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/store/app.py b/store/app.py index b1ecfc2b..82ed9520 100644 --- a/store/app.py +++ b/store/app.py @@ -264,7 +264,7 @@ def add_to_wishlist(): ), ( description.lower().split()[0] != name and (len(description.split()) == 1 or description.lower().split()[1] not in ["is", "est"]), - _("No need to repeat '{app} is'. Focus on what the app does.") + _("No need to repeat the name of the app. Focus on what the app does.") ) ] @@ -319,11 +319,11 @@ def add_to_wishlist(): commit_sha = repo.get_branch(repo.default_branch).commit.sha repo.create_git_ref(ref=f"refs/heads/{new_branch}", sha=commit_sha) except exception as e: - print("... Failed to create branch ?") + print("… Failed to create branch ?") print(e) url = "https://github.com/YunoHost/apps/pulls?q=is%3Apr+is%3Aopen+wishlist" errormsg = _( - "Failed to create the pull request to add the app to the wishlist... Maybe there's already a waiting PR for this app? Else, please report the issue to the YunoHost team.", + "Failed to create the pull request to add the app to the wishlist… Maybe there's already a waiting PR for this app? Else, please report the issue to the YunoHost team.", url=url ) return render_template( diff --git a/store/messages.pot b/store/messages.pot index 84c2046b..16d62a61 100644 --- a/store/messages.pot +++ b/store/messages.pot @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-02-26 21:51+0100\n" +"POT-Creation-Date: 2024-02-26 22:14+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.12.1\n" +"Generated-By: Babel 2.14.0\n" #: app.py:150 msgid "App %(app_id) not found" @@ -95,7 +95,7 @@ msgid "" msgstr "" #: app.py:267 -msgid "No need to repeat '{app} is'. Focus on what the app does." +msgid "No need to repeat the name of the app. Focus on what the app does." msgstr "" #: app.py:301 @@ -109,8 +109,8 @@ msgstr "" #: app.py:325 #, python-format msgid "" -"Failed to create the pull request to add the app to the wishlist... Maybe" -" there's already a waiting PR for this app? Else, " +"Failed to create the pull request to add the app to the wishlist… Maybe " +"there's already a waiting PR for this app? Else, " "please report the issue to the YunoHost team." msgstr "" @@ -282,7 +282,7 @@ msgid "Search" msgstr "" #: templates/catalog.html:91 templates/wishlist.html:21 -msgid "Search for..." +msgid "Search for…" msgstr "" #: templates/catalog.html:107 @@ -409,7 +409,7 @@ msgstr "" #: templates/wishlist_add.html:66 msgid "" -"No need to repeat '[App] is ...'. No need to state that it is free/open-" +"No need to repeat '[App] is …'. No need to state that it is free/open-" "source or self-hosted (otherwise it wouldn't be packaged for YunoHost). " "Avoid marketing stuff like 'the most', or vague properties like 'easy', " "'simple', 'lightweight'." diff --git a/store/templates/catalog.html b/store/templates/catalog.html index 27114a2c..c94aacf7 100644 --- a/store/templates/catalog.html +++ b/store/templates/catalog.html @@ -88,7 +88,7 @@ diff --git a/store/templates/wishlist.html b/store/templates/wishlist.html index 4da05a08..7fcfd223 100644 --- a/store/templates/wishlist.html +++ b/store/templates/wishlist.html @@ -18,7 +18,7 @@ diff --git a/store/templates/wishlist_add.html b/store/templates/wishlist_add.html index 11770b20..b0fb4513 100644 --- a/store/templates/wishlist_add.html +++ b/store/templates/wishlist_add.html @@ -63,7 +63,7 @@ - {{ _("Please be concise and focus on what the app does.") }} {{ _("No need to repeat '[App] is ...'. No need to state that it is free/open-source or self-hosted (otherwise it wouldn't be packaged for YunoHost). Avoid marketing stuff like 'the most', or vague properties like 'easy', 'simple', 'lightweight'.") }} + {{ _("Please be concise and focus on what the app does.") }} {{ _("No need to repeat '[App] is …'. No need to state that it is free/open-source or self-hosted (otherwise it wouldn't be packaged for YunoHost). Avoid marketing stuff like 'the most', or vague properties like 'easy', 'simple', 'lightweight'.") }}