mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 19:21:49 +01:00
Update languages + update swedish flag override
This commit is contained in:
parent
ec3ebda056
commit
6766337fdb
@ -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"];
|
||||
|
@ -20,6 +20,7 @@ const countryOverrides: Record<string, string> = {
|
||||
vi: "vn",
|
||||
zh: "cn",
|
||||
sl: "si",
|
||||
sv: "se",
|
||||
};
|
||||
|
||||
export function FlagIcon(props: FlagIconProps) {
|
||||
|
Loading…
Reference in New Issue
Block a user