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
a67ca735
Commit
a67ca735
authored
Apr 26, 2021
by
Russell Dickenson
Committed by
Heinrich Lee Yu
Apr 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Bugzilla integration UI text
parent
34fe7658
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
app/models/project_services/bugzilla_service.rb
app/models/project_services/bugzilla_service.rb
+8
-1
changelogs/unreleased/russell-update-bugzilla-integration-ui-text.yml
...nreleased/russell-update-bugzilla-integration-ui-text.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+5
-2
No files found.
app/models/project_services/bugzilla_service.rb
View file @
a67ca735
# 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
...
...
changelogs/unreleased/russell-update-bugzilla-integration-ui-text.yml
0 → 100644
View file @
a67ca735
---
title
:
Update Bugzilla integration UI text
merge_request
:
60080
author
:
type
:
other
locale/gitlab.pot
View file @
a67ca735
...
@@ -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."
...
...
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