summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2008-02-12 06:20:20 +0100
committerwurblzap%gmail.com <>2008-02-12 06:20:20 +0100
commit204fa576ec9277da886e664d93245cf2d65f1cf7 (patch)
treed17cce06fbd775341231a11f7e9f46fe775bacf8 /Bugzilla
parentb70ab0a462729d261a0205ef943308c2dd5afb07 (diff)
downloadbugzilla-204fa576ec9277da886e664d93245cf2d65f1cf7.tar.gz
bugzilla-204fa576ec9277da886e664d93245cf2d65f1cf7.tar.xz
Bug 341508 – GetBugLink() should be localisable.
Patch by Marc Schumann <wurblzap@gmail.com>; r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 8c3c014fc..9df831c7a 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -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)) {