From 1b0cec60cce426960fe05d4a45f21fe58981bcb6 Mon Sep 17 00:00:00 2001 From: valentinbreiz Date: Thu, 21 Mar 2024 22:19:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20generator=20form?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dashboard/Others.tsx | 31 +---------------------------- src/locales/ch/translation.json | 1 + src/locales/en/translation.json | 1 + src/locales/es/translation.json | 3 ++- src/locales/fr/translation.json | 1 + 5 files changed, 6 insertions(+), 31 deletions(-) diff --git a/src/components/dashboard/Others.tsx b/src/components/dashboard/Others.tsx index 6a70949..3e17383 100644 --- a/src/components/dashboard/Others.tsx +++ b/src/components/dashboard/Others.tsx @@ -124,36 +124,8 @@ const Others = () => { - {/* General Configuration */} - - {t('configGenerator.generalConfiguration')} - - - setSubnet(e.target.value)} - fullWidth - sx={getTextFieldStyles(isNightMode)} - /> - - - setDockerPath(e.target.value)} - fullWidth - sx={getTextFieldStyles(isNightMode)} - /> - - - {/* Services Configuration */} - + {t('configGenerator.services')} @@ -175,7 +147,6 @@ const Others = () => { onChange={(e) => setDummyPcIPAddresses(e.target.value)} fullWidth sx={getTextFieldStyles(isNightMode)} - helperText={t('configGenerator.ipAddressesForDummyPCsHelp')} /> diff --git a/src/locales/ch/translation.json b/src/locales/ch/translation.json index 40094f3..9cf3726 100644 --- a/src/locales/ch/translation.json +++ b/src/locales/ch/translation.json @@ -91,6 +91,7 @@ "dockerfilePathLabel": "Dockerfile 路径", "numberOfDummyPCLabel": "假 PC 数量", "ipAddressForDummyPCLabel": "假 PC 的 IP 地址", + "ipAddressesForDummyPCsLabel": "假冒 PC 的 IP 地址", "ipAddressForFTPLabel": "FTP 的 IP 地址", "portForFTPLabel": "FTP 端口", "downloadConfiguration": "应用配置", diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 2291f4c..58f1399 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -91,6 +91,7 @@ "subnetLabel": "Subnet", "dockerfilePathLabel": "Dockerfile path", "numberOfDummyPCLabel": "Number of dummy PC", + "ipAddressesForDummyPCsLabel": "IP addresses for dummy PCs", "ipAddressForDummyPCLabel": "IP Address for dummy PC", "ipAddressForFTPLabel": "IP Address for FTP", "portForFTPLabel": "Port for FTP", diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json index 53f25d0..14bc858 100644 --- a/src/locales/es/translation.json +++ b/src/locales/es/translation.json @@ -90,7 +90,8 @@ "subnetLabel": "Subred", "dockerfilePathLabel": "Ruta del archivo Docker", "numberOfDummyPCLabel": "Número de PC falsas", - "ipAddressForDummyPCLabel": "Dirección IP de la PC falsa", + "ipAddressesForDummyPCsLabel": "IP para PC falsos", + "ipAddressForDummyPCLabel": "IP de la PC falsa", "ipAddressForFTPLabel": "Dirección IP para FTP", "portForFTPLabel": "Puerto para FTP", "downloadConfiguration": "Aplicar configuración", diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json index a2d0faa..bbc0c66 100644 --- a/src/locales/fr/translation.json +++ b/src/locales/fr/translation.json @@ -91,6 +91,7 @@ "subnetLabel": "Sous-réseau", "dockerfilePathLabel": "Chemin du Dockerfile", "numberOfDummyPCLabel": "Nombre de faux PC", + "ipAddressesForDummyPCsLabel": "Adresses IP pour les faux PC", "ipAddressForDummyPCLabel": "Adresse IP pour le faux PC", "ipAddressForFTPLabel": "Adresse IP pour le FTP", "portForFTPLabel": "Port pour le FTP",