Forgejo/options/locale
Léana 江 3561cc710b [I18N] Injected updated time in translation string (#3837)
Hello,

It is more idiomatic to put the date/time before the action in Mandarin (in this context). To achieve this, instead of having the time following the string that's passed to the translating function, I added it as a parameter so that one can reference it and reorder the sentence for better translatability.

Only Traditional Chinese has been changed at the time of opening this PR, as this is more of a proof of concept and I would like to have feedbacks on whether this is a good solution or is there a better alternative.

Thank you and have a nice day :)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3837
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
2024-05-20 18:47:35 +00:00
..
locale_ar.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_be.ini [I18N] Translations update from Weblate (#2521) 2024-03-04 01:58:49 +00:00
locale_bg.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +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] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_de-DE.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_el-GR.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_en-US.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_eo.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_es-ES.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_fa-IR.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_fi-FI.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_fil.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_fr-FR.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_gl.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_hi.ini [I18N] Translations update from Weblate (#3508) 2024-05-04 18:36:49 +00:00
locale_hu-HU.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +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 [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_it-IT.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_ja-JP.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_ko-KR.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_lv-LV.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_nl-NL.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_pl-PL.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_pt-BR.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_pt-PT.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_ru-RU.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_si-LK.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_sk-SK.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_sl.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_sv-SE.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_tr-TR.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_uk-UA.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_zh-CN.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_zh-HK.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_zh-TW.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00