]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 341508 รข\80\93 GetBugLink() should be localisable.
authorwurblzap%gmail.com <>
Tue, 12 Feb 2008 05:20:20 +0000 (05:20 +0000)
committerwurblzap%gmail.com <>
Tue, 12 Feb 2008 05:20:20 +0000 (05:20 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>;
r=LpSolit, a=LpSolit

Bugzilla/Template.pm
template/en/default/global/messages.html.tmpl

index 8c3c014fc385f7c8d1845e9d47d536b59901b018..9df831c7a8e3e99f01c9f7410a59d89d42a00b4f 100644 (file)
@@ -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)) {
index dfa4f78f46207040346ac98bf728934c0cc031bb..be0d851e684bb7f3de2ea9a62ec8d6abbcbbae3f 100644 (file)
     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.