mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Backport #27227 by @denyskon Throughout the Gitea codebase, you can meet some weird constructions to make `locale.Tr` work in subtemplates. Since we now have `ctx.Locale.Tr` which solves that problem, clean up various templates which pass `locale` through `dict` or use some weird constructions like `$.root.locale` Going on, it would be great to replace every case of `$.locale.Tr` and `.locale.Tr` with `ctx.Locale.Tr`, but that needs to be done with patience. Co-authored-by: Denys Konovalov <kontakt@denyskon.de> |
1 year ago | |
---|---|---|
.. | ||
add_reaction.tmpl | 2 years ago | |
attachments.tmpl | 1 year ago | |
comments.tmpl | 1 year ago | |
comments_delete_time.tmpl | 1 year ago | |
context_menu.tmpl | 1 year ago | |
pull.tmpl | 1 year ago | |
pull_merge_instruction.tmpl | 1 year ago | |
reactions.tmpl | 2 years ago | |
reference_issue_dialog.tmpl | 1 year ago | |
show_role.tmpl | 2 years ago | |
sidebar.tmpl | 1 year ago | |
update_branch_by_merge.tmpl | 2 years ago |