Commit 63c1ed12 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'russell/improve-jira-service-help-text-2' into 'master'

UI text - Settings - Jira integration

See merge request gitlab-org/gitlab!57793
parents 53ccfde9 05c340ff
...@@ -129,7 +129,7 @@ export default { ...@@ -129,7 +129,7 @@ export default {
<template #help> <template #help>
{{ {{
s__( s__(
'JiraService|Warning: All GitLab users that have access to this GitLab project will be able to view all issues from the Jira project specified below.', 'JiraService|Warning: All GitLab users that have access to this GitLab project are able to view all issues from the Jira project specified below.',
) )
}} }}
</template> </template>
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
id="service_project_key" id="service_project_key"
v-model="projectKey" v-model="projectKey"
name="service[project_key]" name="service[project_key]"
:placeholder="s__('JiraService|e.g. AB')" :placeholder="s__('JiraService|For example, AB')"
:required="enableJiraIssues" :required="enableJiraIssues"
:state="validProjectKey" :state="validProjectKey"
:disabled="!enableJiraIssues" :disabled="!enableJiraIssues"
......
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
label-for="service[trigger]" label-for="service[trigger]"
:description=" :description="
s__( s__(
'Integrations|When a Jira issue is mentioned in a commit or merge request a remote link and comment (if enabled) will be created.', 'Integrations|When a Jira issue is mentioned in a commit or merge request a remote link and comment (if enabled) is created.',
) )
" "
> >
......
...@@ -116,7 +116,7 @@ class JiraService < IssueTrackerService ...@@ -116,7 +116,7 @@ class JiraService < IssueTrackerService
end end
def description def description
s_('JiraService|Jira issue tracker') s_('JiraService|Track issues in Jira')
end end
def self.to_param def self.to_param
...@@ -130,19 +130,20 @@ class JiraService < IssueTrackerService ...@@ -130,19 +130,20 @@ class JiraService < IssueTrackerService
name: 'url', name: 'url',
title: s_('JiraService|Web URL'), title: s_('JiraService|Web URL'),
placeholder: 'https://jira.example.com', placeholder: 'https://jira.example.com',
help: s_('JiraService|Base URL of the Jira instance.'),
required: true required: true
}, },
{ {
type: 'text', type: 'text',
name: 'api_url', name: 'api_url',
title: s_('JiraService|Jira API URL'), title: s_('JiraService|Jira API URL'),
placeholder: s_('JiraService|If different from Web URL') help: s_('JiraService|If different from Web URL.')
}, },
{ {
type: 'text', type: 'text',
name: 'username', name: 'username',
title: s_('JiraService|Username or Email'), title: s_('JiraService|Username or Email'),
placeholder: s_('JiraService|Use a username for server version and an email for cloud version'), help: s_('JiraService|Use a username for server version and an email for cloud version.'),
required: true required: true
}, },
{ {
...@@ -150,8 +151,8 @@ class JiraService < IssueTrackerService ...@@ -150,8 +151,8 @@ class JiraService < IssueTrackerService
name: 'password', name: 'password',
title: s_('JiraService|Password or API token'), title: s_('JiraService|Password or API token'),
non_empty_password_title: s_('JiraService|Enter new password or API token'), non_empty_password_title: s_('JiraService|Enter new password or API token'),
non_empty_password_help: s_('JiraService|Leave blank to use your current password or API token'), non_empty_password_help: s_('JiraService|Leave blank to use your current password or API token.'),
placeholder: s_('JiraService|Use a password for server version and an API token for cloud version'), help: s_('JiraService|Use a password for server version and an API token for cloud version.'),
required: true required: true
} }
] ]
......
---
title: Update Jira plugin UI copy
merge_request: 57793
author: Russell Dickenson rdickenson@gitlab.com
type: other
...@@ -16961,7 +16961,7 @@ msgstr "" ...@@ -16961,7 +16961,7 @@ msgstr ""
msgid "Integrations|Use the GitLab Slack application" msgid "Integrations|Use the GitLab Slack application"
msgstr "" msgstr ""
msgid "Integrations|When a Jira issue is mentioned in a commit or merge request a remote link and comment (if enabled) will be created." msgid "Integrations|When a Jira issue is mentioned in a commit or merge request a remote link and comment (if enabled) is created."
msgstr "" msgstr ""
msgid "Integrations|You can now close this window and return to the GitLab for Jira application." msgid "Integrations|You can now close this window and return to the GitLab for Jira application."
...@@ -17678,6 +17678,9 @@ msgstr "" ...@@ -17678,6 +17678,9 @@ msgstr ""
msgid "JiraService|Automatically transitions Jira issues to the \"Done\" category. %{linkStart}Learn more%{linkEnd}" msgid "JiraService|Automatically transitions Jira issues to the \"Done\" category. %{linkStart}Learn more%{linkEnd}"
msgstr "" msgstr ""
msgid "JiraService|Base URL of the Jira instance."
msgstr ""
msgid "JiraService|Define the type of Jira issue to create from a vulnerability." msgid "JiraService|Define the type of Jira issue to create from a vulnerability."
msgstr "" msgstr ""
...@@ -17708,10 +17711,13 @@ msgstr "" ...@@ -17708,10 +17711,13 @@ msgstr ""
msgid "JiraService|For example, 12, 24" msgid "JiraService|For example, 12, 24"
msgstr "" msgstr ""
msgid "JiraService|For example, AB"
msgstr ""
msgid "JiraService|GitLab for Jira Configuration" msgid "JiraService|GitLab for Jira Configuration"
msgstr "" msgstr ""
msgid "JiraService|If different from Web URL" msgid "JiraService|If different from Web URL."
msgstr "" msgstr ""
msgid "JiraService|Issue List" msgid "JiraService|Issue List"
...@@ -17732,16 +17738,13 @@ msgstr "" ...@@ -17732,16 +17738,13 @@ msgstr ""
msgid "JiraService|Jira comments will be created when an issue gets referenced in a merge request." msgid "JiraService|Jira comments will be created when an issue gets referenced in a merge request."
msgstr "" msgstr ""
msgid "JiraService|Jira issue tracker"
msgstr ""
msgid "JiraService|Jira issue type" msgid "JiraService|Jira issue type"
msgstr "" msgstr ""
msgid "JiraService|Jira project key" msgid "JiraService|Jira project key"
msgstr "" msgstr ""
msgid "JiraService|Leave blank to use your current password or API token" msgid "JiraService|Leave blank to use your current password or API token."
msgstr "" msgstr ""
msgid "JiraService|Move to Done" msgid "JiraService|Move to Done"
...@@ -17777,13 +17780,16 @@ msgstr "" ...@@ -17777,13 +17780,16 @@ msgstr ""
msgid "JiraService|This issue is synchronized with Jira" msgid "JiraService|This issue is synchronized with Jira"
msgstr "" msgstr ""
msgid "JiraService|Track issues in Jira"
msgstr ""
msgid "JiraService|Transition Jira issues to their final state:" msgid "JiraService|Transition Jira issues to their final state:"
msgstr "" msgstr ""
msgid "JiraService|Use a password for server version and an API token for cloud version" msgid "JiraService|Use a password for server version and an API token for cloud version."
msgstr "" msgstr ""
msgid "JiraService|Use a username for server version and an email for cloud version" msgid "JiraService|Use a username for server version and an email for cloud version."
msgstr "" msgstr ""
msgid "JiraService|Use custom transitions" msgid "JiraService|Use custom transitions"
...@@ -17798,7 +17804,7 @@ msgstr "" ...@@ -17798,7 +17804,7 @@ msgstr ""
msgid "JiraService|View Jira issues in GitLab" msgid "JiraService|View Jira issues in GitLab"
msgstr "" msgstr ""
msgid "JiraService|Warning: All GitLab users that have access to this GitLab project will be able to view all issues from the Jira project specified below." msgid "JiraService|Warning: All GitLab users that have access to this GitLab project are able to view all issues from the Jira project specified below."
msgstr "" msgstr ""
msgid "JiraService|Web URL" msgid "JiraService|Web URL"
...@@ -17807,9 +17813,6 @@ msgstr "" ...@@ -17807,9 +17813,6 @@ msgstr ""
msgid "JiraService|Work on Jira issues without leaving GitLab. Adds a Jira menu to access your list of Jira issues and view any issue as read-only." msgid "JiraService|Work on Jira issues without leaving GitLab. Adds a Jira menu to access your list of Jira issues and view any issue as read-only."
msgstr "" msgstr ""
msgid "JiraService|e.g. AB"
msgstr ""
msgid "JiraService|transition ids can have only numbers which can be split with , or ;" msgid "JiraService|transition ids can have only numbers which can be split with , or ;"
msgstr "" msgstr ""
......
...@@ -23,10 +23,10 @@ RSpec.describe ServiceFieldEntity do ...@@ -23,10 +23,10 @@ RSpec.describe ServiceFieldEntity do
type: 'text', type: 'text',
name: 'username', name: 'username',
title: 'Username or Email', title: 'Username or Email',
placeholder: 'Use a username for server version and an email for cloud version', placeholder: nil,
help: 'Use a username for server version and an email for cloud version.',
required: true, required: true,
choices: nil, choices: nil,
help: nil,
value: 'jira_username' value: 'jira_username'
} }
...@@ -42,10 +42,10 @@ RSpec.describe ServiceFieldEntity do ...@@ -42,10 +42,10 @@ RSpec.describe ServiceFieldEntity do
type: 'password', type: 'password',
name: 'password', name: 'password',
title: 'Enter new password or API token', title: 'Enter new password or API token',
placeholder: 'Use a password for server version and an API token for cloud version', placeholder: nil,
help: 'Leave blank to use your current password or API token.',
required: true, required: true,
choices: nil, choices: nil,
help: 'Leave blank to use your current password or API token',
value: 'true' value: 'true'
} }
......
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