mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
fixes for weblate
This commit is contained in:
parent
9c19ea5de6
commit
69bd451c30
5 changed files with 13 additions and 13 deletions
|
@ -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 href='%(url)s'>a waiting PR for this app</a>? 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 href='%(url)s'>a waiting PR for this app</a>? Else, please report the issue to the YunoHost team.",
|
||||
url=url
|
||||
)
|
||||
return render_template(
|
||||
|
|
|
@ -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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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 href='%(url)s'>a waiting PR for this app</a>? Else, "
|
||||
"Failed to create the pull request to add the app to the wishlist… Maybe "
|
||||
"there's already <a href='%(url)s'>a waiting PR for this app</a>? 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'."
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
<input
|
||||
type="text"
|
||||
id="search"
|
||||
placeholder="{{ _('Search for...') }}"
|
||||
placeholder="{{ _('Search for…') }}"
|
||||
{% if init_search %}value="{{ init_search }}"{% endif %}
|
||||
class="w-full rounded-md border-gray-200 shadow-sm sm:text-sm py-2 pe-10"
|
||||
>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<input
|
||||
type="text"
|
||||
id="search"
|
||||
placeholder="{{ _('Search for...') }}"
|
||||
placeholder="{{ _('Search for…') }}"
|
||||
class="w-full rounded-md border-gray-200 shadow-sm sm:text-sm py-2 pe-10"
|
||||
>
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
<label for="description" class="mt-5 block font-bold text-gray-700">{{ _("App's description") }}</label>
|
||||
<textarea name="description" type="text" class="w-full mt-1 rounded-md border-gray-200 text-gray-700 shadow-sm" required rows='3' maxlength='100'></textarea>
|
||||
<span class="text-xs text-gray-600"><span class="font-bold">{{ _("Please be concise and focus on what the app does.") }}</span> {{ _("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'.") }}</span>
|
||||
<span class="text-xs text-gray-600"><span class="font-bold">{{ _("Please be concise and focus on what the app does.") }}</span> {{ _("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'.") }}</span>
|
||||
|
||||
<label for="upstream" class="mt-5 block font-bold text-gray-700">{{ _("Project code repository") }}</label>
|
||||
<input name="upstream" type="url" class="w-full mt-1 rounded-md border-gray-200 text-gray-700 shadow-sm" maxlength="150" required >
|
||||
|
|
Loading…
Add table
Reference in a new issue