Remove duplicated i18n words

This commit is contained in:
Gucheng Wang
2023-01-06 20:24:14 +08:00
parent a6e9084973
commit 57028c2059
12 changed files with 16 additions and 32 deletions

View File

@ -101,7 +101,7 @@ func (c *ApiController) WebAuthnSigninBegin() {
userName := c.Input().Get("name")
user := object.GetUserByFields(userOwner, userName)
if user == nil {
c.ResponseError(fmt.Sprintf(c.T("general:The user: %s/%s doesn't exist"), userOwner, userName))
c.ResponseError(fmt.Sprintf(c.T("general:The user: %s doesn't exist"), util.GetId(userOwner, userName)))
return
}
if len(user.WebauthnCredentials) == 0 {