1
Fork 0

[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>
This commit is contained in:
Léana 江 2024-05-20 18:47:35 +00:00 committed by 0ko
parent bcd2e64a93
commit 3561cc710b
33 changed files with 104 additions and 33 deletions

View file

@ -2749,7 +2749,7 @@ org_name_holder=Name der Organisation
org_full_name_holder=Vollständiger Name der Organisation
org_name_helper=Organisationsnamen sollten kurz und einprägsam sein.
create_org=Organisation erstellen
repo_updated=Aktualisiert
repo_updated=Aktualisiert %s
members=Mitglieder
teams=Teams
code=Quelltext