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

@ -363,7 +363,7 @@ func (c *ApiController) GetEmailAndPhone() {
user := object.GetUserByFields(form.Organization, form.Username)
if user == nil {
c.ResponseError(fmt.Sprintf(c.T("general:The user: %s/%s doesn't exist"), form.Organization, form.Username))
c.ResponseError(fmt.Sprintf(c.T("general:The user: %s doesn't exist"), util.GetId(form.Organization, form.Username)))
return
}