From 8b7b9987ed92b00bf62b8ec0ed4a563ac2faeb15 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Wed, 10 Sep 2025 21:41:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E7=BB=84=E4=BB=B6=E6=88=90=E5=8A=9F=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=EF=BC=8C=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/common/captcha/turnstile.tsx | 1 - web/src/locales/zh-CN.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/src/components/common/captcha/turnstile.tsx b/web/src/components/common/captcha/turnstile.tsx index dc3b4a6..2a2ecf2 100644 --- a/web/src/components/common/captcha/turnstile.tsx +++ b/web/src/components/common/captcha/turnstile.tsx @@ -50,7 +50,6 @@ export function TurnstileWidget(props: CaptchaProps) { const [status, setStatus] = useState<'loading' | 'success' | 'error'>('loading'); const [error, setError] = useState(null); - // 只在验证通过时才显示勾 const handleSuccess = (token: string) => { setStatus('success'); props.onSuccess(token); diff --git a/web/src/locales/zh-CN.json b/web/src/locales/zh-CN.json index 2903ec7..e6d9081 100644 --- a/web/src/locales/zh-CN.json +++ b/web/src/locales/zh-CN.json @@ -3,9 +3,9 @@ "title": "Hello world!" }, "Captcha": { - "doing": "正在检测你是不是机器人...", + "doing": "正在检查你是不是个人...", "error": "验证失败", - "success": "恭喜,你是人类!" + "success": "恭喜呀,你是个人!" }, "Comment": { "collapse_replies": "收起",