-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%!s() instead of repo name in email #17160
Comments
Don't you have custom templates in your |
no |
Is this in the English emails or a different language? Looking at some of our translations I can see that the related string is incorrect in a number of them. The related string is: gitea/options/locale/locale_en-US.ini Line 348 in 122917f
The related template is gitea/templates/mail/issue/assigned.tmpl Lines 11 to 16 in 122917f
Both the template and locale string appear correct for English in 1.15. |
It's certainly happening in english e-mails. Same problem on issue assignment as well:
I would suggest also removing |
Aha! figured it out... The problem is obvious once you see it. |
There was a mistake in the template file: `templates/mail/issue/assigned.tmpl` where the repourl was generated from a non-existent release instead of the issue. This PR changes this to use the issue but also ensure that the issue repo is loaded. It also slightly improves the English locale string. Fix go-gitea#17160 Signed-off-by: Andrew Thornton <[email protected]>
Backport go-gitea#17183 There was a mistake in the template file: `templates/mail/issue/assigned.tmpl` where the repourl was generated from a non-existent release instead of the issue. This PR changes this to use the issue but also ensure that the issue repo is loaded. It also slightly improves the English locale string. Fix go-gitea#17160 Signed-off-by: Andrew Thornton <[email protected]>
There was a mistake in the template file: `templates/mail/issue/assigned.tmpl` where the repourl was generated from a non-existent release instead of the issue. This PR changes this to use the issue but also ensure that the issue repo is loaded. It also slightly improves the English locale string. Fix #17160 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: delvh <[email protected]>
Backport #17183 There was a mistake in the template file: `templates/mail/issue/assigned.tmpl` where the repourl was generated from a non-existent release instead of the issue. This PR changes this to use the issue but also ensure that the issue repo is loaded. It also slightly improves the English and the Russian locale string. Fix #17160 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]>
Gitea Version
1.15.0
Git Version
2.30.2
Operating System
docker Alpine Linux v3.13
How are you running Gitea?
docker
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
@denis.patrakeev assigned you to the pull request #106 in repository %!s().
View it on Gitea: Git with a cup of tea.
Screenshots
The text was updated successfully, but these errors were encountered: