summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-01 06:18:09 +0200
committergerv%gerv.net <>2002-05-01 06:18:09 +0200
commitf4fc89da7fab59196f55e27b77d43f2a0e2ad59a (patch)
tree2df896dfdcda5dbaba01e5795087f4c9573f6cf6 /template
parent2056eb3eba783b0f1bf7fa19f47b9ee246ae0e3f (diff)
downloadbugzilla-f4fc89da7fab59196f55e27b77d43f2a0e2ad59a.tar.gz
bugzilla-f4fc89da7fab59196f55e27b77d43f2a0e2ad59a.tar.xz
Bug 140311 - query.cgi, search/seach.html.tmpl: should move some strings to template. Patch by burnus@gmx.de; 2xr=gerv.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/search/knob.html.tmpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/search/knob.html.tmpl b/template/en/default/search/knob.html.tmpl
index beda930b3..fd3abcbb0 100644
--- a/template/en/default/search/knob.html.tmpl
+++ b/template/en/default/search/knob.html.tmpl
@@ -17,7 +17,16 @@
# Rights Reserved.
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
+ # Tobias Burnus <burnus@net-b.de>
#%]
+
+[%# This is not necessary for English templates, but useful for localisers. %]
+[% ordersdesc = {
+ "Reuse same sort as last time" => "Reuse same sort as last time",
+ "Bug Number" => "Bug Number",
+ "Importance" => "Importance",
+ "Assignee" => "Assignee",
+ "Last Changed" => "Last Changed" } %]
<table>
<tr>
@@ -78,7 +87,7 @@
<select name="order">
[% FOREACH order = orders %]
<option value="[% order FILTER html %]"
- [% " selected" IF default.order.0 == order %]>[% order FILTER html %]</option>
+ [% " selected" IF default.order.0 == order %]>[% ordersdesc.$order FILTER html %]</option>
[% END %]
</select>