闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
4.6 KiB

  1. en:
  2. activerecord:
  3. attributes:
  4. doorkeeper/application:
  5. name: 'Name'
  6. redirect_uri: 'Redirect URI'
  7. errors:
  8. models:
  9. doorkeeper/application:
  10. attributes:
  11. redirect_uri:
  12. fragment_present: 'cannot contain a fragment.'
  13. invalid_uri: 'must be a valid URI.'
  14. relative_uri: 'must be an absolute URI.'
  15. secured_uri: 'must be an HTTPS/SSL URI.'
  16. doorkeeper:
  17. applications:
  18. confirmations:
  19. destroy: 'Are you sure?'
  20. buttons:
  21. edit: 'Edit'
  22. destroy: 'Destroy'
  23. submit: 'Submit'
  24. cancel: 'Cancel'
  25. authorize: 'Authorize'
  26. form:
  27. error: 'Whoops! Check your form for possible errors'
  28. help:
  29. redirect_uri: 'Use one line per URI'
  30. native_redirect_uri: 'Use %{native_redirect_uri} for local tests'
  31. scopes: 'Separate scopes with spaces. Leave blank to use the default scopes.'
  32. edit:
  33. title: 'Edit application'
  34. index:
  35. title: 'Your applications'
  36. new: 'New Application'
  37. name: 'Name'
  38. callback_url: 'Callback URL'
  39. new:
  40. title: 'New Application'
  41. show:
  42. title: 'Application: %{name}'
  43. application_id: 'Application Id'
  44. secret: 'Secret'
  45. scopes: 'Scopes'
  46. callback_urls: 'Callback urls'
  47. actions: 'Actions'
  48. authorizations:
  49. buttons:
  50. authorize: 'Authorize'
  51. deny: 'Deny'
  52. error:
  53. title: 'An error has occurred'
  54. new:
  55. title: 'Authorization required'
  56. prompt: 'Authorize %{client_name} to use your account?'
  57. able_to: 'This application will be able to'
  58. show:
  59. title: 'Authorization code'
  60. authorized_applications:
  61. confirmations:
  62. revoke: 'Are you sure?'
  63. buttons:
  64. revoke: 'Revoke'
  65. index:
  66. title: 'Your authorized applications'
  67. application: 'Application'
  68. created_at: 'Created At'
  69. date_format: '%Y-%m-%d %H:%M:%S'
  70. errors:
  71. messages:
  72. # Common error messages
  73. invalid_request: 'The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.'
  74. invalid_redirect_uri: 'The redirect uri included is not valid.'
  75. unauthorized_client: 'The client is not authorized to perform this request using this method.'
  76. access_denied: 'The resource owner or authorization server denied the request.'
  77. invalid_scope: 'The requested scope is invalid, unknown, or malformed.'
  78. server_error: 'The authorization server encountered an unexpected condition which prevented it from fulfilling the request.'
  79. temporarily_unavailable: 'The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.'
  80. #configuration error messages
  81. credential_flow_not_configured: 'Resource Owner Password Credentials flow failed due to Doorkeeper.configure.resource_owner_from_credentials being unconfigured.'
  82. resource_owner_authenticator_not_configured: 'Resource Owner find failed due to Doorkeeper.configure.resource_owner_authenticator being unconfiged.'
  83. # Access grant errors
  84. unsupported_response_type: 'The authorization server does not support this response type.'
  85. # Access token errors
  86. invalid_client: 'Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.'
  87. 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.'
  88. unsupported_grant_type: 'The authorization grant type is not supported by the authorization server.'
  89. # Password Access token errors
  90. invalid_resource_owner: 'The provided resource owner credentials are not valid, or resource owner cannot be found'
  91. invalid_token:
  92. revoked: "The access token was revoked"
  93. expired: "The access token expired"
  94. unknown: "The access token is invalid"
  95. flash:
  96. applications:
  97. create:
  98. notice: 'Application created.'
  99. destroy:
  100. notice: 'Application deleted.'
  101. update:
  102. notice: 'Application updated.'
  103. authorized_applications:
  104. destroy:
  105. notice: 'Application revoked.'
  106. layouts:
  107. admin:
  108. nav:
  109. oauth2_provider: 'OAuth2 Provider'
  110. applications: 'Applications'
  111. application:
  112. title: 'OAuth authorization required'