Finish new web hook pages
This commit is contained in:
parent
9820b8e134
commit
9a1d5d2489
23 changed files with 249 additions and 265 deletions
|
@ -62,6 +62,7 @@ Password = Password
|
|||
Retype = Re-type password
|
||||
SSHTitle = SSH key name
|
||||
HttpsUrl = HTTPS URL
|
||||
PayloadUrl = Payload URL
|
||||
|
||||
require_error = ` cannot be empty.`
|
||||
alpha_dash_error = ` must be valid alpha or numeric or dash(-_) characters.`
|
||||
|
@ -181,6 +182,19 @@ settings.remove_collaborator_success = Collaborator has been removed.
|
|||
settings.add_webhook = Add Webhook
|
||||
settings.hooks_desc = Webhooks allow external services to be notified when certain events happen on Gogs. When the specified events happen, we'll send a POST request to each of the URLs you provide. Learn more in our <a target="_blank" href="http://gogs.io/docs/features/webhook.html">Webhooks Guide</a>.
|
||||
settings.remove_hook_success = Webhook has been removed.
|
||||
settings.add_webhook_desc = We’ll send a <code>POST</code> request to the URL below with details of any subscribed events. You can also specify which data format you'd like to receive (JSON, <code>x-www-form-urlencoded</code>, <em>etc</em>). More information can be found in <a target="_blank" href="http://gogs.io/docs/features/webhook.html">Webhooks Guide</a>.
|
||||
settings.payload_url = Payload URL
|
||||
settings.content_type = Content Type
|
||||
settings.secret = Secret
|
||||
settings.event_desc = Which events would you like to trigger this webhook?
|
||||
settings.event_push_only = Just the <code>push</code> event.
|
||||
settings.active = Active
|
||||
settings.active_helper = We will deliver event details when this hook is triggered.
|
||||
settings.add_hook_success = New webhook has been added.
|
||||
settings.update_webhook = Update Webhook
|
||||
settings.update_hook_success = Webhook has been updated.
|
||||
settings.delete_webhook = Delete Webhook
|
||||
settings.recent_deliveries = Recent Deliveries
|
||||
|
||||
[org]
|
||||
org_name_holder = Organization Name
|
||||
|
|
|
@ -62,6 +62,7 @@ Password = 密码
|
|||
Retype = 确认密码
|
||||
SSHTitle = SSH 密钥名称
|
||||
HttpsUrl = HTTPS URL 地址
|
||||
PayloadUrl = 推送地址
|
||||
|
||||
require_error = 不能为空。
|
||||
alpha_dash_error = 必须为英文字母、阿拉伯数字或横线(-_)。
|
||||
|
@ -181,6 +182,19 @@ settings.remove_collaborator_success = 被操作的协作者已经被收回权
|
|||
settings.add_webhook = 添加 Web 钩子
|
||||
settings.hooks_desc = Web 钩子允许您设定在 Gogs 上发生指定事件时对指定 URL 发送 POST 通知。查看 <a target="_blank" href="http://gogs.io/docs/features/webhook.html">Webhooks 文档</a> 获取更多信息。
|
||||
settings.remove_hook_success = Web 钩子删除成功!
|
||||
settings.add_webhook_desc = 我们会通过 <code>POST</code> 请求将订阅事件信息发送至向指定 URL 地址。您可以设置不同的数据接收方式(JSON 或 <code>x-www-form-urlencoded</code>)。 请查阅 <a target="_blank" href="http://gogs.io/docs/features/webhook.html">Webhooks 文档</a> 获取更多信息。
|
||||
settings.payload_url = 推送地址
|
||||
settings.content_type = 数据格式
|
||||
settings.secret = 密钥文本
|
||||
settings.event_desc = 请设置您希望触发 Web 钩子的事件:
|
||||
settings.event_push_only = 只推送 <code>push</code> 事件。
|
||||
settings.active = 是否激活
|
||||
settings.active_helper = 当指定事件发生时我们将会触发此 Web 钩子。
|
||||
settings.add_hook_success = Web 钩子添加成功!
|
||||
settings.update_webhook = 更新 Web 钩子
|
||||
settings.update_hook_success = Web 钩子更新成功!
|
||||
settings.delete_webhook = 删除 Web 钩子
|
||||
settings.recent_deliveries = 最近推送记录
|
||||
|
||||
[org]
|
||||
org_name_holder = 组织名称
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue