From ba04de6f7d1ad111b61e492f5af9c0fd6145d08d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 25 Feb 2009 19:24:46 +0000 Subject: Bug 479164: "Bug" appears raw in "File a Bug" on index.cgi - Patch by Frédéric Buclin r=ghendricks a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- t/009bugwords.t | 2 +- template/en/default/global/variables.none.tmpl | 1 + template/en/default/index.html.tmpl | 2 +- template/en/default/pages/release-notes.html.tmpl | 3 +-- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/t/009bugwords.t b/t/009bugwords.t index 8abbe1606..242ac478d 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 4fa60894a..dd7281e68 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 2039318a7..339975d67 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 186e56085..181ac82a1 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

-- cgit v1.2.3-24-g4f1b