Skip to content

Commit

Permalink
Add missing Doorkeeper translations
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Oct 6, 2024
1 parent 95d56b9 commit 190280c
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions config/locales/doorkeeper.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ en:
redirect_uri:
fragment_present: 'cannot contain a fragment.'
invalid_uri: 'must be a valid URI.'
unspecified_scheme: 'must specify a scheme.'
relative_uri: 'must be an absolute URI.'
secured_uri: 'must be an HTTPS/SSL URI.'
forbidden_uri: 'is forbidden by the server.'
Expand All @@ -32,7 +33,7 @@ en:
help:
confidential: 'Application will be used where the client secret can be kept confidential. Native mobile apps and Single Page Apps are considered non-confidential.'
redirect_uri: 'Use one line per URI'
native_redirect_uri: 'Use %{native_redirect_uri} if you want to add localhost URIs for development purposes'
blank_redirect_uri: "Leave it blank if you configured your provider to use Client Credentials, Resource Owner Password Credentials or any other grant type that doesn't require redirect URI."
scopes: 'Separate scopes with spaces. Leave blank to use the default scopes.'
edit:
title: 'Edit application'
Expand All @@ -50,12 +51,14 @@ en:
title: 'New Application'
show:
title: 'Application: %{name}'
application_id: 'Application UID'
application_id: 'UID'
secret: 'Secret'
secret_hashed: 'Secret hashed'
scopes: 'Scopes'
confidential: 'Confidential'
callback_urls: 'Callback urls'
actions: 'Actions'
not_defined: 'Not defined'

authorizations:
buttons:
Expand All @@ -69,6 +72,8 @@ en:
able_to: 'This application will be able to'
show:
title: 'Authorization code'
form_post:
title: 'Submit this form'

authorized_applications:
confirmations:
Expand All @@ -87,7 +92,10 @@ en:
errors:
messages:
# Common error messages
invalid_request: 'The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.'
invalid_request:
unknown: 'The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.'
missing_param: 'Missing required parameter: %{value}.'
request_not_authorized: 'Request need to be authorized. Required parameter for authorizing request is missing or invalid.'
invalid_redirect_uri: "The requested redirect uri is malformed or doesn't match client redirect URI."
unauthorized_client: 'The client is not authorized to perform this request using this method.'
access_denied: 'The resource owner or authorization server denied the request.'
Expand All @@ -103,6 +111,7 @@ en:

# Access grant errors
unsupported_response_type: 'The authorization server does not support this response type.'
unsupported_response_mode: 'The authorization server does not support this response mode.'

# Access token errors
invalid_client: 'Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.'
Expand All @@ -113,6 +122,11 @@ en:
revoked: "The access token was revoked"
expired: "The access token expired"
unknown: "The access token is invalid"
revoke:
unauthorized: "You are not authorized to revoke this token"

forbidden_token:
missing_scope: 'Access to this resource requires scope "%{oauth_scopes}".'

flash:
applications:
Expand Down

0 comments on commit 190280c

Please sign in to comment.