mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-09 03:17:54 +00:00
fix(i18n): fixed russian lang code parsing in normalizeSupportedLanguage method
#3013
This commit is contained in:
parent
978e6901a7
commit
8382bff5e2
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ export function normalizeSupportedLanguage(
|
|||
) {
|
||||
return 'zh-CN';
|
||||
}
|
||||
if (normalized === "ru" || normalized.startsWith("ru")) return "ru";
|
||||
if (normalized === "ru" || normalized.startsWith("ru-")) return "ru";
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue