mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #1029 from Hexastack/1024-bug---update-ui-i18n-incorrect-translations
fix(frontend): update incorrect translation keys
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user