Forgejo/templates
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
..
admin Don't show loading indicators when refreshing the system status (#30712) 2024-04-28 15:39:01 +02:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 16:43:30 +00:00
base Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Revert 100% label max-width (#30481) 2024-04-21 11:37:55 +02:00
explore [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
mail Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
org [UI] Allow org members to navigate between the org and the dashboard 2024-05-05 23:14:57 +05:00
package templates: Be more forgiving about missing package metadata 2024-05-10 12:07:24 +02:00
projects Fix various problems around projects board view (#30696) 2024-05-12 20:03:10 +02:00
repo [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
shared UI: Hide hidden email from own profile, again 2024-05-05 13:08:31 +02:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
swagger s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
user [I18N] Improve base locale related to settings and accounts (#3733) 2024-05-13 12:05:49 +00:00
webhook webhook: matrix access_token helper text 2024-04-16 08:59:56 +02:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
install.tmpl Fix some UI problems (install) (#30854) 2024-05-15 20:12:14 +02:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00