mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-04 05:27:44 +00:00
Add vendor github.com/dfordsoft/golib/ic
This commit is contained in:
2
vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go
generated
vendored
2
vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go
generated
vendored
@ -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.
|
||||
|
Reference in New Issue
Block a user