Skip to content

Commit

Permalink
Merge pull request #4 from KosyanMedia/impr-matcher
Browse files Browse the repository at this point in the history
chore(no-task): Matcher improvement
  • Loading branch information
egornevezhin authored Apr 30, 2024
2 parents 8ecdf10 + dc6abf8 commit b70b7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (b *Bundle) addTag(tag language.Tag) {
}
}
b.tags = append(b.tags, tag)
b.matcher = language.NewMatcher(b.tags)
b.matcher = language.NewMatcher(b.tags, language.PreferSameScript(false))
}

// LanguageTags returns the list of language tags
Expand Down

0 comments on commit b70b7b8

Please sign in to comment.