1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-30 16:17:41 +01:00

Update languages + update swedish flag override

This commit is contained in:
mrjvs 2023-12-16 18:39:59 +01:00
parent ec3ebda056
commit 6766337fdb
2 changed files with 6 additions and 1 deletions

View file

@ -2,11 +2,13 @@ import cs from "@/assets/locales/cs.json";
import de from "@/assets/locales/de.json";
import en from "@/assets/locales/en.json";
import fr from "@/assets/locales/fr.json";
import he from "@/assets/locales/he.json";
import it from "@/assets/locales/it.json";
import minion from "@/assets/locales/minion.json";
import nl from "@/assets/locales/nl.json";
import pirate from "@/assets/locales/pirate.json";
import pl from "@/assets/locales/pl.json";
import sv from "@/assets/locales/sv.json";
import tr from "@/assets/locales/tr.json";
import vi from "@/assets/locales/vi.json";
import zh from "@/assets/locales/zh.json";
@ -22,9 +24,11 @@ export const locales = {
tr,
vi,
zh,
he,
sv,
pirate,
minion,
};
export type Locales = keyof typeof locales;
export const rtlLocales: Locales[] = [];
export const rtlLocales: Locales[] = ["he"];

View file

@ -20,6 +20,7 @@ const countryOverrides: Record<string, string> = {
vi: "vn",
zh: "cn",
sl: "si",
sv: "se",
};
export function FlagIcon(props: FlagIconProps) {