RSS

(root)/bugzilla/4.2 : 8060 : template/en/default/global/user-error.html.tmpl

To get this branch, use:
bzr branch /bugzilla/4.2

« back to all changes in this revision

Viewing changes to template/en/default/global/user-error.html.tmpl

Frédéric Buclin
2012-03-29 10:56:41
Revision ID: lpsolit@gmail.com-20120329175641-u3ah0nr0io2psvi0
Bug 554819: Quicksearch should be using Text::ParseWords instead of custom code in splitString
Also fixes QS with accented characters (bug 730207)
r=dkl a=LpSolit

Show diffs side-by-side

added added

removed removed

1448
1448
    The name of the query must be less than [% constants.MAX_LEN_QUERY_NAME FILTER html %]
1449
1449
    characters long.
1450
1450
 
 
1451
  [% ELSIF error == "quicksearch_invalid_query" %]
 
1452
    [% title = "Invalid Query" %]
 
1453
    Your query is invalid.
 
1454
    [% IF operators %]
 
1455
      The [% operators.shift FILTER html %] operator cannot be followed by
 
1456
      [%+ operators.shift FILTER html %].
 
1457
    [% ELSE %]
 
1458
      A query cannot start with AND or OR, nor can it end with AND, OR or NOT.
 
1459
      They are reserved operators and must be quoted if you want to look for
 
1460
      these strings.
 
1461
    [% END %]
 
1462
 
 
1463
  [% ELSIF error == "quicksearch_unbalanced_quotes" %]
 
1464
    [% title = "Badly Formatted Query" %]
 
1465
    [% terms.Bugzilla %] is unable to parse your query correctly:
 
1466
    <em>[% string FILTER html %]</em>.<br>
 
1467
    If you use quotes to enclose strings, make sure both quotes are present.
 
1468
    If you really want to look for a quote in a string, type \" instead of ".
 
1469
    For instance, <em>"I'm so \"special\", really"</em> (with quotes) will be
 
1470
    interpreted as <em>I'm so "special", really</em>.
 
1471
 
1451
1472
  [% ELSIF error == "quicksearch_unknown_field" %]
1452
1473
    [% title = "QuickSearch Error" %]
1453
1474
    There is a problem with your search:

Loggerhead 1.18.1 is a web-based interface for Bazaar branches