闭社主体 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.

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