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.

131 lines
4.4 KiB

  1. # from https://github.com/doorkeeper-gem/doorkeeper-i18n/pull/31/
  2. zh-CN:
  3. activerecord:
  4. attributes:
  5. doorkeeper/application:
  6. name: '名称'
  7. redirect_uri: '登录回调地址'
  8. scopes: '权限范围'
  9. errors:
  10. models:
  11. doorkeeper/application:
  12. attributes:
  13. redirect_uri:
  14. fragment_present: '不能包含片段(#)'
  15. invalid_uri: '必须是有效的 URL 格式'
  16. relative_uri: '必须是绝对的 URL 地址'
  17. secured_uri: '必须是 HTTPS/SSL 的 URL 地址'
  18. doorkeeper:
  19. applications:
  20. confirmations:
  21. destroy: '确定要删除应用吗?'
  22. buttons:
  23. edit: '编辑'
  24. destroy: '删除'
  25. submit: '提交'
  26. cancel: '取消'
  27. authorize: '授权'
  28. form:
  29. error: '抱歉! 提交信息的时候遇到了下面的错误'
  30. help:
  31. redirect_uri: '每行只能有一个 URL'
  32. native_redirect_uri: '使用 %{native_redirect_uri} 作为本地测试'
  33. scopes: '用空格隔开权限范围,留空则使用默认设置'
  34. edit:
  35. title: '修改应用'
  36. index:
  37. title: '你的应用'
  38. new: '创建新应用'
  39. name: '名称'
  40. callback_url: '登录回调地址'
  41. new:
  42. title: '创建新应用'
  43. show:
  44. title: '应用:%{name}'
  45. application_id: '应用 ID'
  46. secret: '私钥'
  47. scopes: '权限范围'
  48. callback_urls: '登录回调地址'
  49. actions: '操作'
  50. authorizations:
  51. buttons:
  52. authorize: '授权'
  53. deny: '拒绝'
  54. error:
  55. title: '存在错误'
  56. new:
  57. title: '需要你授权'
  58. prompt: '授权 %{client_name} 使用你的帐号?'
  59. able_to: '此应用将会'
  60. show:
  61. title: '授权码'
  62. authorized_applications:
  63. confirmations:
  64. revoke: '确定要注销此应用的认证信息吗?'
  65. buttons:
  66. revoke: '注销'
  67. index:
  68. title: '你授权的应用列表'
  69. application: '应用'
  70. created_at: '授权时间'
  71. date_format: '%Y-%m-%d %H:%M:%S'
  72. errors:
  73. messages:
  74. # Common error messages
  75. invalid_request: '这个请求缺少必要的参数,或者参数值、格式不正确'
  76. invalid_redirect_uri: '无效的登录回调地址'
  77. unauthorized_client: '未授权的应用,请求无法执行'
  78. access_denied: '用户或服务器拒绝了请求'
  79. invalid_scope: '请求范围无效、未知或格式不正确'
  80. server_error: '服务器异常,无法处理请求'
  81. temporarily_unavailable: '服务器维护中或负载过高,暂时无法处理请求'
  82. #configuration error messages
  83. credential_flow_not_configured: 'Resource Owner Password Credentials flow failed,原因是 Doorkeeper.configure.resource_owner_from_credentials 尚未设置。'
  84. resource_owner_authenticator_not_configured: 'Resource Owner find failed,原因是 Doorkeeper.configure.resource_owner_authenticator 尚未设置。'
  85. # Access grant errors
  86. unsupported_response_type: '服务器不支持这种响应类型'
  87. # Access token errors
  88. invalid_client: '由于未知、不支持或没有客户端,认证失败'
  89. invalid_grant: '授权方式无效,或者登录回调地址无效、过期或已被撤销'
  90. unsupported_grant_type: '服务器不支持此类型的授权方式'
  91. # Password Access token errors
  92. invalid_resource_owner: '资源所有者认证无效或没有所有者'
  93. invalid_token:
  94. revoked: "访问令牌已被吊销"
  95. expired: "访问令牌已过期"
  96. unknown: "访问令牌无效"
  97. flash:
  98. applications:
  99. create:
  100. notice: '应用创建成功'
  101. destroy:
  102. notice: '应用删除成功'
  103. update:
  104. notice: '应用修改成功'
  105. authorized_applications:
  106. destroy:
  107. notice: '已成功注销了应用的认证信息'
  108. layouts:
  109. admin:
  110. nav:
  111. oauth2_provider: 'OAuth2 提供商'
  112. applications: '应用'
  113. home: '首页'
  114. application:
  115. title: 'OAuth 认证'
  116. scopes:
  117. follow: 关注(或取消关注),屏蔽(或取消屏蔽)用户
  118. read: 读取你的账户数据
  119. write: 为你发表嘟文