1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
forgejo/options/locale
Sunny Wan c773ca37ad
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>
(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).
2024-07-14 11:33:02 +02:00
..
locale_ar.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_be.ini [I18N] Translations update from Weblate (#2521) 2024-03-04 01:58:49 +00:00
locale_bg.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_bn.ini [I18N] Translations update from Weblate (#2350) 2024-02-17 22:18:04 +00:00
locale_bs.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_ca.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_cs-CZ.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_de-DE.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_el-GR.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_en-US.ini Display app name in the registration email title (#31562) 2024-07-14 11:33:02 +02:00
locale_eo.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_es-ES.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_fa-IR.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_fi-FI.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_fil.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_fr-FR.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_gl.ini [I18N] Translations update from Weblate (#4251) 2024-07-04 06:41:53 +00:00
locale_hi.ini [I18N] Translations update from Weblate (#3508) 2024-05-04 18:36:49 +00:00
locale_hu-HU.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_id-ID.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_is-IS.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_it-IT.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_ja-JP.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_ko-KR.ini [I18N] Translations update from Weblate (#4251) 2024-07-04 06:41:53 +00:00
locale_lv-LV.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_nl-NL.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_pl-PL.ini [I18N] Translations update from Weblate (#4251) 2024-07-04 06:41:53 +00:00
locale_pt-BR.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_pt-PT.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_ru-RU.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_si-LK.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_sk-SK.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_sl.ini [I18N] Translations update from Weblate (#3992) 2024-06-10 18:41:20 +00:00
locale_sv-SE.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_tr-TR.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_uk-UA.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_zh-CN.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
locale_zh-HK.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_zh-TW.ini i18n: update of translations from Weblate (#4330) 2024-07-11 06:33:51 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00