]> cat aescling's git repositories - mastodon.git/commitdiff
Update Doorkeeper strings for `doorkeeper.errors.messages.invalid_request` (#15659)
authorMarcin Mikołajczak <me@mkljczk.pl>
Tue, 2 Feb 2021 23:38:48 +0000 (00:38 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Feb 2021 23:38:48 +0000 (00:38 +0100)
* Update Doorkeeper strings for doorkeeper.errors.messages.invalid_request

Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
* Update config/locales/doorkeeper.en.yml

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
config/locales/doorkeeper.en.yml

index 2be2ef0364d4b9a49a2ccea21c976881743b89f2..ec322f071866f27cb0f48ca2f16da9ed71443486 100644 (file)
@@ -83,7 +83,10 @@ en:
         invalid_client: Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.
         invalid_grant: The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
         invalid_redirect_uri: The redirect uri included is not valid.
-        invalid_request: The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.
+        invalid_request:
+          missing_param: 'Missing required parameter: %{value}.'
+          request_not_authorized: Request need to be authorized. Required parameter for authorizing request is missing or invalid.
+          unknown: The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.
         invalid_resource_owner: The provided resource owner credentials are not valid, or resource owner cannot be found
         invalid_scope: The requested scope is invalid, unknown, or malformed.
         invalid_token: