Updating server dependancies. (#7538)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8b9dbb8613
Коммит
b84736e9b6
2
vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go
сгенерированный
поставляемый
2
vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go
сгенерированный
поставляемый
@@ -50,7 +50,7 @@ func LanguageDefault(tag language.Tag) string {
|
||||
for _, t := range strings.Split(locales, " ") {
|
||||
tags = append(tags, language.MustParse(t))
|
||||
}
|
||||
matcher = language.NewMatcher(tags)
|
||||
matcher = language.NewMatcher(tags, language.PreferSameScript(true))
|
||||
})
|
||||
_, i, _ := matcher.Match(tag)
|
||||
return canonical[localeMap[i]] // Default is Windows-1252.
|
||||
|
||||
Ссылка в новой задаче
Block a user