diff --git a/src/assets/languages.ts b/src/assets/languages.ts index d6c47905..39eadf94 100644 --- a/src/assets/languages.ts +++ b/src/assets/languages.ts @@ -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"]; diff --git a/src/components/FlagIcon.tsx b/src/components/FlagIcon.tsx index fd3b2056..ce31b81d 100644 --- a/src/components/FlagIcon.tsx +++ b/src/components/FlagIcon.tsx @@ -20,6 +20,7 @@ const countryOverrides: Record = { vi: "vn", zh: "cn", sl: "si", + sv: "se", }; export function FlagIcon(props: FlagIconProps) {