1
0
Fork 0
forgejo/templates/explore
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
..
code.tmpl Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00
navbar.tmpl [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00
repo_list.tmpl [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
repos.tmpl Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
search.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
user_list.tmpl Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
users.tmpl Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00