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) {
my $lineno = scalar(@lineno) + 1;
# "a bug", "bug", "bugs"
if (grep /(a?[\s>]bugs?[\s.:;,])/i, $text) {
if (grep /(a?[\s>]bugs?[\s.:;,<])/i, $text) {
# Exclude variable assignment.
unless (grep /bugs =/, $text) {
push(@errors, [$lineno, $text]);
......
......@@ -32,6 +32,7 @@
"Bug" => "Bug",
"abug" => "a bug",
"Abug" => "A bug",
"aBug" => "a Bug",
"ABug" => "A Bug",
"bugs" => "bugs",
"Bugs" => "Bugs",
......
......@@ -130,7 +130,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
<h1 id="welcome"> Welcome to [% terms.Bugzilla %]</h1>
<a href="enter_bug.cgi" class="bz_common_actions">
<div class="bz_common_actions" id="enter_bug">
<span>File a Bug</span>
<span>File [% terms.aBug %]</span>
</div>
</a>
......
......@@ -1467,8 +1467,7 @@
mailing list if you write a plugin.</p>
<p>If you need more hooks, please
<a href="http://www.bugzilla.org/developers/reporting_bugs.html">File a
bug</a>!</p>
<a href="http://www.bugzilla.org/developers/reporting_bugs.html">File a b<!-- -->ug</a>!</p>
<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