Add arabic to language selector (RTL)

This commit is contained in:
mrjvs 2023-12-20 16:47:45 +01:00
parent fc43b59205
commit c884e44556

View File

@ -1,3 +1,4 @@
import ar from "@/assets/locales/ar.json";
import cs from "@/assets/locales/cs.json"; import cs from "@/assets/locales/cs.json";
import de from "@/assets/locales/de.json"; import de from "@/assets/locales/de.json";
import en from "@/assets/locales/en.json"; import en from "@/assets/locales/en.json";
@ -34,7 +35,8 @@ export const locales = {
lv, lv,
th, th,
ne, ne,
ar,
}; };
export type Locales = keyof typeof locales; export type Locales = keyof typeof locales;
export const rtlLocales: Locales[] = ["he"]; export const rtlLocales: Locales[] = ["he", "ar"];