mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(frontend): update incorrect translation keys
This commit is contained in:
parent
1e36ed9653
commit
c1db0c7ad0
@ -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)}
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user