diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-04-10 20:38:05 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-04-10 20:38:05 +0200 |
commit | d1559509efb909ca2ab98f6c675d97b842e5e8d3 (patch) | |
tree | fc43583f6e2010c9a7a18a2e03bd3d3e455c16c3 /template/en/default/global | |
parent | eec1169f0db5257c50ebbe7a51dab9846173b3bc (diff) | |
parent | 6de7db5b4dab5309ca1683d58ce444cc6e6bdf88 (diff) | |
download | bugzilla-d1559509efb909ca2ab98f6c675d97b842e5e8d3.tar.gz bugzilla-d1559509efb909ca2ab98f6c675d97b842e5e8d3.tar.xz |
merged with bmo/4.2
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 6d95850dd..b53840d36 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1484,6 +1484,27 @@ The name of the query must be less than [% constants.MAX_LEN_QUERY_NAME FILTER html %] characters long. + [% ELSIF error == "quicksearch_invalid_query" %] + [% title = "Invalid Query" %] + Your query is invalid. + [% IF operators %] + The [% operators.shift FILTER html %] operator cannot be followed by + [%+ operators.shift FILTER html %]. + [% ELSE %] + A query cannot start with AND or OR, nor can it end with AND, OR or NOT. + They are reserved operators and must be quoted if you want to look for + these strings. + [% END %] + + [% ELSIF error == "quicksearch_unbalanced_quotes" %] + [% title = "Badly Formatted Query" %] + [% terms.Bugzilla %] is unable to parse your query correctly: + <em>[% string FILTER html %]</em>.<br> + If you use quotes to enclose strings, make sure both quotes are present. + If you really want to look for a quote in a string, type \" instead of ". + For instance, <em>"I'm so \"special\", really"</em> (with quotes) will be + interpreted as <em>I'm so "special", really</em>. + [% ELSIF error == "quicksearch_unknown_field" %] [% title = "QuickSearch Error" %] There is a problem with your search: |