mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-02 18:13:15 +00:00
feat(i18n): replace hardcoded messages with translated strings (#289)
This commit is contained in:
@@ -38,7 +38,7 @@ func (f *File) Notify(c *gin.Context) {
|
||||
|
||||
res := global.Oss.Verify(c.Request)
|
||||
if !res {
|
||||
response.Fail(c, 101, "权限错误")
|
||||
response.Fail(c, 101, response.TranslateMsg(c, "NoAccess"))
|
||||
return
|
||||
}
|
||||
fm := &FileBack{}
|
||||
|
||||
Reference in New Issue
Block a user