1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 20:24:24 +00:00
gitea/services/mailer
Sunny Wan 4913edaa70
Display app name in the registration email title (#31562)
I changed the title of the registation email from "Welcome to Gitea" to
"Welcome to (appname)". I did this by substituting 'Gitea' in
register_notify to %s and formating the registration title in mail.go. I
changed this for all the languages I could, but I struggled to changed
the translation file for Farsi. I have attached the screenshots of
before and after and the related issue below.

Related issue:
https://github.com/go-gitea/gitea/issues/31108

Before change:
![Screenshot from 2024-07-04
22-32-17](https://github.com/go-gitea/gitea/assets/94445569/4178b51c-1acc-45f4-9750-dff41564a709)

After:
![Screenshot from 2024-07-04
22-32-01](https://github.com/go-gitea/gitea/assets/94445569/9cd7a58d-c0f5-4a3c-a66c-805c55411eaa)

---------

Signed-off-by: Sunny Wan <Sunnywan2020@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-07-11 23:23:31 +00:00
..
incoming Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
token Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
mail_comment.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mail_issue.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_release.go Use FullName in Emails to address the recipient if possible (#31527) 2024-07-08 08:38:45 +00:00
mail_repo.go Use FullName in Emails to address the recipient if possible (#31527) 2024-07-08 08:38:45 +00:00
mail_team_invite.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
mail_test.go Fix incorrect message id for releaes email (#30825) 2024-05-02 15:24:21 +00:00
mail.go Display app name in the registration email title (#31562) 2024-07-11 23:23:31 +00:00
mailer_test.go Add option for mailer to override mail headers (#27860) 2024-06-03 20:42:52 +02:00
mailer.go Add option for mailer to override mail headers (#27860) 2024-06-03 20:42:52 +02:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notify.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00