From 19e6329a2ba4192e720ebf0f63b12f0403aaf7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 24 Sep 2022 20:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E6=8F=90=E7=A4=BA=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=B9=81=E4=BD=93=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/waf/captcha_validator.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/waf/captcha_validator.go b/internal/waf/captcha_validator.go index 17b8d0c..3fdefbb 100644 --- a/internal/waf/captcha_validator.go +++ b/internal/waf/captcha_validator.go @@ -117,6 +117,11 @@ func (this *CaptchaValidator) show(actionConfig *CaptchaAction, req requests.Req msgPrompt = "请输入上面的验证码" msgButtonTitle = "提交验证" msgRequestId = "请求ID" + case "zh-TW": + msgTitle = "身份驗證" + msgPrompt = "請輸入上面的驗證碼" + msgButtonTitle = "提交驗證" + msgRequestId = "請求ID" default: msgTitle = "Verify Yourself" msgPrompt = "Input verify code above:"