Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

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

Meier Lukas749b0c6ee9dc
diff --git a/packages/translation/src/config.ts b/packages/translation/src/config.ts
index 700f1353f..0929de7a5 100644
--- a/packages/translation/src/config.ts
+++ b/packages/translation/src/config.ts
@@ -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)",
diff --git a/packages/translation/src/mantine-react-table/ca.json b/packages/translation/src/mantine-react-table/ca.json
new file mode 100644
index 000000000..d74395864
--- /dev/null
+++ b/packages/translation/src/mantine-react-table/ca.json
@@ -0,0 +1,93 @@
+{
+ "actions": "",
+ "and": "",
+ "cancel": "",
+ "changeFilterMode": "",
+ "changeSearchMode": "",
+ "clearFilter": "",
+ "clearSearch": "",
+ "clearSelection": "",
+ "clearSort": "",
+ "clickToCopy": "",
+ "copy": "",
+ "collapse": "",
+ "collapseAll": "",
+ "columnActions": "",
+ "copiedToClipboard": "",
+ "dropToGroupBy": "",
+ "edit": "",
+ "expand": "",
+ "expandAll": "",
+ "filterArrIncludes": "",
+ "filterArrIncludesAll": "",
+ "filterArrIncludesSome": "",
+ "filterBetween": "",
+ "filterBetweenInclusive": "",
+ "filterByColumn": "",
+ "filterContains": "",
+ "filterEmpty": "",
+ "filterEndsWith": "",
+ "filterEquals": "",
+ "filterEqualsString": "",
+ "filterFuzzy": "",
+ "filterGreaterThan": "",
+ "filterGreaterThanOrEqualTo": "",
+ "filterInNumberRange": "",
+ "filterIncludesString": "",
+ "filterIncludesStringSensitive": "",
+ "filterLessThan": "",
+ "filterLessThanOrEqualTo": "",
+ "filterMode": "",
+ "filterNotEmpty": "",
+ "filterNotEquals": "",
+ "filterStartsWith": "",
+ "filterWeakEquals": "",
+ "filteringByColumn": "",
+ "goToFirstPage": "",
+ "goToLastPage": "",
+ "goToNextPage": "",
+ "goToPreviousPage": "",
+ "grab": "",
+ "groupByColumn": "",
+ "groupedBy": "",
+ "hideAll": "",
+ "hideColumn": "",
+ "max": "",
+ "min": "",
+ "move": "",
+ "noRecordsToDisplay": "",
+ "noResultsFound": "",
+ "of": "",
+ "or": "",
+ "pin": "",
+ "pinToLeft": "",
+ "pinToRight": "",
+ "resetColumnSize": "",
+ "resetOrder": "",
+ "rowActions": "",
+ "rowNumber": "",
+ "rowNumbers": "",
+ "rowsPerPage": "",
+ "save": "",
+ "search": "",
+ "selectedCountOfRowCountRowsSelected": "",
+ "select": "",
+ "showAll": "",
+ "showAllColumns": "",
+ "showHideColumns": "",
+ "showHideFilters": "",
+ "showHideSearch": "",
+ "sortByColumnAsc": "",
+ "sortByColumnDesc": "",
+ "sortedByColumnAsc": "",
+ "sortedByColumnDesc": "",
+ "thenBy": "",
+ "toggleDensity": "",
+ "toggleFullScreen": "",
+ "toggleSelectAll": "",
+ "toggleSelectRow": "",
+ "toggleVisibility": "",
+ "ungroupByColumn": "",
+ "unpin": "",
+ "unpinAll": ""
+}