mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Use Go1.11 module (#5743)
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
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