fix: mantine-react-table not localized #333 (#873)

This commit is contained in:
Meier Lukas
2024-07-27 17:10:51 +02:00
committed by GitHub
parent c973a3bfa5
commit 4380aa9b3e
11 changed files with 54 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
import "dayjs/locale/de";
import dayjs from "dayjs";
import { MRT_Localization_DE } from "mantine-react-table/locales/de/index.cjs";
dayjs.locale("de");
@@ -159,6 +160,7 @@ export default {
placeholder: "Suche nach etwas",
nothingFound: "Nichts gefunden",
},
mantineReactTable: MRT_Localization_DE,
},
widget: {
editModal: {

View File

@@ -1,5 +1,7 @@
import "dayjs/locale/en";
import { MRT_Localization_EN } from "mantine-react-table/locales/en/index.cjs";
export default {
user: {
title: "Users",
@@ -615,6 +617,7 @@ export default {
},
},
},
mantineReactTable: MRT_Localization_EN,
},
section: {
category: {