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": "收起",