Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ecff4543
Commit
ecff4543
authored
Apr 23, 2021
by
Marcin Sedlak-Jakubowski
Committed by
Heinrich Lee Yu
Apr 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review and revise YouTrack integration UI text
parent
3718f4ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
+19
-4
app/models/project_services/youtrack_service.rb
app/models/project_services/youtrack_service.rb
+8
-1
changelogs/unreleased/300626-msj-youtrack.yml
changelogs/unreleased/300626-msj-youtrack.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+6
-3
No files found.
app/models/project_services/youtrack_service.rb
View file @
ecff4543
# frozen_string_literal: true
class
YoutrackService
<
IssueTrackerService
include
ActionView
::
Helpers
::
UrlHelper
validates
:project_url
,
:issues_url
,
presence:
true
,
public_url:
true
,
if: :activated?
# {PROJECT-KEY}-{NUMBER} Examples: YT-1, PRJ-1, gl-030
...
...
@@ -17,7 +19,12 @@ class YoutrackService < IssueTrackerService
end
def
description
s_
(
'IssueTracker|YouTrack issue tracker'
)
s_
(
"IssueTracker|Use YouTrack as this project's issue tracker."
)
end
def
help
docs_link
=
link_to
_
(
'Learn more.'
),
Rails
.
application
.
routes
.
url_helpers
.
help_page_url
(
'user/project/integrations/youtrack'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
s_
(
"IssueTracker|Use YouTrack as this project's issue tracker. %{docs_link}"
).
html_safe
%
{
docs_link:
docs_link
.
html_safe
}
end
def
self
.
to_param
...
...
changelogs/unreleased/300626-msj-youtrack.yml
0 → 100644
View file @
ecff4543
---
title
:
Review and revise YouTrack integration UI text
merge_request
:
59998
author
:
type
:
other
locale/gitlab.pot
View file @
ecff4543
...
...
@@ -17971,13 +17971,16 @@ msgstr ""
msgid "IssueTracker|Use Redmine as the issue tracker. %{docs_link}"
msgstr ""
msgid "IssueTracker|Use
a custom issue tracker that is not in the integration list. %{docs_link}
"
msgid "IssueTracker|Use
YouTrack as this project's issue tracker.
"
msgstr ""
msgid "IssueTracker|Use a custom issue tracker."
msgid "IssueTracker|Use YouTrack as this project's issue tracker. %{docs_link}"
msgstr ""
msgid "IssueTracker|Use a custom issue tracker that is not in the integration list. %{docs_link}"
msgstr ""
msgid "IssueTracker|
YouTrack issue tracker
"
msgid "IssueTracker|
Use a custom issue tracker.
"
msgstr ""
msgid "Issues"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment