mirror of
https://github.com/go-gitea/gitea
synced 2025-10-29 02:18:27 +00:00
Backport #29555
This commit is contained in:
@@ -140,7 +140,7 @@ func Match(tags ...language.Tag) language.Tag {
|
||||
// locale represents the information of localization.
|
||||
type locale struct {
|
||||
i18n.Locale
|
||||
Lang, LangName string // these fields are used directly in templates: .i18n.Lang
|
||||
Lang, LangName string // these fields are used directly in templates: ctx.Locale.Lang
|
||||
msgPrinter *message.Printer
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user