feat(lang): add catalan language (#2283)
This commit is contained in:
@@ -3,6 +3,17 @@ import type { MRT_Localization } from "mantine-react-table";
|
|||||||
import { objectKeys } from "@homarr/common";
|
import { objectKeys } from "@homarr/common";
|
||||||
|
|
||||||
export const localeConfigurations = {
|
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: {
|
cn: {
|
||||||
name: "中文",
|
name: "中文",
|
||||||
translatedName: "Chinese (Simplified)",
|
translatedName: "Chinese (Simplified)",
|
||||||
|
|||||||
93
packages/translation/src/mantine-react-table/ca.json
Normal file
93
packages/translation/src/mantine-react-table/ca.json
Normal file
@@ -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": ""
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user