[web] Enable Czech
This commit is contained in:
@@ -976,6 +976,8 @@ const localeName = (locale: SupportedLocale) => {
|
||||
return "اَلْعَرَبِيَّةُ";
|
||||
case "tr-TR":
|
||||
return "Türkçe";
|
||||
case "cs-CZ":
|
||||
return "čeština";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ export const supportedLocales = [
|
||||
"ja-JP" /* Japanese */,
|
||||
"ar-SA" /* Arabic */,
|
||||
"tr-TR" /* Turkish */,
|
||||
"cs-CZ" /* Czech */,
|
||||
] as const;
|
||||
|
||||
/** The type of {@link supportedLocales}. */
|
||||
@@ -201,6 +202,8 @@ const closestSupportedLocale = (
|
||||
return "ar-SA";
|
||||
} else if (ls.startsWith("tr")) {
|
||||
return "tr-TR";
|
||||
} else if (ls.startsWith("cs")) {
|
||||
return "cs-CZ";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user