summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-06-01 09:41:02 +0200
committerlpsolit%gmail.com <>2005-06-01 09:41:02 +0200
commit334aebead60d1006d4591ac31eeca84d82e60e9b (patch)
tree54e76a975a76af36dbfacbfc3106bab712a17479
parentfe1b275f2c39d9145b0bdbac76b4dfc1862840c5 (diff)
downloadbugzilla-334aebead60d1006d4591ac31eeca84d82e60e9b.tar.gz
bugzilla-334aebead60d1006d4591ac31eeca84d82e60e9b.tar.xz
Bug 293767: The search page does not use localised terms for statuses and resolutions - Patch by Emmanuel Seyman <eseyman@linagora.com> r=myk a=myk
-rw-r--r--template/en/default/global/field-descs.none.tmpl3
-rw-r--r--template/en/default/search/form.html.tmpl8
2 files changed, 9 insertions, 2 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index f95719e06..2ff546436 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -84,5 +84,6 @@
"REMIND" => "REMIND",
"DUPLICATE" => "DUPLICATE",
"WORKSFORME" => "WORKSFORME",
- "MOVED" => "MOVED" } %]
+ "MOVED" => "MOVED",
+ "---" => "---" } %]
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index 963d474d9..cc33c4f96 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -595,7 +595,13 @@ function doOnSelectProduct(selectmode) {
[% FOREACH name = ${sel.name} %]
<option value="[% name FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, name) != -1 %]>
- [% name FILTER html %]</option>
+ [% IF sel.name == "bug_status" %]
+ [% status_descs.${name} FILTER html %]</option>
+ [% ELSIF sel.name == "resolution" %]
+ [% resolution_descs.${name} FILTER html %]</option>
+ [% ELSE %]
+ [% name FILTER html %]</option>
+ [% END %]
[% END %]
</select>
</label>