feat(lang): add catalan language (#2283)

This commit is contained in:
Meier Lukas
2025-02-09 19:09:38 +01:00
committed by GitHub
parent 25b7419d7b
commit 749b0c6ee9
2 changed files with 104 additions and 0 deletions

View File

@@ -3,6 +3,17 @@ import type { MRT_Localization } from "mantine-react-table";
import { objectKeys } from "@homarr/common";
export const localeConfigurations = {
ca: {
name: "Català",
translatedName: "Catalan",
flagIcon: "es-ct",
importMrtLocalization() {
return import("./mantine-react-table/ca.json");
},
importDayJsLocale() {
return import("dayjs/locale/ca").then((module) => module.default);
},
},
cn: {
name: "中文",
translatedName: "Chinese (Simplified)",