Updata:转译报错
This commit is contained in:
parent
f120cfa984
commit
cbbb5acbea
@ -176,6 +176,9 @@ func NotLoginError(c *gin.Context, err error) {
|
||||
}
|
||||
|
||||
func translateErrorMessage(c *gin.Context, message string) string {
|
||||
if message == "It was sent. The verification code is still working" {
|
||||
return "已经发送过,验证码尚可用"
|
||||
}
|
||||
lang := c.GetHeader("Accept-Language")
|
||||
switch lang {
|
||||
case "zh-CN":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user