From 79d7042cd9f201b144475744a7d272b173f1d402 Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 20 Dec 2022 11:43:59 +0900 Subject: [PATCH] Styling and fix translations --- next.config.js | 2 -- public/locales/en/layout/element-selector/selector.json | 2 +- public/locales/en/settings/common.json | 2 +- src/components/Settings/Common/Config/ConfigActions.tsx | 6 +++--- .../Settings/Customization/Layout/LayoutSelector.tsx | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/next.config.js b/next.config.js index b9989cfa8..6d3cf54a0 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,3 @@ -const { env } = require('process'); - const { i18n } = require('./next-i18next.config'); const withBundleAnalyzer = require('@next/bundle-analyzer')({ diff --git a/public/locales/en/layout/element-selector/selector.json b/public/locales/en/layout/element-selector/selector.json index 3d5dcb2f1..96872f846 100644 --- a/public/locales/en/layout/element-selector/selector.json +++ b/public/locales/en/layout/element-selector/selector.json @@ -1,6 +1,6 @@ { "modal": { - "title": "Add a new tile", + "title": "Add a new tile omegalaul", "text": "Tiles are the main element of homarr. They allow you to configure the dashboard and display the information you want." }, "actionIcon": { diff --git a/public/locales/en/settings/common.json b/public/locales/en/settings/common.json index 90a026915..e78cd2b41 100644 --- a/public/locales/en/settings/common.json +++ b/public/locales/en/settings/common.json @@ -12,7 +12,7 @@ "madeWithLove": "Made with ❤️ by @" }, "grow": "Grow grid (take all space)", - "yayout": { + "layout": { "title": "Dashboard yayout", "main": "Main", "sidebar": "Sidebar", diff --git a/src/components/Settings/Common/Config/ConfigActions.tsx b/src/components/Settings/Common/Config/ConfigActions.tsx index 17249ce75..1978c9542 100644 --- a/src/components/Settings/Common/Config/ConfigActions.tsx +++ b/src/components/Settings/Common/Config/ConfigActions.tsx @@ -39,7 +39,7 @@ export default function ConfigActions() { - {t('buttons.download')} + {t('buttons.download')} - {t('buttons.delete.text')} + {t('buttons.delete.text')} - {t('buttons.saveCopy')} + {t('buttons.saveCopy')} diff --git a/src/components/Settings/Customization/Layout/LayoutSelector.tsx b/src/components/Settings/Customization/Layout/LayoutSelector.tsx index fd60ccd92..3ca3ed4df 100644 --- a/src/components/Settings/Customization/Layout/LayoutSelector.tsx +++ b/src/components/Settings/Customization/Layout/LayoutSelector.tsx @@ -110,7 +110,7 @@ export const LayoutSelector = ({ defaultLayout }: LayoutSelectorProps) => { {t('layout.main')} - {t('cannotturnoff')} + {t('layout.cannotturnoff')}