chore: fix typo (#3106)

pull/3115/head
sunxunle 12 months ago committed by GitHub
parent 335a0312f2
commit ea104a5e54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -22,7 +22,7 @@ export const findNearestMatchedLanguage = (language: string): Locale => {
}
// Try to match "xx-YY" to existing translation for "xx-ZZ" as a last resort
// If some match is undesired, it can be overriden in src/i18n.ts `fallbacks` option
// If some match is undesired, it can be overridden in src/i18n.ts `fallbacks` option
for (const existing of locales) {
if (shortCode == existing.substring(0, 2)) {
return existing as Locale;

Loading…
Cancel
Save