Commit ba04de6f authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 479164: "Bug" appears raw in "File a Bug" on index.cgi - Patch by Fré©ric…

Bug 479164: "Bug" appears raw in "File a Bug" on index.cgi - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
parent 51c13dbe
...@@ -68,7 +68,7 @@ foreach my $file (@testitems) { ...@@ -68,7 +68,7 @@ foreach my $file (@testitems) {
my $lineno = scalar(@lineno) + 1; my $lineno = scalar(@lineno) + 1;
# "a bug", "bug", "bugs" # "a bug", "bug", "bugs"
if (grep /(a?[\s>]bugs?[\s.:;,])/i, $text) { if (grep /(a?[\s>]bugs?[\s.:;,<])/i, $text) {
# Exclude variable assignment. # Exclude variable assignment.
unless (grep /bugs =/, $text) { unless (grep /bugs =/, $text) {
push(@errors, [$lineno, $text]); push(@errors, [$lineno, $text]);
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
"Bug" => "Bug", "Bug" => "Bug",
"abug" => "a bug", "abug" => "a bug",
"Abug" => "A bug", "Abug" => "A bug",
"aBug" => "a Bug",
"ABug" => "A Bug", "ABug" => "A Bug",
"bugs" => "bugs", "bugs" => "bugs",
"Bugs" => "Bugs", "Bugs" => "Bugs",
......
...@@ -130,7 +130,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions); ...@@ -130,7 +130,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
<h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1> <h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1>
<a href="enter_bug.cgi" class="bz_common_actions"> <a href="enter_bug.cgi" class="bz_common_actions">
<div class="bz_common_actions" id="enter_bug"> <div class="bz_common_actions" id="enter_bug">
<span>File a Bug</span> <span>File [% terms.aBug %]</span>
</div> </div>
</a> </a>
......
...@@ -1467,8 +1467,7 @@ ...@@ -1467,8 +1467,7 @@
mailing list if you write a plugin.</p> mailing list if you write a plugin.</p>
<p>If you need more hooks, please <p>If you need more hooks, please
<a href="http://www.bugzilla.org/developers/reporting_bugs.html">File a <a href="http://www.bugzilla.org/developers/reporting_bugs.html">File a b<!-- -->ug</a>!</p>
bug</a>!</p>
<h3><a name="v30_code_api"></a>API Documentation</h3> <h3><a name="v30_code_api"></a>API Documentation</h3>
......
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