]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 451801: Make all pages use field_descs.bug_severity instead of a hard-coded
authorMatt Selsky <selsky@columbia.edu>
Tue, 9 Aug 2011 22:30:08 +0000 (15:30 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 9 Aug 2011 22:30:08 +0000 (15:30 -0700)
"Severity"
r=mkanat, a=mkanat

template/en/default/bug/create/create-guided.html.tmpl
template/en/default/list/edit-multiple.html.tmpl
template/en/default/pages/release-notes.html.tmpl
template/en/default/whine/mail.txt.tmpl

index d10314628d25876fd4b58e9f61619c2c9d33ec55..7c291d4ddd010914cac70e07f96ff758b81c6238 100644 (file)
@@ -23,7 +23,7 @@
   # This template has the same interface as create.html.tmpl
   #%]
 
-[% PROCESS global/variables.none.tmpl %]
+[% PROCESS global/field-descs.none.tmpl %]
 
 [% USE Bugzilla %]
 [% cgi = Bugzilla.cgi %]
@@ -440,7 +440,7 @@ function PutDescription() {
 
   <tr>
     <td valign="top" align="right">
-      <b>Severity</b>
+      <b>[% field_descs.bug_severity FILTER html %]</b>
     </td>
     <td valign="top">
       <select name="bug_severity">
index 92e578e8f77c0512c06752e095b6a449d3c85085..fb37631b24d3b8c69c88cc2efed67a7a39300a10 100644 (file)
@@ -22,7 +22,7 @@
   #                 Reed Loden <reed@reedloden.com>
   #%]
 
-[% PROCESS global/variables.none.tmpl %]
+[% PROCESS global/field-descs.none.tmpl %]
 
 [% dontchange = "--do_not_change--" %]
 <input type="hidden" name="dontchange" value="[% dontchange FILTER html %]">
 
     <th>
       <label for="bug_severity">
-        <a href="page.cgi?id=fields.html#bug_severity">Severity</a>:
+        <a href="page.cgi?id=fields.html#bug_severity">[% field_descs.bug_severity
+          FILTER html %]</a>:
       </label>
     </th>
     <td>
index a094b5cc22494e75e964a0ad6f4a6e8d102a884e..ee3fed0ade5d8e0b9cea7d4725fc03a19afe0f98 100644 (file)
   <li><b>+</b> as a prefix to mean "search additional resolutions", and
     <b>+</b> as a prefix to mean "search just the summary". You can
     instead use <kbd>summary:</kbd> to explicitly search summaries.</li>
-  <li>Searching the Severity field if you type something that matches
-    the first few characters of a severity. You can explicitly search
-    the Severity field if you want to find [% terms.bugs %] by severity.</li>
+  <li>Searching the [% field_descs.bug_severity FILTER html %] field if you
+    type something that matches the first few characters of a [% 
+    field_descs.bug_severity FILTER html %]. You can explicitly
+    search the [% field_descs.bug_severity FILTER html %] field if you want to
+    find [% terms.bugs %] by [% field_descs.bug_severity FILTER
+    html %].</li>
   <li>Searching the Priority field if you typed something that exactly
     matched the name of a priority. You can explicitly search the
     Priority field if you want to find [% terms.bugs %] by priority.</li>
index 13216d895e8ccb96184128304e956d2090b52ac0..eb6631fa5c51005c313d477353785ca779b8f32a 100644 (file)
@@ -28,8 +28,7 @@
   # recipient: user object for the intended recipient of the message
   #%]
 
-[% PROCESS global/variables.none.tmpl %]
-[% PROCESS 'global/field-descs.none.tmpl' %]
+[% PROCESS global/field-descs.none.tmpl %]
 
 [% body %]
 
@@ -50,7 +49,7 @@
   [% terms.Bug +%] [%+ bug.bug_id %]:
   [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
   Priority: [%+ display_value("priority", bug.priority) -%]
-  Severity: [%+ display_value("bug_severity", bug.bug_severity) -%]
+  [% field_descs.bug_severity %]: [%+ display_value("bug_severity", bug.bug_severity) -%]
   Platform: [%+ display_value("rep_platform", bug.rep_platform) %]
   Assignee: [%+ bug.assigned_to %]
     Status: [%+ display_value("bug_status", bug.bug_status) %]