fix: tencent cos ui locales loss

This commit is contained in:
Leo Chen 2024-10-30 17:09:11 +08:00
parent bfee39049d
commit 1f52eaca01

View File

@ -79,11 +79,11 @@ const DeployToTencentCOS = () => {
}); });
const regionSchema = z.string().regex(/^ap-[a-z]+$/, { const regionSchema = z.string().regex(/^ap-[a-z]+$/, {
message: t("domain.deployment.form.cos_region.placeholder"), message: t("domain.deployment.form.tencent_cos_region.placeholder"),
}); });
const bucketSchema = z.string().regex(/^.+-\d+$/, { const bucketSchema = z.string().regex(/^.+-\d+$/, {
message: t("domain.deployment.form.cos_bucket.placeholder"), message: t("domain.deployment.form.tencent_cos_bucket.placeholder"),
}); });
return ( return (