From: lpsolit%gmail.com <> Date: Wed, 25 Feb 2009 19:24:46 +0000 (+0000) Subject: Bug 479164: "Bug" appears raw in "File a Bug" on index.cgi - Patch by Frédéric... X-Git-Tag: bugzilla-3.3.4~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba04de6f7d1ad111b61e492f5af9c0fd6145d08d;p=thirdparty%2Fbugzilla.git Bug 479164: "Bug" appears raw in "File a Bug" on index.cgi - Patch by Frédéric Buclin r=ghendricks a=LpSolit --- diff --git a/t/009bugwords.t b/t/009bugwords.t index 8abbe16061..242ac478dc 100644 --- a/t/009bugwords.t +++ b/t/009bugwords.t @@ -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]); diff --git a/template/en/default/global/variables.none.tmpl b/template/en/default/global/variables.none.tmpl index 4fa60894a7..dd7281e685 100644 --- a/template/en/default/global/variables.none.tmpl +++ b/template/en/default/global/variables.none.tmpl @@ -32,6 +32,7 @@ "Bug" => "Bug", "abug" => "a bug", "Abug" => "A bug", + "aBug" => "a Bug", "ABug" => "A Bug", "bugs" => "bugs", "Bugs" => "Bugs", diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 2039318a77..339975d67b 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -130,7 +130,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);

Welcome to [% terms.Bugzilla %]

- File a Bug + File [% terms.aBug %]
diff --git a/template/en/default/pages/release-notes.html.tmpl b/template/en/default/pages/release-notes.html.tmpl index 186e56085b..181ac82a14 100644 --- a/template/en/default/pages/release-notes.html.tmpl +++ b/template/en/default/pages/release-notes.html.tmpl @@ -1467,8 +1467,7 @@ mailing list if you write a plugin.

If you need more hooks, please - File a - bug!

+ File a bug!

API Documentation