update missing translation string (#16559)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9667c96f97
Коммит
bced2b2fd2
@@ -717,7 +717,7 @@ func (a *App) GetAuthorizationCode(w http.ResponseWriter, r *http.Request, servi
|
|||||||
|
|
||||||
sso, e2 := provider.GetSSOSettings(a.Config(), service)
|
sso, e2 := provider.GetSSOSettings(a.Config(), service)
|
||||||
if e2 != nil {
|
if e2 != nil {
|
||||||
return "", model.NewAppError("GetAuthorizationCode.GetSSOSettings", "api.user.get_authorization_code.endpoint.app_error", nil, e.Error(), http.StatusNotImplemented)
|
return "", model.NewAppError("GetAuthorizationCode.GetSSOSettings", "api.user.get_authorization_code.endpoint.app_error", nil, e2.Error(), http.StatusNotImplemented)
|
||||||
}
|
}
|
||||||
|
|
||||||
secure := false
|
secure := false
|
||||||
@@ -782,7 +782,7 @@ func (a *App) AuthorizeOAuthUser(w http.ResponseWriter, r *http.Request, service
|
|||||||
|
|
||||||
sso, e2 := provider.GetSSOSettings(a.Config(), service)
|
sso, e2 := provider.GetSSOSettings(a.Config(), service)
|
||||||
if e2 != nil {
|
if e2 != nil {
|
||||||
return nil, "", nil, nil, model.NewAppError("GetAuthorizationCode.GetSSOSettings", "api.user.get_authorization_code.endpoint.app_error", nil, e.Error(), http.StatusNotImplemented)
|
return nil, "", nil, nil, model.NewAppError("AuthorizeOAuthUser.GetSSOSettings", "api.user.get_authorization_code.endpoint.app_error", nil, e.Error(), http.StatusNotImplemented)
|
||||||
}
|
}
|
||||||
|
|
||||||
b, strErr := b64.StdEncoding.DecodeString(state)
|
b, strErr := b64.StdEncoding.DecodeString(state)
|
||||||
|
|||||||
@@ -3220,7 +3220,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "api.user.get_authorization_code.endpoint.app_error",
|
"id": "api.user.get_authorization_code.endpoint.app_error",
|
||||||
"translation": "Failed to get authorization code."
|
"translation": "Error retreiving endpoint from Discovery Document."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "api.user.get_uploads_for_user.forbidden.app_error",
|
"id": "api.user.get_uploads_for_user.forbidden.app_error",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user