From 204fa576ec9277da886e664d93245cf2d65f1cf7 Mon Sep 17 00:00:00 2001
From: "wurblzap%gmail.com" <>
Date: Tue, 12 Feb 2008 05:20:20 +0000
Subject: [PATCH] =?utf8?q?Bug=20341508=20=C3=A2=C2=80=C2=93=20GetBugLink()?=
=?utf8?q?=20should=20be=20localisable.=20Patch=20by=20Marc=20Schumann=20=
=?utf8?q?wurblzap@gmail.com>;=20r=3DLpSolit,=20a=3DLpSolit?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
---
Bugzilla/Template.pm | 4 ++--
template/en/default/global/messages.html.tmpl | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 8c3c014fc3..9df831c7a8 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 = "";
$post = "";
}
elsif (!is_open_state($bug_state)) {
$pre = '';
- $title .= " $bug_res";
+ $title .= ' ' . get_text('get_resolution', {resolution => $bug_res});
$post = '';
}
if (Bugzilla->user->can_see_bug($bug_num)) {
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index dfa4f78f46..be0d851e68 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -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 [% group.name FILTER html %] has been created.
--
2.47.2