mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 10:45:47 +08:00
feat: fix translate bug in UpdateUser()
(#1451)
* fix: fix translate error * fix translate bug in UpdateUser() * Delete DiscordLoginButton.js
This commit is contained in:
parent
0559298d6c
commit
c8846f1a2d
@ -273,7 +273,7 @@ func (c *ApiController) UpdateUser() {
|
||||
isGlobalAdmin := c.IsGlobalAdmin()
|
||||
|
||||
if pass, err := checkPermissionForUpdateUser(id, user, c); !pass {
|
||||
c.ResponseError(c.T(err))
|
||||
c.ResponseError(err)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@
|
||||
"You can't unlink yourself, you are not a member of any application": "您无法取消链接,您不是任何应用程序的成员"
|
||||
},
|
||||
"organization": {
|
||||
"Only admin can modify the %s.": "您无法取消链接,您不是任何应用程序的成员",
|
||||
"Only admin can modify the %s.": "仅允许管理员可以修改 %s",
|
||||
"The %s is immutable.": "%s是不可变的",
|
||||
"Unknown modify rule %s.": "未知的修改规则"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user