1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Update app.py

This commit is contained in:
OniriCorpe 2024-02-19 01:23:30 +01:00 committed by GitHub
parent 80fff8984d
commit 018e9624c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -298,7 +298,7 @@ def add_to_wishlist():
csrf_token=csrf_token, csrf_token=csrf_token,
successmsg=None, successmsg=None,
errormsg=_( errormsg=_(
"An entry with the name %(slug) already exists in the wishlist, instead, you can <a href="https://apps.yunohost.org/wishlist?search=%(slug)s">add a star to the app to show your interest</a>.", "An entry with the name %(slug) already exists in the wishlist, instead, you can <a href='https://apps.yunohost.org/wishlist?search=%(slug)s'>add a star to the app to show your interest</a>.",
slug=slug, slug=slug,
), ),
) )
@ -321,7 +321,7 @@ def add_to_wishlist():
print("... Failed to create branch ?") print("... Failed to create branch ?")
print(e) print(e)
errormsg = _( errormsg = _(
"Failed to create the pull request to add the app to the wishlist... Maybe there's already <a href="https://github.com/YunoHost/apps/pulls?q=is%3Apr+is%3Aopen+wishlist">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='https://github.com/YunoHost/apps/pulls?q=is%3Apr+is%3Aopen+wishlist'>a waiting PR for this app</a>? Else, please report the issue to the YunoHost team."
) )
return render_template( return render_template(
"wishlist_add.html", "wishlist_add.html",