forgejo/templates/user/settings
Giteabot daaf0ad473
cleanup locale function usage (#27227) (#27240)
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>
2023-09-25 00:21:38 +00:00
..
security Increase auth provider icon size on login page (#27122) 2023-09-19 21:47:13 +00:00
account.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
actions.tmpl
appearance.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
applications_oauth2.tmpl
applications_oauth2_edit.tmpl
applications_oauth2_edit_form.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications_oauth2_list.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
grants_oauth2.tmpl Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
hook_new.tmpl Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
hooks.tmpl
keys.tmpl
keys_gpg.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
keys_principal.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
keys_ssh.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
layout_footer.tmpl
layout_head.tmpl
navbar.tmpl Differentiate better between user settings and admin settings (#26538) 2023-08-16 10:12:03 +00:00
organization.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
packages.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
packages_cleanup_rules_edit.tmpl
packages_cleanup_rules_preview.tmpl
profile.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
repos.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
runner_edit.tmpl