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.
1426601cf7
Fix #14793. The previous implementation used the first return value of matcher.Match, which is the chosen language tag but may contain extensions such as de-DE-u-rg-chzzzz. As mentioned in the documentation of language package, matcher.Match also returns the index of the supported tags, so I think it is better to use it rather than manipulate the returned language tag. |
4 years ago | |
---|---|---|
.. | ||
binding.go | 4 years ago | |
cookie.go | 4 years ago | |
data.go | 4 years ago | |
flash.go | 4 years ago | |
locale.go | 4 years ago | |
request.go | 4 years ago |