gitea/templates/repo/settings
wxiaoguang a60e8be8d1
Refactor i18n, use Locale to provide i18n/translation related functions ()
* remove unnecessary web context data fields, and unify the i18n/translation related functions to `Locale`
* in development, show an error if a translation key is missing
* remove the unnecessary loops `for _, lang := range translation.AllLangs()` for every request, which improves the performance slightly
* use `ctx.Locale.Language()` instead of `ctx.Data["Lang"].(string)`
* add more comments about how the Locale/LangType fields are used
..
webhook Refactor webhooks i18n ()
branches.tmpl Multiple Escaping Improvements ()
collaboration.tmpl Fix collobration template ()
deploy_keys.tmpl Move key forms before list and add cancel button ()
githook_edit.tmpl Add class to page content to unify top margin ()
githooks.tmpl Multiple Escaping Improvements ()
lfs.tmpl Refactor i18n, use Locale to provide i18n/translation related functions ()
lfs_file.tmpl Add warning for BIDI characters in page renders and in diffs ()
lfs_file_find.tmpl Refactor i18n, use Locale to provide i18n/translation related functions ()
lfs_locks.tmpl Refactor i18n, use Locale to provide i18n/translation related functions ()
lfs_pointers.tmpl Allow admin to associate missing LFS objects for repositories ()
nav.tmpl Add tag protection ()
navbar.tmpl Add tag protection ()
options.tmpl Propagate context and ensure git commands run in request context ()
protected_branch.tmpl Support unprotected file patterns ()
tags.tmpl Multiple Escaping Improvements ()