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
8 changed files with 21 additions and 15 deletions

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,