From 09aea280b51367f8dd907eb74c0ae92c580b7b1d Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sun, 2 Jul 2023 12:09:14 +0200 Subject: [PATCH] add it-translations --- interface/package.json | 6 +- interface/src/SignIn.tsx | 5 + .../src/components/layout/LayoutAuthMenu.tsx | 5 + interface/src/i18n/IT.svg | 1 + interface/src/i18n/it/index.ts | 331 +++++ interface/src/project/SettingsApplication.tsx | 1 + interface/yarn.lock | 121 +- src/locale_translations.h | 1307 +++++++++-------- src/system.cpp | 2 +- 9 files changed, 1066 insertions(+), 713 deletions(-) create mode 100644 interface/src/i18n/IT.svg create mode 100644 interface/src/i18n/it/index.ts diff --git a/interface/package.json b/interface/package.json index cfc140991..d7dff3ee4 100644 --- a/interface/package.json +++ b/interface/package.json @@ -25,7 +25,7 @@ "@mui/material": "^5.13.6", "@table-library/react-table-library": "4.1.4", "@types/lodash-es": "^4.17.7", - "@types/node": "^20.3.2", + "@types/node": "^20.3.3", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@types/react-router-dom": "^5.3.3", @@ -38,7 +38,7 @@ "react-dom": "latest", "react-dropzone": "^14.2.3", "react-icons": "^4.10.1", - "react-router-dom": "^6.14.0", + "react-router-dom": "^6.14.1", "react-toastify": "^9.1.3", "sockette": "^2.0.6", "typesafe-i18n": "^5.24.3", @@ -48,7 +48,7 @@ "@typescript-eslint/eslint-plugin": "^5.60.1", "@typescript-eslint/parser": "^5.60.1", "@vitejs/plugin-react-swc": "^3.3.2", - "eslint": "^8.43.0", + "eslint": "^8.44.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.8.0", diff --git a/interface/src/SignIn.tsx b/interface/src/SignIn.tsx index 0cca183c9..63f453bdc 100644 --- a/interface/src/SignIn.tsx +++ b/interface/src/SignIn.tsx @@ -16,6 +16,7 @@ import { AuthenticationContext } from 'contexts/authentication'; import { ReactComponent as DEflag } from 'i18n/DE.svg'; import { ReactComponent as FRflag } from 'i18n/FR.svg'; import { ReactComponent as GBflag } from 'i18n/GB.svg'; +import { ReactComponent as ITflag } from 'i18n/IT.svg'; import { ReactComponent as NLflag } from 'i18n/NL.svg'; import { ReactComponent as NOflag } from 'i18n/NO.svg'; import { ReactComponent as PLflag } from 'i18n/PL.svg'; @@ -122,6 +123,10 @@ const SignIn: FC = () => {  FR +