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 | |
---|---|---|
.. | ||
blob_excerpt.tmpl | 1 year ago | |
box.tmpl | 1 year ago | |
comment_form.tmpl | 1 year ago | |
comment_form_datahandler.tmpl | 3 years ago | |
comments.tmpl | 1 year ago | |
compare.tmpl | 1 year ago | |
conversation.tmpl | 1 year ago | |
csv_diff.tmpl | 2 years ago | |
escape_title.tmpl | 1 year ago | |
image_diff.tmpl | 2 years ago | |
new_comment.tmpl | 4 years ago | |
new_review.tmpl | 1 year ago | |
options_dropdown.tmpl | 2 years ago | |
section_code.tmpl | 2 years ago | |
section_split.tmpl | 1 year ago | |
section_unified.tmpl | 1 year ago | |
stats.tmpl | 2 years ago | |
whitespace_dropdown.tmpl | 2 years ago |