From 940b3f46bdcb2390e7b8e56a7d3cebd0d84a00f7 Mon Sep 17 00:00:00 2001
From: smallxu038 <47671569+smallxu038@users.noreply.github.com>
Date: Tue, 20 Feb 2024 00:21:35 +0800
Subject: [PATCH] Change CAPTCHA prompt
---
inc/theme_plus.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/theme_plus.php b/inc/theme_plus.php
index 43d67bb..4838676 100644
--- a/inc/theme_plus.php
+++ b/inc/theme_plus.php
@@ -176,7 +176,7 @@ function siren_robot_comment(){
$response = json_decode($response);
if ($response->success == false) {
// reCAPTCHA验证失败
- siren_ajax_comment_err('reCAPTCHA验证失败。
reCAPTCHA verification failed.');
+ siren_ajax_comment_err('reCAPTCHA验证失败,请刷新页面或验证码。
reCAPTCHA verification failed.Please refresh the page or CAPTCHA.');
}
} else {
siren_ajax_comment_err('上车请刷卡。
Please comfirm you are not a robot.');
@@ -194,7 +194,7 @@ function siren_robot_comment(){
$response = json_decode($response);
if ($response->success == false || $response->score < akina_option('rescore')) {
// reCAPTCHA验证失败
- siren_ajax_comment_err('reCAPTCHA验证失败。
reCAPTCHA verification failed.');
+ siren_ajax_comment_err('reCAPTCHA验证失败,请刷新页面或验证码。
reCAPTCHA verification failed.Please refresh the page or CAPTCHA.');
}
} else {
// 如果没有收到 reCAPTCHA token 或者 token 为空,返回错误消息