-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Display app name in the registration email title #31562
Conversation
Signed-off-by: Sunny Wan <Sunnywan2020@gmail.com>
@SunnyWan59 I noticed you've updated the locales for non-English languages. These will be overwritten during the sync from our translation tool Crowdin. If you'd like to contribute your translations, please visit https://crowdin.com/project/gitea. Please revert the changes done on these files. 🍵 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once you remove the other changes
To be clear remove the changes to the other locales right? |
* giteaofficial/main: [skip ci] Updated translations via Crowdin Display app name in the registration email title (go-gitea#31562) typo on date in security document (go-gitea#31617) Update JS dependencies (go-gitea#31616) Add types for js globals (go-gitea#31586)
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:
#31108
Before change:
After: