Commit a67ca735 authored by Russell Dickenson's avatar Russell Dickenson Committed by Heinrich Lee Yu

Update Bugzilla integration UI text

parent 34fe7658
# frozen_string_literal: true # frozen_string_literal: true
class BugzillaService < IssueTrackerService class BugzillaService < IssueTrackerService
include ActionView::Helpers::UrlHelper
validates :project_url, :issues_url, :new_issue_url, presence: true, public_url: true, if: :activated? validates :project_url, :issues_url, :new_issue_url, presence: true, public_url: true, if: :activated?
def title def title
...@@ -8,7 +10,12 @@ class BugzillaService < IssueTrackerService ...@@ -8,7 +10,12 @@ class BugzillaService < IssueTrackerService
end end
def description def description
s_('IssueTracker|Bugzilla issue tracker') s_("IssueTracker|Use Bugzilla 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/bugzilla'), target: '_blank', rel: 'noopener noreferrer'
s_("IssueTracker|Use Bugzilla as this project's issue tracker. %{docs_link}").html_safe % { docs_link: docs_link.html_safe }
end end
def self.to_param def self.to_param
......
---
title: Update Bugzilla integration UI text
merge_request: 60080
author:
type: other
...@@ -17962,10 +17962,13 @@ msgstr "" ...@@ -17962,10 +17962,13 @@ msgstr ""
msgid "IssueBoards|Switch board" msgid "IssueBoards|Switch board"
msgstr "" msgstr ""
msgid "IssueTracker|Bugzilla issue tracker" msgid "IssueTracker|Custom issue tracker"
msgstr "" msgstr ""
msgid "IssueTracker|Custom issue tracker" msgid "IssueTracker|Use Bugzilla as this project's issue tracker."
msgstr ""
msgid "IssueTracker|Use Bugzilla as this project's issue tracker. %{docs_link}"
msgstr "" msgstr ""
msgid "IssueTracker|Use IBM Engineering Workflow Management as this project's issue tracker." msgid "IssueTracker|Use IBM Engineering Workflow Management as this project's issue tracker."
......
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