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.
forgejo/templates/repo/settings
wxiaoguang a60e8be8d1
Refactor i18n, use Locale to provide i18n/translation related functions (#18648)
* 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
2 years ago
..
webhook Refactor webhooks i18n (#18380) 2 years ago
branches.tmpl Multiple Escaping Improvements (#17551) 3 years ago
collaboration.tmpl Fix collobration template (#18232) 3 years ago
deploy_keys.tmpl Move key forms before list and add cancel button (#17432) 3 years ago
githook_edit.tmpl Add class to page content to unify top margin (#13766) 4 years ago
githooks.tmpl Multiple Escaping Improvements (#17551) 3 years ago
lfs.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
lfs_file.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
lfs_file_find.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
lfs_locks.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
lfs_pointers.tmpl Allow admin to associate missing LFS objects for repositories (#18143) 3 years ago
nav.tmpl Add tag protection (#15629) 3 years ago
navbar.tmpl Add tag protection (#15629) 3 years ago
options.tmpl Propagate context and ensure git commands run in request context (#17868) 2 years ago
protected_branch.tmpl Support unprotected file patterns (#16395) 3 years ago
tags.tmpl Multiple Escaping Improvements (#17551) 3 years ago