mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
[refactor] mailer service (#15072)
* Unexport SendUserMail * Instead of "[]*models.User" or "[]string" lists infent "[]*MailRecipient" for mailer * adopt * code format * TODOs for "i18n" * clean * no fallback for lang -> just use english * lint * exec testComposeIssueCommentMessage per lang and use only emails * rm MailRecipient * Dont reload from users from db if you alredy have in ram * nits * minimize diff Signed-off-by: 6543 <6543@obermui.de> * localize subjects * linter ... * Tr extend * start tmpl edit ... * Apply suggestions from code review * use translation.Locale * improve mailIssueCommentBatch Signed-off-by: Andrew Thornton <art27@cantab.net> * add i18n to datas Signed-off-by: Andrew Thornton <art27@cantab.net> * a comment Co-authored-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
cc2d540092
commit
80d6c6d7de
15 changed files with 191 additions and 151 deletions
|
@ -320,6 +320,14 @@ reset_password = Recover your account
|
|||
register_success = Registration successful
|
||||
register_notify = Welcome to Gitea
|
||||
|
||||
release.new.subject = %s in %s released
|
||||
|
||||
repo.transfer.subject_to = %s would like to transfer "%s" to %s
|
||||
repo.transfer.subject_to_you = %s would like to transfer "%s" to you
|
||||
repo.transfer.to_you = you
|
||||
|
||||
repo.collaborator.added.subject = %s added you to %s
|
||||
|
||||
[modal]
|
||||
yes = Yes
|
||||
no = No
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue