feat: add german swiss locale (#2726)
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
@@ -60,6 +60,17 @@ export const localeConfigurations = {
|
|||||||
return import("dayjs/locale/de").then((module) => module.default);
|
return import("dayjs/locale/de").then((module) => module.default);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"de-CH": {
|
||||||
|
name: "Deutsch (Schweiz)",
|
||||||
|
translatedName: "German (Swiss)",
|
||||||
|
flagIcon: "ch",
|
||||||
|
importMrtLocalization() {
|
||||||
|
return import("mantine-react-table/locales/de/index.esm.mjs").then((module) => module.MRT_Localization_DE);
|
||||||
|
},
|
||||||
|
importDayJsLocale() {
|
||||||
|
return import("dayjs/locale/de-ch").then((module) => module.default);
|
||||||
|
},
|
||||||
|
},
|
||||||
"en-gb": {
|
"en-gb": {
|
||||||
name: "English (UK)",
|
name: "English (UK)",
|
||||||
translatedName: "English (UK)",
|
translatedName: "English (UK)",
|
||||||
|
|||||||
1
packages/translation/src/lang/de-CH.json
Normal file
1
packages/translation/src/lang/de-CH.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
Reference in New Issue
Block a user