fix(frontend): update incorrect translation keys

This commit is contained in:
yassinedorbozgithub 2025-05-23 15:41:10 +01:00
parent 1e36ed9653
commit c1db0c7ad0
4 changed files with 5 additions and 5 deletions

View File

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

View File

@ -157,7 +157,7 @@ export const NlpValueForm: FC<ComponentFormProps<INlpValue, INlpEntity>> = ({
helperText={errors.metadata?.pattern?.message}
error={!!errors.metadata?.pattern}
label={t("label.regex")}
placeholder={t("placeholder.pattern")}
placeholder={t("label.pattern")}
flags={["i"]}
/>
</ContentItem>

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("help.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("placeholder.full_name")}
value={user ? getFullName(user) : undefined}
InputProps={{
readOnly: true,