Commit b6a02786 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 234293 - complete the conversion from "query" terminology to "search"…

Bug 234293 - complete the conversion from "query" terminology to "search" terminology. Patch by gerv; r=justdave, kiko, a=justdave.
parent 2478a13d
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
[%# INTERFACE: [%# INTERFACE:
# mybugslink: boolean. True if the user wishes the My Bugs link to appear. # mybugslink: boolean. True if the user wishes the My Bugs link to appear.
# queries: array of hashes. May be empty. Each hash has two members: # queries: array of hashes. May be empty. Each hash has two members:
# name: string. The name of the query. # name: string. The name of the search.
# footer: boolean. True if the query appears in the footer. # footer: boolean. True if the search appears in the footer.
#%] #%]
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
...@@ -45,10 +45,10 @@ ...@@ -45,10 +45,10 @@
[% IF queries.size %] [% IF queries.size %]
[% FOREACH query = queries %] [% FOREACH query = queries %]
<tr> <tr>
<th align="right">Your query named '[% query.name FILTER html %]':</th> <th align="right">Your search named '[% query.name FILTER html %]':</th>
<td> <td>
<select name="query-[% loop.index %]"> <select name="query-[% loop.index %]">
<option value="0">should only appear in the query page</option> <option value="0">should only appear in the search page</option>
<option value="1" <option value="1"
[% " selected" IF query.footer %]> [% " selected" IF query.footer %]>
should appear on the footer of every page should appear on the footer of every page
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<td colspan="4"> <td colspan="4">
<br> <br>
If you create remembered queries using the If you create remembered queries using the
<a href="query.cgi">query page</a>, <a href="query.cgi">search page</a>,
you can then come to this page and choose to have some of them you can then come to this page and choose to have some of them
appear in the footer of each [% terms.Bugzilla %] page. appear in the footer of each [% terms.Bugzilla %] page.
<br> <br>
......
...@@ -56,5 +56,5 @@ ...@@ -56,5 +56,5 @@
&nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=1">Show list</a> &nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=1">Show list</a>
[% END %] [% END %]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Query page</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new [% terms.bug %]</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new [% terms.bug %]</a>
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
</form> </form>
<hr> <hr>
<a href="query.cgi">Cancel and Return to the Query Page</a> <a href="query.cgi">Cancel and Return to the Search Page</a>
[% PROCESS global/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]
...@@ -29,29 +29,29 @@ ...@@ -29,29 +29,29 @@
[% message = BLOCK %] [% message = BLOCK %]
[% IF message_tag == "buglist_adding_field" %] [% IF message_tag == "buglist_adding_field" %]
[% title = "Adding field to query page..." %] [% title = "Adding field to search page..." %]
[% link = "Click here if the page does not redisplay automatically." %] [% link = "Click here if the page does not redisplay automatically." %]
[% ELSIF message_tag == "buglist_load_named_query" %] [% ELSIF message_tag == "buglist_load_named_query" %]
[% title = BLOCK %] [% title = BLOCK %]
Loading your query named [% namedcmd FILTER html %] Loading your search named [% namedcmd FILTER html %]
[% END %] [% END %]
[% link = "Click here if the page does not redisplay automatically." %] [% link = "Click here if the page does not redisplay automatically." %]
[% ELSIF message_tag == "buglist_updated_named_query" %] [% ELSIF message_tag == "buglist_updated_named_query" %]
OK, your query named <code>[% queryname FILTER html %]</code> is updated. OK, your search named <code>[% queryname FILTER html %]</code> is updated.
[% ELSIF message_tag == "buglist_new_default_query" %] [% ELSIF message_tag == "buglist_new_default_query" %]
OK, you now have a new default query. You may OK, you now have a new default search. You may
also bookmark the result of any individual query. also bookmark the result of any individual search.
[% ELSIF message_tag == "buglist_new_named_query" %] [% ELSIF message_tag == "buglist_new_named_query" %]
OK, you have a new query named <code>[% queryname FILTER html %]</code>. OK, you have a new search named <code>[% queryname FILTER html %]</code>.
[% ELSIF message_tag == "buglist_query_gone" %] [% ELSIF message_tag == "buglist_query_gone" %]
[% title = "Query is gone" %] [% title = "Search is gone" %]
[% link = "Go back to the query page." %] [% link = "Go back to the search page." %]
OK, the <b>[% namedcmd FILTER html %]</b> query is gone. OK, the <b>[% namedcmd FILTER html %]</b> search is gone.
[% ELSIF message_tag == "buglist_sorted_by_relevance" %] [% ELSIF message_tag == "buglist_sorted_by_relevance" %]
[% terms.Bugs %] on this list are sorted by relevance, with the most [% terms.Bugs %] on this list are sorted by relevance, with the most
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
[% ELSIF message_tag == "change_columns" %] [% ELSIF message_tag == "change_columns" %]
[% title = "Change columns" %] [% title = "Change columns" %]
Resubmitting your query with new columns... Resubmitting your search with new columns...
Click <a href="[% redirect_url FILTER html %]">here</a> Click <a href="[% redirect_url FILTER html %]">here</a>
if the page does not automatically refresh. if the page does not automatically refresh.
......
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
It cannot be <em>[% sortkey FILTER html %]</em>. It cannot be <em>[% sortkey FILTER html %]</em>.
[% ELSIF error == "illegal_at_least_x_votes" %] [% ELSIF error == "illegal_at_least_x_votes" %]
[% title = "Your Query Makes No Sense" %] [% title = "Your Search Makes No Sense" %]
The <em>At least ___ votes</em> field must be a simple number. The <em>At least ___ votes</em> field must be a simple number.
You entered <tt>[% value FILTER html %]</tt>, which isn't. You entered <tt>[% value FILTER html %]</tt>, which isn't.
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
[%+ bug_id FILTER html %]. [%+ bug_id FILTER html %].
[% ELSIF error == "illegal_attachment_is_patch" %] [% ELSIF error == "illegal_attachment_is_patch" %]
[% title = "Your Query Makes No Sense" %] [% title = "Your Search Makes No Sense" %]
The only legal values for the <em>Attachment is patch</em> field are The only legal values for the <em>Attachment is patch</em> field are
0 and 1. 0 and 1.
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
sufficiently empowered user, may change that field. sufficiently empowered user, may change that field.
[% ELSIF error == "illegal_changed_in_last_x_days" %] [% ELSIF error == "illegal_changed_in_last_x_days" %]
[% title = "Your Query Makes No Sense" %] [% title = "Your Search Makes No Sense" %]
The <em>Changed in last ___ days</em> field must be a simple number. The <em>Changed in last ___ days</em> field must be a simple number.
You entered <tt>[% value FILTER html %]</tt>, which isn't. You entered <tt>[% value FILTER html %]</tt>, which isn't.
...@@ -293,13 +293,13 @@ ...@@ -293,13 +293,13 @@
[% groupname FILTER html %]&quot; is illegal. [% groupname FILTER html %]&quot; is illegal.
[% ELSIF error == "illegal_is_obsolete" %] [% ELSIF error == "illegal_is_obsolete" %]
[% title = "Your Query Makes No Sense" %] [% title = "Your Search Makes No Sense" %]
The only legal values for the <em>Attachment is obsolete</em> field are The only legal values for the <em>Attachment is obsolete</em> field are
0 and 1. 0 and 1.
[% ELSIF error == "illegal_query_name" %] [% ELSIF error == "illegal_query_name" %]
[% title = "Illegal Query Name" %] [% title = "Illegal Search Name" %]
The name of your query cannot contain any of the following characters: The name of your search cannot contain any of the following characters:
&lt;, &gt;, &amp;. &lt;, &gt;, &amp;.
[% ELSIF error == "illegal_series_creation" %] [% ELSIF error == "illegal_series_creation" %]
...@@ -458,7 +458,7 @@ ...@@ -458,7 +458,7 @@
You must specify one or more datasets to plot. You must specify one or more datasets to plot.
[% ELSIF error == "missing_email_type" %] [% ELSIF error == "missing_email_type" %]
[% title = "Your Query Makes No Sense" %] [% title = "Your Search Makes No Sense" %]
You must specify one or more fields in which to search for You must specify one or more fields in which to search for
<tt>[% email FILTER html %]</tt>. <tt>[% email FILTER html %]</tt>.
...@@ -471,8 +471,8 @@ ...@@ -471,8 +471,8 @@
You did not specify a name for this series. You did not specify a name for this series.
[% ELSIF error == "missing_query" %] [% ELSIF error == "missing_query" %]
[% title = "Missing Query" %] [% title = "Missing Search" %]
The query named <em>[% queryname FILTER html %]</em> does not The search named <em>[% queryname FILTER html %]</em> does not
exist. exist.
[% ELSIF error == "must_be_patch" %] [% ELSIF error == "must_be_patch" %]
...@@ -612,8 +612,8 @@ ...@@ -612,8 +612,8 @@
[% product FILTER html %]. [% product FILTER html %].
[% ELSIF error == "query_name_missing" %] [% ELSIF error == "query_name_missing" %]
[% title = "No Query Name Specified" %] [% title = "No Search Name Specified" %]
You must enter a name for your query. You must enter a name for your search.
[% ELSIF error == "quips_disabled" %] [% ELSIF error == "quips_disabled" %]
[% title = "Quips Disabled" %] [% title = "Quips Disabled" %]
......
...@@ -60,7 +60,7 @@ function addSidebar() { ...@@ -60,7 +60,7 @@ function addSidebar() {
But it all boils down to a choice of: But it all boils down to a choice of:
<p> <p>
<a href="query.cgi">Query existing [% terms.bug %] reports</a><br> <a href="query.cgi">Search existing [% terms.bug %] reports</a><br>
<a href="enter_bug.cgi">Enter a new [% terms.bug %] report</a><br> <a href="enter_bug.cgi">Enter a new [% terms.bug %] report</a><br>
<a href="report.cgi">Summary reports and charts</a><br> <a href="report.cgi">Summary reports and charts</a><br>
</p><p> </p><p>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#%] #%]
[%# INTERFACE: [%# INTERFACE:
# debug: boolean. True if we want the query displayed while we wait. # debug: boolean. True if we want the search displayed while we wait.
# query: string. The SQL query which makes the buglist. # query: string. The SQL query which makes the buglist.
#%] #%]
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<html> <html>
<head> <head>
<title>[% terms.Bugzilla %] is pondering your query</title> <title>[% terms.Bugzilla %] is pondering your search</title>
</head> </head>
<body> <body>
<h1 style="margin-top: 20%; text-align: center;">Please stand by ...</h1> <h1 style="margin-top: 20%; text-align: center;">Please stand by ...</h1>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<p> <p>
<strong> <strong>
<a name="chart" href="queryhelp.cgi#advancedquerying"> <a name="chart" href="queryhelp.cgi#advancedquerying">
Advanced Querying Using Boolean Charts</a>: Advanced Searching Using Boolean Charts</a>:
</strong> </strong>
</p> </p>
......
...@@ -60,6 +60,6 @@ ...@@ -60,6 +60,6 @@
[% IF userdefaultquery %] [% IF userdefaultquery %]
<p> <p>
<a href="query.cgi?nukedefaultquery=1"> <a href="query.cgi?nukedefaultquery=1">
Set my default query back to the system default</a>. Set my default search back to the system default</a>.
</p> </p>
[% END %] [% END %]
...@@ -64,13 +64,13 @@ function normal_keypress_handler( aEvent ) { ...@@ -64,13 +64,13 @@ function normal_keypress_handler( aEvent ) {
]]></script> ]]></script>
<textbox id="query-field" class="descriptive-content" value="enter query" onfocus="this.setSelectionRange(0,this.value.length)"/> <textbox id="query-field" class="descriptive-content" value="enter search" onfocus="this.setSelectionRange(0,this.value.length)"/>
<separator class="groove"/> <separator class="groove"/>
<box autostretch="never" valign="top"> <box autostretch="never" valign="top">
<box orient="vertical" flex="1"> <box orient="vertical" flex="1">
<text class="text-link" onclick="load_relative_url('query.cgi')" value="new query"/> <text class="text-link" onclick="load_relative_url('query.cgi')" value="new search"/>
<text class="text-link" onclick="load_relative_url('report.cgi')" value="reports"/> <text class="text-link" onclick="load_relative_url('report.cgi')" value="reports"/>
<text class="text-link" onclick="load_relative_url('enter_bug.cgi')" value="new [% terms.bug %]"/> <text class="text-link" onclick="load_relative_url('enter_bug.cgi')" value="new [% terms.bug %]"/>
<separator class="thin"/> <separator class="thin"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment