feat(lang): add english uk language (#2715)
This commit is contained in:
@@ -60,9 +60,20 @@ export const localeConfigurations = {
|
|||||||
return import("dayjs/locale/de").then((module) => module.default);
|
return import("dayjs/locale/de").then((module) => module.default);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"en-gb": {
|
||||||
|
name: "English (UK)",
|
||||||
|
translatedName: "English (UK)",
|
||||||
|
flagIcon: "gb",
|
||||||
|
importMrtLocalization() {
|
||||||
|
return import("mantine-react-table/locales/en/index.esm.mjs").then((module) => module.MRT_Localization_EN);
|
||||||
|
},
|
||||||
|
importDayJsLocale() {
|
||||||
|
return import("dayjs/locale/en-gb").then((module) => module.default);
|
||||||
|
},
|
||||||
|
},
|
||||||
en: {
|
en: {
|
||||||
name: "English",
|
name: "English (US)",
|
||||||
translatedName: "English",
|
translatedName: "English (US)",
|
||||||
flagIcon: "us",
|
flagIcon: "us",
|
||||||
importMrtLocalization() {
|
importMrtLocalization() {
|
||||||
return import("mantine-react-table/locales/en/index.esm.mjs").then((module) => module.MRT_Localization_EN);
|
return import("mantine-react-table/locales/en/index.esm.mjs").then((module) => module.MRT_Localization_EN);
|
||||||
|
|||||||
22
packages/translation/src/lang/en-gb.json
Normal file
22
packages/translation/src/lang/en-gb.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"init": {},
|
||||||
|
"user": {},
|
||||||
|
"group": {},
|
||||||
|
"app": {},
|
||||||
|
"integration": {},
|
||||||
|
"media": {},
|
||||||
|
"common": {},
|
||||||
|
"section": {},
|
||||||
|
"item": {},
|
||||||
|
"widget": {},
|
||||||
|
"widgetPreview": {},
|
||||||
|
"board": {},
|
||||||
|
"layout": {},
|
||||||
|
"management": {},
|
||||||
|
"docker": {},
|
||||||
|
"kubernetes": {},
|
||||||
|
"permission": {},
|
||||||
|
"navigationStructure": {},
|
||||||
|
"search": {},
|
||||||
|
"certificate": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user