chore: improve i18n
This commit is contained in:
@@ -51,7 +51,7 @@ const AccessAliyunForm = ({
|
||||
.max(64, t("common.errmsg.string_max", { max: 64 })),
|
||||
accessSecretId: z
|
||||
.string()
|
||||
.min(1, "access.authorization.form.access_key_secret..placeholder")
|
||||
.min(1, "access.authorization.form.access_key_secret.placeholder")
|
||||
.max(64, t("common.errmsg.string_max", { max: 64 })),
|
||||
});
|
||||
|
||||
@@ -200,7 +200,7 @@ const AccessAliyunForm = ({
|
||||
<FormLabel>{t("access.authorization.form.access_key_secret.label")}</FormLabel>
|
||||
<FormControl>
|
||||
<Input
|
||||
placeholder={t("access.authorization.form.access_key_secret..placeholder")}
|
||||
placeholder={t("access.authorization.form.access_key_secret.placeholder")}
|
||||
{...field}
|
||||
/>
|
||||
</FormControl>
|
||||
|
||||
@@ -55,7 +55,7 @@ const AccessHuaweicloudForm = ({
|
||||
.max(64, t("common.errmsg.string_max", { max: 64 })),
|
||||
secretAccessKey: z
|
||||
.string()
|
||||
.min(1, "access.authorization.form.access_key_secret..placeholder")
|
||||
.min(1, "access.authorization.form.access_key_secret.placeholder")
|
||||
.max(64, t("common.errmsg.string_max", { max: 64 })),
|
||||
});
|
||||
|
||||
@@ -225,7 +225,7 @@ const AccessHuaweicloudForm = ({
|
||||
<FormLabel>{t("access.authorization.form.access_key_secret.label")}</FormLabel>
|
||||
<FormControl>
|
||||
<Input
|
||||
placeholder={t("access.authorization.form.access_key_secret..placeholder")}
|
||||
placeholder={t("access.authorization.form.access_key_secret.placeholder")}
|
||||
{...field}
|
||||
/>
|
||||
</FormControl>
|
||||
|
||||
Reference in New Issue
Block a user