Commit 7c198de6 authored by Evan Read's avatar Evan Read Committed by Kerri Miller

Add URL help text and edit other UI text

parent a3a4846b
...@@ -3,29 +3,30 @@ ...@@ -3,29 +3,30 @@
.form-group .form-group
= form.label :url, _('URL'), class: 'label-bold' = form.label :url, _('URL'), class: 'label-bold'
= form.text_field :url, class: 'form-control gl-form-input' = form.text_field :url, class: 'form-control gl-form-input'
%p.form-text.text-muted= _('URL must be percent-encoded if neccessary.')
.form-group .form-group
= form.label :token, _('Secret Token'), class: 'label-bold' = form.label :token, _('Secret token'), class: 'label-bold'
= form.text_field :token, class: 'form-control gl-form-input' = form.text_field :token, class: 'form-control gl-form-input'
%p.form-text.text-muted= _('Use this token to validate received payloads') %p.form-text.text-muted= _('Use this token to validate received payloads.')
.form-group .form-group
= form.label :url, _('Trigger'), class: 'label-bold' = form.label :url, _('Trigger'), class: 'label-bold'
.form-text.text-secondary.gl-mb-5= _('System hook will be triggered on set of events like creating project or adding ssh key. But you can also enable extra triggers like Push events.') .form-text.text-secondary.gl-mb-5= _('System hooks are triggered on sets of events like creating a project or adding an SSH key. You can also enable extra triggers, such as push events.')
%fieldset.form-group.form-check %fieldset.form-group.form-check
= form.check_box :repository_update_events, class: 'form-check-input' = form.check_box :repository_update_events, class: 'form-check-input'
= form.label :repository_update_events, _('Repository update events'), class: 'label-bold form-check-label' = form.label :repository_update_events, _('Repository update events'), class: 'label-bold form-check-label'
.text-secondary= _('This URL will be triggered when repository is updated') .text-secondary= _('URL is triggered when repository is updated')
%fieldset.form-group.form-check %fieldset.form-group.form-check
= form.check_box :push_events, class: 'form-check-input' = form.check_box :push_events, class: 'form-check-input'
= form.label :push_events, _('Push events'), class: 'label-bold form-check-label' = form.label :push_events, _('Push events'), class: 'label-bold form-check-label'
.text-secondary= _('This URL will be triggered for each branch updated to the repository') .text-secondary= _('URL is triggered for each branch updated to the repository')
%fieldset.form-group.form-check %fieldset.form-group.form-check
= form.check_box :tag_push_events, class: 'form-check-input' = form.check_box :tag_push_events, class: 'form-check-input'
= form.label :tag_push_events, _('Tag push events'), class: 'label-bold form-check-label' = form.label :tag_push_events, _('Tag push events'), class: 'label-bold form-check-label'
.text-secondary= _('This URL will be triggered when a new tag is pushed to the repository') .text-secondary= _('URL is triggered when a new tag is pushed to the repository')
%fieldset.form-group.form-check %fieldset.form-group.form-check
= form.check_box :merge_requests_events, class: 'form-check-input' = form.check_box :merge_requests_events, class: 'form-check-input'
= form.label :merge_requests_events, _('Merge request events'), class: 'label-bold form-check-label' = form.label :merge_requests_events, _('Merge request events'), class: 'label-bold form-check-label'
.text-secondary= _('This URL will be triggered when a merge request is created/updated/merged') .text-secondary= _('URL is triggered when a merge request is created, updated, or merged')
.form-group .form-group
= form.label :enable_ssl_verification, _('SSL verification'), class: 'label-bold checkbox' = form.label :enable_ssl_verification, _('SSL verification'), class: 'label-bold checkbox'
.form-check .form-check
......
...@@ -3,11 +3,13 @@ ...@@ -3,11 +3,13 @@
.form-group .form-group
= form.label :url, s_('Webhooks|URL'), class: 'label-bold' = form.label :url, s_('Webhooks|URL'), class: 'label-bold'
= form.text_field :url, class: 'form-control gl-form-input', placeholder: 'http://example.com/trigger-ci.json' = form.text_field :url, class: 'form-control gl-form-input', placeholder: 'http://example.com/trigger-ci.json'
%p.form-text.text-muted
= s_('Webhooks|URL must be percent-encoded if neccessary.')
.form-group .form-group
= form.label :token, s_('Webhooks|Secret Token'), class: 'label-bold' = form.label :token, s_('Webhooks|Secret token'), class: 'label-bold'
= form.text_field :token, class: 'form-control gl-form-input', placeholder: '' = form.text_field :token, class: 'form-control gl-form-input', placeholder: ''
%p.form-text.text-muted %p.form-text.text-muted
= s_('Webhooks|Use this token to validate received payloads. It will be sent with the request in the X-Gitlab-Token HTTP header.') = s_('Webhooks|Use this token to validate received payloads. It is sent with the request in the X-Gitlab-Token HTTP header.')
.form-group .form-group
= form.label :url, s_('Webhooks|Trigger'), class: 'label-bold' = form.label :url, s_('Webhooks|Trigger'), class: 'label-bold'
%ul.list-unstyled.gl-ml-6 %ul.list-unstyled.gl-ml-6
...@@ -17,37 +19,37 @@ ...@@ -17,37 +19,37 @@
%strong= s_('Webhooks|Push events') %strong= s_('Webhooks|Push events')
= form.text_field :push_events_branch_filter, class: 'form-control gl-form-input', placeholder: 'Branch name or wildcard pattern to trigger on (leave blank for all)' = form.text_field :push_events_branch_filter, class: 'form-control gl-form-input', placeholder: 'Branch name or wildcard pattern to trigger on (leave blank for all)'
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered by a push to the repository') = s_('Webhooks|URL is triggered by a push to the repository')
%li %li
= form.check_box :tag_push_events, class: 'form-check-input' = form.check_box :tag_push_events, class: 'form-check-input'
= form.label :tag_push_events, class: 'list-label form-check-label gl-ml-1' do = form.label :tag_push_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Tag push events') %strong= s_('Webhooks|Tag push events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when a new tag is pushed to the repository') = s_('Webhooks|URL is triggered when a new tag is pushed to the repository')
%li %li
= form.check_box :note_events, class: 'form-check-input' = form.check_box :note_events, class: 'form-check-input'
= form.label :note_events, class: 'list-label form-check-label gl-ml-1' do = form.label :note_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Comments') %strong= s_('Webhooks|Comments')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when someone adds a comment') = s_('Webhooks|URL is triggered when someone adds a comment')
%li %li
= form.check_box :confidential_note_events, class: 'form-check-input' = form.check_box :confidential_note_events, class: 'form-check-input'
= form.label :confidential_note_events, class: 'list-label form-check-label gl-ml-1' do = form.label :confidential_note_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Confidential Comments') %strong= s_('Webhooks|Confidential comments')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when someone adds a comment on a confidential issue') = s_('Webhooks|URL is triggered when someone adds a comment on a confidential issue')
%li %li
= form.check_box :issues_events, class: 'form-check-input' = form.check_box :issues_events, class: 'form-check-input'
= form.label :issues_events, class: 'list-label form-check-label gl-ml-1' do = form.label :issues_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Issues events') %strong= s_('Webhooks|Issues events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when an issue is created/updated/merged') = s_('Webhooks|URL is triggered when an issue is created, updated, or merged')
%li %li
= form.check_box :confidential_issues_events, class: 'form-check-input' = form.check_box :confidential_issues_events, class: 'form-check-input'
= form.label :confidential_issues_events, class: 'list-label form-check-label gl-ml-1' do = form.label :confidential_issues_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Confidential Issues events') %strong= s_('Webhooks|Confidential issues events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when a confidential issue is created/updated/merged') = s_('Webhooks|URL is triggered when a confidential issue is created, updated, or merged')
- if @group - if @group
= render_if_exists 'groups/hooks/member_events', form: form = render_if_exists 'groups/hooks/member_events', form: form
= render_if_exists 'groups/hooks/subgroup_events', form: form = render_if_exists 'groups/hooks/subgroup_events', form: form
...@@ -56,43 +58,43 @@ ...@@ -56,43 +58,43 @@
= form.label :merge_requests_events, class: 'list-label form-check-label gl-ml-1' do = form.label :merge_requests_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Merge request events') %strong= s_('Webhooks|Merge request events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when a merge request is created/updated/merged') = s_('Webhooks|URL is triggered when a merge request is created, updated, or merged')
%li %li
= form.check_box :job_events, class: 'form-check-input' = form.check_box :job_events, class: 'form-check-input'
= form.label :job_events, class: 'list-label form-check-label gl-ml-1' do = form.label :job_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Job events') %strong= s_('Webhooks|Job events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when the job status changes') = s_('Webhooks|URL is triggered when the job status changes')
%li %li
= form.check_box :pipeline_events, class: 'form-check-input' = form.check_box :pipeline_events, class: 'form-check-input'
= form.label :pipeline_events, class: 'list-label form-check-label gl-ml-1' do = form.label :pipeline_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Pipeline events') %strong= s_('Webhooks|Pipeline events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when the pipeline status changes') = s_('Webhooks|URL is triggered when the pipeline status changes')
%li %li
= form.check_box :wiki_page_events, class: 'form-check-input' = form.check_box :wiki_page_events, class: 'form-check-input'
= form.label :wiki_page_events, class: 'list-label form-check-label gl-ml-1' do = form.label :wiki_page_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Wiki Page events') %strong= s_('Webhooks|Wiki page events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when a wiki page is created/updated') = s_('Webhooks|URL is triggered when a wiki page is created or updated')
%li %li
= form.check_box :deployment_events, class: 'form-check-input' = form.check_box :deployment_events, class: 'form-check-input'
= form.label :deployment_events, class: 'list-label form-check-label gl-ml-1' do = form.label :deployment_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Deployment events') %strong= s_('Webhooks|Deployment events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL is triggered when a deployment starts, finishes, fails, or is canceled') = s_('Webhooks|URL is triggered when a deployment starts, finishes, fails, or is canceled')
%li %li
= form.check_box :feature_flag_events, class: 'form-check-input' = form.check_box :feature_flag_events, class: 'form-check-input'
= form.label :feature_flag_events, class: 'list-label form-check-label gl-ml-1' do = form.label :feature_flag_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Feature Flag events') %strong= s_('Webhooks|Feature flag events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL is triggered when a feature flag is turned on or off') = s_('Webhooks|URL is triggered when a feature flag is turned on or off')
%li %li
= form.check_box :releases_events, class: 'form-check-input' = form.check_box :releases_events, class: 'form-check-input'
= form.label :releases_events, class: 'list-label form-check-label gl-ml-1' do = form.label :releases_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Releases events') %strong= s_('Webhooks|Releases events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL is triggered when a release is created/updated') = s_('Webhooks|URL is triggered when a release is created or updated')
.form-group .form-group
= form.label :enable_ssl_verification, s_('Webhooks|SSL verification'), class: 'label-bold checkbox' = form.label :enable_ssl_verification, s_('Webhooks|SSL verification'), class: 'label-bold checkbox'
.form-check .form-check
......
---
title: Add URL help text and edit other UI text
merge_request: 53578
author:
type: other
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
= form.label :member_events, class: 'list-label form-check-label gl-ml-1' do = form.label :member_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Member events') %strong= s_('Webhooks|Member events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when a group member is created/updated/removed') = s_('Webhooks|URL is triggered when a group member is created, updated, or removed')
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
= form.label :subgroup_events, class: 'list-label form-check-label gl-ml-1' do = form.label :subgroup_events, class: 'list-label form-check-label gl-ml-1' do
%strong= s_('Webhooks|Subgroup events') %strong= s_('Webhooks|Subgroup events')
%p.text-muted.gl-ml-1 %p.text-muted.gl-ml-1
= s_('Webhooks|This URL will be triggered when a subgroup is created/removed') = s_('Webhooks|URL is triggered when a subgroup is created or removed')
...@@ -25979,7 +25979,7 @@ msgstr "" ...@@ -25979,7 +25979,7 @@ msgstr ""
msgid "Secret Detection" msgid "Secret Detection"
msgstr "" msgstr ""
msgid "Secret Token" msgid "Secret token"
msgstr "" msgstr ""
msgid "Security" msgid "Security"
...@@ -28556,7 +28556,7 @@ msgstr "" ...@@ -28556,7 +28556,7 @@ msgstr ""
msgid "System hook was successfully updated." msgid "System hook was successfully updated."
msgstr "" msgstr ""
msgid "System hook will be triggered on set of events like creating project or adding ssh key. But you can also enable extra triggers like Push events." msgid "System hooks are triggered on sets of events like creating a project or adding an SSH key. You can also enable extra triggers, such as push events."
msgstr "" msgstr ""
msgid "System metrics (Custom)" msgid "System metrics (Custom)"
...@@ -29826,18 +29826,6 @@ msgstr "" ...@@ -29826,18 +29826,6 @@ msgstr ""
msgid "This URL is already used for another link; duplicate URLs are not allowed" msgid "This URL is already used for another link; duplicate URLs are not allowed"
msgstr "" msgstr ""
msgid "This URL will be triggered for each branch updated to the repository"
msgstr ""
msgid "This URL will be triggered when a merge request is created/updated/merged"
msgstr ""
msgid "This URL will be triggered when a new tag is pushed to the repository"
msgstr ""
msgid "This URL will be triggered when repository is updated"
msgstr ""
msgid "This action can lead to data loss. To prevent accidental actions we ask you to confirm your intention." msgid "This action can lead to data loss. To prevent accidental actions we ask you to confirm your intention."
msgstr "" msgstr ""
...@@ -31263,6 +31251,21 @@ msgstr "" ...@@ -31263,6 +31251,21 @@ msgstr ""
msgid "URL is required" msgid "URL is required"
msgstr "" msgstr ""
msgid "URL is triggered for each branch updated to the repository"
msgstr ""
msgid "URL is triggered when a merge request is created, updated, or merged"
msgstr ""
msgid "URL is triggered when a new tag is pushed to the repository"
msgstr ""
msgid "URL is triggered when repository is updated"
msgstr ""
msgid "URL must be percent-encoded if neccessary."
msgstr ""
msgid "URL must start with %{codeStart}http://%{codeEnd}, %{codeStart}https://%{codeEnd}, or %{codeStart}ftp://%{codeEnd}" msgid "URL must start with %{codeStart}http://%{codeEnd}, %{codeStart}https://%{codeEnd}, or %{codeStart}ftp://%{codeEnd}"
msgstr "" msgstr ""
...@@ -31884,7 +31887,7 @@ msgstr "" ...@@ -31884,7 +31887,7 @@ msgstr ""
msgid "Use template" msgid "Use template"
msgstr "" msgstr ""
msgid "Use this token to validate received payloads" msgid "Use this token to validate received payloads."
msgstr "" msgstr ""
msgid "Use webhook" msgid "Use webhook"
...@@ -32884,10 +32887,10 @@ msgstr "" ...@@ -32884,10 +32887,10 @@ msgstr ""
msgid "Webhooks|Comments" msgid "Webhooks|Comments"
msgstr "" msgstr ""
msgid "Webhooks|Confidential Comments" msgid "Webhooks|Confidential comments"
msgstr "" msgstr ""
msgid "Webhooks|Confidential Issues events" msgid "Webhooks|Confidential issues events"
msgstr "" msgstr ""
msgid "Webhooks|Deployment events" msgid "Webhooks|Deployment events"
...@@ -32896,7 +32899,7 @@ msgstr "" ...@@ -32896,7 +32899,7 @@ msgstr ""
msgid "Webhooks|Enable SSL verification" msgid "Webhooks|Enable SSL verification"
msgstr "" msgstr ""
msgid "Webhooks|Feature Flag events" msgid "Webhooks|Feature flag events"
msgstr "" msgstr ""
msgid "Webhooks|Issues events" msgid "Webhooks|Issues events"
...@@ -32923,7 +32926,7 @@ msgstr "" ...@@ -32923,7 +32926,7 @@ msgstr ""
msgid "Webhooks|SSL verification" msgid "Webhooks|SSL verification"
msgstr "" msgstr ""
msgid "Webhooks|Secret Token" msgid "Webhooks|Secret token"
msgstr "" msgstr ""
msgid "Webhooks|Subgroup events" msgid "Webhooks|Subgroup events"
...@@ -32932,61 +32935,64 @@ msgstr "" ...@@ -32932,61 +32935,64 @@ msgstr ""
msgid "Webhooks|Tag push events" msgid "Webhooks|Tag push events"
msgstr "" msgstr ""
msgid "Webhooks|This URL is triggered when a deployment starts, finishes, fails, or is canceled" msgid "Webhooks|Trigger"
msgstr "" msgstr ""
msgid "Webhooks|This URL is triggered when a feature flag is turned on or off" msgid "Webhooks|URL"
msgstr "" msgstr ""
msgid "Webhooks|This URL is triggered when a release is created/updated" msgid "Webhooks|URL is triggered by a push to the repository"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered by a push to the repository" msgid "Webhooks|URL is triggered when a confidential issue is created, updated, or merged"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when a confidential issue is created/updated/merged" msgid "Webhooks|URL is triggered when a deployment starts, finishes, fails, or is canceled"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when a group member is created/updated/removed" msgid "Webhooks|URL is triggered when a feature flag is turned on or off"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when a merge request is created/updated/merged" msgid "Webhooks|URL is triggered when a group member is created, updated, or removed"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when a new tag is pushed to the repository" msgid "Webhooks|URL is triggered when a merge request is created, updated, or merged"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when a subgroup is created/removed" msgid "Webhooks|URL is triggered when a new tag is pushed to the repository"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when a wiki page is created/updated" msgid "Webhooks|URL is triggered when a release is created or updated"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when an issue is created/updated/merged" msgid "Webhooks|URL is triggered when a subgroup is created or removed"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when someone adds a comment" msgid "Webhooks|URL is triggered when a wiki page is created or updated"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when someone adds a comment on a confidential issue" msgid "Webhooks|URL is triggered when an issue is created, updated, or merged"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when the job status changes" msgid "Webhooks|URL is triggered when someone adds a comment"
msgstr "" msgstr ""
msgid "Webhooks|This URL will be triggered when the pipeline status changes" msgid "Webhooks|URL is triggered when someone adds a comment on a confidential issue"
msgstr "" msgstr ""
msgid "Webhooks|Trigger" msgid "Webhooks|URL is triggered when the job status changes"
msgstr "" msgstr ""
msgid "Webhooks|URL" msgid "Webhooks|URL is triggered when the pipeline status changes"
msgstr ""
msgid "Webhooks|URL must be percent-encoded if neccessary."
msgstr "" msgstr ""
msgid "Webhooks|Use this token to validate received payloads. It will be sent with the request in the X-Gitlab-Token HTTP header." msgid "Webhooks|Use this token to validate received payloads. It is sent with the request in the X-Gitlab-Token HTTP header."
msgstr "" msgstr ""
msgid "Webhooks|Wiki Page events" msgid "Webhooks|Wiki page events"
msgstr "" msgstr ""
msgid "Wednesday" msgid "Wednesday"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment