mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 14:58:14 +08:00
Change CAPTCHA prompt
This commit is contained in:
parent
3ccaed5b1e
commit
940b3f46bd
@ -176,7 +176,7 @@ function siren_robot_comment(){
|
|||||||
$response = json_decode($response);
|
$response = json_decode($response);
|
||||||
if ($response->success == false) {
|
if ($response->success == false) {
|
||||||
// reCAPTCHA验证失败
|
// reCAPTCHA验证失败
|
||||||
siren_ajax_comment_err('reCAPTCHA验证失败。<br>reCAPTCHA verification failed.');
|
siren_ajax_comment_err('reCAPTCHA验证失败,请刷新页面或验证码。<br>reCAPTCHA verification failed.Please refresh the page or CAPTCHA.');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
siren_ajax_comment_err('上车请刷卡。<br>Please comfirm you are not a robot.');
|
siren_ajax_comment_err('上车请刷卡。<br>Please comfirm you are not a robot.');
|
||||||
@ -194,7 +194,7 @@ function siren_robot_comment(){
|
|||||||
$response = json_decode($response);
|
$response = json_decode($response);
|
||||||
if ($response->success == false || $response->score < akina_option('rescore')) {
|
if ($response->success == false || $response->score < akina_option('rescore')) {
|
||||||
// reCAPTCHA验证失败
|
// reCAPTCHA验证失败
|
||||||
siren_ajax_comment_err('reCAPTCHA验证失败。<br>reCAPTCHA verification failed.');
|
siren_ajax_comment_err('reCAPTCHA验证失败,请刷新页面或验证码。<br>reCAPTCHA verification failed.Please refresh the page or CAPTCHA.');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// 如果没有收到 reCAPTCHA token 或者 token 为空,返回错误消息
|
// 如果没有收到 reCAPTCHA token 或者 token 为空,返回错误消息
|
||||||
|
Loading…
Reference in New Issue
Block a user