|
@@ -31,6 +31,7 @@ export const supportedLocales = [
|
|
"nl-NL" /* Dutch */,
|
|
"nl-NL" /* Dutch */,
|
|
"es-ES" /* Spanish */,
|
|
"es-ES" /* Spanish */,
|
|
"pt-BR" /* Portuguese, Brazilian */,
|
|
"pt-BR" /* Portuguese, Brazilian */,
|
|
|
|
+ "ru-RU" /* Russian */,
|
|
] as const;
|
|
] as const;
|
|
|
|
|
|
/** The type of {@link supportedLocales}. */
|
|
/** The type of {@link supportedLocales}. */
|
|
@@ -212,6 +213,8 @@ const closestSupportedLocale = (
|
|
// We'll never get here (it'd already be an exact match), just kept
|
|
// We'll never get here (it'd already be an exact match), just kept
|
|
// to keep this list consistent.
|
|
// to keep this list consistent.
|
|
return "pt-BR";
|
|
return "pt-BR";
|
|
|
|
+ } else if (ls.startsWith("ru")) {
|
|
|
|
+ return "ru-RU";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|