Added Slovak language support

Slovak language was added app/locales/sk.ts and also the language was added to app/locales/index.ts
This commit is contained in:
levidius
2024-01-05 12:20:54 +01:00
committed by Fred Liang
parent 49df5bd590
commit 4a21a8fdae
2 changed files with 481 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import cs from "./cs";
import ko from "./ko";
import ar from "./ar";
import bn from "./bn";
import bn from "./sk";
import { merge } from "../utils/merge";
import type { LocaleType } from "./cn";
@@ -40,6 +41,7 @@ const ALL_LANGS = {
no,
ar,
bn,
sk,
};
export type Lang = keyof typeof ALL_LANGS;
@@ -65,6 +67,7 @@ export const ALL_LANG_OPTIONS: Record<Lang, string> = {
no: "Nynorsk",
ar: "العربية",
bn: "বাংলা",
sk: "Slovensky"
};
const LANG_KEY = "lang";