Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
204fa576
Commit
204fa576
authored
Feb 12, 2008
by
wurblzap%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 341508 â GetBugLink() should be localisable.
Patch by Marc Schumann <wurblzap@gmail.com>; r=LpSolit, a=LpSolit
parent
b70ab0a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
Template.pm
Bugzilla/Template.pm
+2
-2
messages.html.tmpl
template/en/default/global/messages.html.tmpl
+9
-0
No files found.
Bugzilla/Template.pm
View file @
204fa576
...
...
@@ -307,14 +307,14 @@ sub get_bug_link {
# if we don't change them below (which is highly likely).
my
(
$pre
,
$title
,
$post
)
=
(
""
,
""
,
""
);
$title
=
$bug_state
;
$title
=
get_text
(
'get_status'
,
{
status
=>
$bug_state
})
;
if
(
$bug_state
eq
'UNCONFIRMED'
)
{
$pre
=
"<i>"
;
$post
=
"</i>"
;
}
elsif
(
!
is_open_state
(
$bug_state
))
{
$pre
=
'<span class="bz_closed">'
;
$title
.=
" $bug_res"
;
$title
.=
' '
.
get_text
(
'get_resolution'
,
{
resolution
=>
$bug_res
})
;
$post
=
'</span>'
;
}
if
(
Bugzilla
->
user
->
can_see_bug
(
$bug_num
))
{
...
...
template/en/default/global/messages.html.tmpl
View file @
204fa576
...
...
@@ -336,6 +336,15 @@
An error occured while validating flags:
[%+ flag_creation_error FILTER none %]
[% ELSIF message_tag == "get_field_desc" %]
[% field_descs.$field_name FILTER html %]
[% ELSIF message_tag == "get_resolution" %]
[% get_resolution(resolution) FILTER html %]
[% ELSIF message_tag == "get_status" %]
[% get_status(status) FILTER html %]
[% ELSIF message_tag == "group_created" %]
[% title = "New Group Created" %]
The group <em>[% group.name FILTER html %]</em> has been created.
...
...
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