From 334aebead60d1006d4591ac31eeca84d82e60e9b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 1 Jun 2005 07:41:02 +0000 Subject: Bug 293767: The search page does not use localised terms for statuses and resolutions - Patch by Emmanuel Seyman r=myk a=myk --- template/en/default/global/field-descs.none.tmpl | 3 ++- template/en/default/search/form.html.tmpl | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'template/en/default') 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} %] + [% IF sel.name == "bug_status" %] + [% status_descs.${name} FILTER html %] + [% ELSIF sel.name == "resolution" %] + [% resolution_descs.${name} FILTER html %] + [% ELSE %] + [% name FILTER html %] + [% END %] [% END %] -- cgit v1.2.3-24-g4f1b