Commit 27b8613f authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '300626-msj-youtrack' into 'master'

Review and revise YouTrack integration UI text

See merge request gitlab-org/gitlab!59998
parents 2b9d07b8 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
......
---
title: Review and revise YouTrack integration UI text
merge_request: 59998
author:
type: other
......@@ -17974,13 +17974,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"
......
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