Add languages to language selector

This commit is contained in:
mrjvs 2023-12-29 22:39:33 +01:00
parent 80b5623d8a
commit 7265b34459

View File

@ -6,6 +6,7 @@ import es from "@/assets/locales/es.json";
import et from "@/assets/locales/et.json"; import et from "@/assets/locales/et.json";
import fr from "@/assets/locales/fr.json"; import fr from "@/assets/locales/fr.json";
import he from "@/assets/locales/he.json"; import he from "@/assets/locales/he.json";
import hi from "@/assets/locales/hi.json";
import it from "@/assets/locales/it.json"; import it from "@/assets/locales/it.json";
import lv from "@/assets/locales/lv.json"; import lv from "@/assets/locales/lv.json";
import minion from "@/assets/locales/minion.json"; import minion from "@/assets/locales/minion.json";
@ -13,10 +14,12 @@ import ne from "@/assets/locales/ne.json";
import nl from "@/assets/locales/nl.json"; import nl from "@/assets/locales/nl.json";
import pirate from "@/assets/locales/pirate.json"; import pirate from "@/assets/locales/pirate.json";
import pl from "@/assets/locales/pl.json"; import pl from "@/assets/locales/pl.json";
import ptbr from "@/assets/locales/pt-BR.json";
import sv from "@/assets/locales/sv.json"; import sv from "@/assets/locales/sv.json";
import th from "@/assets/locales/th.json"; import th from "@/assets/locales/th.json";
import tok from "@/assets/locales/tok.json"; import tok from "@/assets/locales/tok.json";
import tr from "@/assets/locales/tr.json"; import tr from "@/assets/locales/tr.json";
import uk from "@/assets/locales/uk.json";
import vi from "@/assets/locales/vi.json"; import vi from "@/assets/locales/vi.json";
import zh from "@/assets/locales/zh.json"; import zh from "@/assets/locales/zh.json";
@ -42,6 +45,9 @@ export const locales = {
es, es,
et, et,
tok, tok,
hi,
pt: ptbr,
uk,
}; };
export type Locales = keyof typeof locales; export type Locales = keyof typeof locales;