Skip to content

Commit

Permalink
Merge pull request #17 from alick-liming/master
Browse files Browse the repository at this point in the history
fix:解决X-Language:en,en配置不生效
  • Loading branch information
UlricQin authored Jun 29, 2023
2 parents 8f8bee2 + cafb13e commit 382ac87
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions i18n/i18n.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ func DictFileRegister(filePath string) {
func DictRegister(m map[string]map[string]string) {
for lang, dict := range m {
tag := langTag(lang)
if tag == language.English {
continue
}

cata := catalog.NewBuilder()
for k, v := range dict {
cata.SetString(tag, k, v)
Expand Down

0 comments on commit 382ac87

Please # to comment.