Added support Arabic language

This commit is contained in:
Zizwar
2023-06-24 04:30:52 +00:00
parent c636993989
commit 35b4125b98
2 changed files with 299 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import ru from "./ru";
import no from "./no";
import cs from "./cs";
import ko from "./ko";
import ar from "./ar";
import { merge } from "../utils/merge";
import type { LocaleType } from "./cn";
@@ -32,6 +33,7 @@ const ALL_LANGS = {
ru,
cs,
no,
ar,
};
export type Lang = keyof typeof ALL_LANGS;
@@ -53,6 +55,7 @@ export const ALL_LANG_OPTIONS: Record<Lang, string> = {
ru: "Русский",
cs: "Čeština",
no: "Nynorsk",
ar: "العربية",
};
const LANG_KEY = "lang";