mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 13:44:06 +01:00
c773ca37ad
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> (cherry picked from commit 4913edaa70a48f7c5a524f680ca921ed515d6ec2) Conflicts: - options/locale/locale_en-US.ini Applied the change manually. Confliced because we don't have `register_notify.title`. - services/mailer/mail.go Adapted the change to Forgejo. We don't have `u.EmailTo` due to not picking gitea#31527 (yet). |
||
---|---|---|
.. | ||
locale_ar.ini | ||
locale_be.ini | ||
locale_bg.ini | ||
locale_bn.ini | ||
locale_bs.ini | ||
locale_ca.ini | ||
locale_cs-CZ.ini | ||
locale_de-DE.ini | ||
locale_el-GR.ini | ||
locale_en-US.ini | ||
locale_eo.ini | ||
locale_es-ES.ini | ||
locale_fa-IR.ini | ||
locale_fi-FI.ini | ||
locale_fil.ini | ||
locale_fr-FR.ini | ||
locale_gl.ini | ||
locale_hi.ini | ||
locale_hu-HU.ini | ||
locale_id-ID.ini | ||
locale_is-IS.ini | ||
locale_it-IT.ini | ||
locale_ja-JP.ini | ||
locale_ko-KR.ini | ||
locale_lv-LV.ini | ||
locale_nl-NL.ini | ||
locale_pl-PL.ini | ||
locale_pt-BR.ini | ||
locale_pt-PT.ini | ||
locale_ru-RU.ini | ||
locale_si-LK.ini | ||
locale_sk-SK.ini | ||
locale_sl.ini | ||
locale_sv-SE.ini | ||
locale_tr-TR.ini | ||
locale_uk-UA.ini | ||
locale_zh-CN.ini | ||
locale_zh-HK.ini | ||
locale_zh-TW.ini | ||
TRANSLATORS |