summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-05-07 22:26:14 +0200
committerlpsolit%gmail.com <>2005-05-07 22:26:14 +0200
commitab723ea0b90a8a5aae1b264246a17936d7d230b5 (patch)
treea499cc46552a821b32f5951bfde9c2fb1e90b8bd /template
parent9af44ff9bcd32fd7d2c084c7d662148ccbdd178d (diff)
downloadbugzilla-ab723ea0b90a8a5aae1b264246a17936d7d230b5.tar.gz
bugzilla-ab723ea0b90a8a5aae1b264246a17936d7d230b5.tar.xz
Bug 290972: In the "Find a Specific Bug" page, the status of the bug being searched cannot be translated - Patch by Emmanuel Seyman <eseyman@linagora.com> r=myk a=myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/filterexceptions.pl2
-rw-r--r--template/en/default/search/search-specific.html.tmpl11
2 files changed, 8 insertions, 5 deletions
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index c669b2e15..39de4fcac 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -87,7 +87,7 @@
],
'search/search-specific.html.tmpl' => [
- 's',
+ 'status.name',
],
'search/tabs.html.tmpl' => [
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index 8b351bc36..8edda69ee 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -59,10 +59,13 @@ for "crash secure SSL flash".
</td>
<td>
<select name="bug_status" id="bug_status">
- [% FOREACH s = ['open', 'closed', 'all'] %]
- <option value="__[% s %]__"
- [% " selected" IF default.bug_status.0 == "__${s}__" %]>
- [% s %]
+ [% statuses = [ { name = 'open', label = "Open" },
+ { name = 'closed', label = "Closed" },
+ { name = 'all', label = "All" } ] %]
+ [% FOREACH status = statuses %]
+ <option value="__[% status.name %]__"
+ [% " selected" IF default.bug_status.0 == "__${status.name}__" %]>
+ [% status.label FILTER html %]
</option>
[% END %]
</select>