diff --git a/frontend/public/locales/en/translation.json b/frontend/public/locales/en/translation.json index e3ed3a75..703cf684 100644 --- a/frontend/public/locales/en/translation.json +++ b/frontend/public/locales/en/translation.json @@ -123,7 +123,7 @@ "video_error": "Video not found", "missing_fields_error": "Please make sure that all required fields are filled", "weight_required_error": "Weight is required or invalid", - "weight_positive_number_error": "Weight must be a strictly positive number" + "weight_positive_number_error": "Weight must be a strictly positive number" }, "menu": { "terms": "Terms of Use", @@ -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", diff --git a/frontend/public/locales/fr/translation.json b/frontend/public/locales/fr/translation.json index ad69c256..783f03dc 100644 --- a/frontend/public/locales/fr/translation.json +++ b/frontend/public/locales/fr/translation.json @@ -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", diff --git a/frontend/src/app-components/auth/Login.tsx b/frontend/src/app-components/auth/Login.tsx index 4bc53960..a1e95f4e 100755 --- a/frontend/src/app-components/auth/Login.tsx +++ b/frontend/src/app-components/auth/Login.tsx @@ -110,7 +110,7 @@ export const Login = () => { /> { { > = ({ helperText={errors.metadata?.pattern?.message} error={!!errors.metadata?.pattern} label={t("label.regex")} - placeholder={t("label.pattern")} + placeholder={t("placeholder.pattern")} flags={["i"]} /> diff --git a/frontend/src/components/profile/profile.tsx b/frontend/src/components/profile/profile.tsx index 5d4df1f1..0783d087 100644 --- a/frontend/src/components/profile/profile.tsx +++ b/frontend/src/components/profile/profile.tsx @@ -177,7 +177,7 @@ export const ProfileForm: FC = ({ user }) => { = ({ entity={EntityType.BLOCK} format={Format.BASIC} labelKey="name" - label={t("help.fallback_message")} + label={t("label.fallback_message")} helperText={t("help.fallback_message")} multiple={false} onChange={(_e, selected, ..._) => onChange(selected?.id || "")} diff --git a/frontend/src/components/users/EditUserForm.tsx b/frontend/src/components/users/EditUserForm.tsx index 59b26556..b3b1c456 100644 --- a/frontend/src/components/users/EditUserForm.tsx +++ b/frontend/src/components/users/EditUserForm.tsx @@ -76,7 +76,7 @@ export const EditUserForm: FC> = ({