Merge pull request #1029 from Hexastack/1024-bug---update-ui-i18n-incorrect-translations
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled

fix(frontend): update incorrect translation keys
This commit is contained in:
Med Marrouchi 2025-05-27 18:26:46 +01:00 committed by GitHub
commit 4692339bea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 21 additions and 15 deletions

View File

@ -490,7 +490,9 @@
"original_text": "Original Text",
"inputs": "Inputs",
"outputs": "Outputs",
"any": "- Any -"
"any": "- Any -",
"full_name": "First and last name",
"password": "Password"
},
"placeholder": {
"your_username": "Your username",
@ -498,7 +500,6 @@
"your_password": "Your password",
"username": "Username",
"email": "E-mail address",
"full_name": "First and last name",
"password": "Password",
"password2": "Confirm your password",
"timezone": "Timezone",
@ -527,7 +528,9 @@
"end_date": "End Date",
"nlp_value": "Value",
"type_message_here": "Type message here ....",
"mark_as_default": "By Default"
"mark_as_default": "By Default",
"pattern": "Pattern",
"full_name": "First and last name"
},
"button": {
"login": "Sign In",

View File

@ -491,7 +491,9 @@
"original_text": "Texte par défaut",
"inputs": "Ports d'entrée",
"outputs": "Ports de sortie",
"any": "- Toutes -"
"any": "- Toutes -",
"full_name": "Nom et Prénom",
"password": "Mot de passe"
},
"placeholder": {
"your_username": "Votre nom d'utilisateur",
@ -499,7 +501,6 @@
"your_password": "Votre mot de passe",
"username": "Nom d'utilisateur",
"email": "Adresse e-mail",
"full_name": "Nom et Prénom",
"password": "Mot de passe",
"password2": "Confirmez votre mot de passe",
"timezone": "Fuseau horaire",
@ -528,7 +529,9 @@
"end_date": "Date de fin",
"nlp_value": "Valeur",
"type_message_here": "Ecrivez quelque chose ici ....",
"mark_as_default": "Par Défaut"
"mark_as_default": "Par Défaut",
"pattern": "Motif",
"full_name": "Nom et Prénom"
},
"button": {
"login": "Se connecter",

View File

@ -110,7 +110,7 @@ export const Login = () => {
/>
<PasswordInput
label={t("placeholder.password")}
label={t("label.password")}
error={!!errors.password}
required
InputProps={{

View File

@ -206,7 +206,7 @@ export const Register = () => {
</ContentItem>
<ContentItem>
<PasswordInput
label={t("label.auth_pass")}
label={t("label.password")}
error={!!errors.password}
required
{...register("password", validationRules.password)}

View File

@ -1,5 +1,5 @@
/*
* Copyright © 2024 Hexastack. All rights reserved.
* Copyright © 2025 Hexastack. All rights reserved.
*
* Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms:
* 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission.
@ -69,7 +69,7 @@ export const ResetPassword = () => {
</Typography>
<PasswordInput
autoFocus
label={t("placeholder.password")}
label={t("label.password")}
error={!!errors.password}
required
InputProps={{

View File

@ -177,7 +177,7 @@ export const ProfileForm: FC<ProfileFormProps> = ({ user }) => {
</ContentItem>
<ContentItem>
<PasswordInput
label={t("placeholder.password")}
label={t("label.password")}
{...register("password", validationRules.password)}
required
error={!!errors.password}

View File

@ -118,8 +118,8 @@ const SettingInput: React.FC<RenderSettingInputProps> = ({
entity={EntityType.BLOCK}
format={Format.BASIC}
labelKey="name"
label={t("label.fallback_block")}
helperText={t("help.fallback_block")}
label={t("label.fallback_message")}
helperText={t("help.fallback_message")}
multiple={false}
onChange={(_e, selected, ..._) => onChange(selected?.id || "")}
{...rest}

View File

@ -76,7 +76,7 @@ export const EditUserForm: FC<ComponentFormProps<IUser, IRole[]>> = ({
<ContentItem>
<Input
disabled
label={t("label.auth_user")}
label={t("label.full_name")}
value={user ? getFullName(user) : undefined}
InputProps={{
readOnly: true,