From b147a7b9d832f38d2a40bfdab32684502f0820f9 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" Date: Fri, 25 Feb 2005 17:57:16 +0000 Subject: [PATCH] Bug 182939 : Remove the word 'Additional' from 'Additional Comments' Patch by Shane H. W. Travis r=myk a=myk --- webtools/bugzilla/globals.pl | 6 +++--- .../bugzilla/template/en/default/bug/comments.html.tmpl | 2 +- .../template/en/default/bug/process/midair.html.tmpl | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/webtools/bugzilla/globals.pl b/webtools/bugzilla/globals.pl index 1bfbe230695..9ec915792d7 100644 --- a/webtools/bugzilla/globals.pl +++ b/webtools/bugzilla/globals.pl @@ -967,8 +967,8 @@ sub GetLongDescriptionAsText { "AND longdescs.bug_id = $id "); if ($start && $start =~ /[1-9]/) { - # If the start is all zeros, then don't do this (because we want to - # not emit a leading "Additional Comments" line in that case.) + # If $start is not all zeros, obtain the count-index + # of this comment for the leading "Comment #xxx" line.) $query .= "AND longdescs.bug_when > '$start'"; SendSQL("SELECT count(*) FROM longdescs WHERE bug_id = $id AND bug_when <= '$start'"); ($count) = (FetchSQLData()); @@ -983,7 +983,7 @@ sub GetLongDescriptionAsText { my ($who, $when, $text, $isprivate, $work_time, $already_wrapped) = (FetchSQLData()); if ($count) { - $result .= "\n\n------- Additional comment #$count from $who".Param('emailsuffix')." ". + $result .= "\n\n------- Comment #$count from $who".Param('emailsuffix')." ". Bugzilla::Util::format_time($when) . " -------\n"; } if (($isprivate > 0) && Param("insidergroup")) { diff --git a/webtools/bugzilla/template/en/default/bug/comments.html.tmpl b/webtools/bugzilla/template/en/default/bug/comments.html.tmpl index 008da01a09a..7a9dfb4efe7 100644 --- a/webtools/bugzilla/template/en/default/bug/comments.html.tmpl +++ b/webtools/bugzilla/template/en/default/bug/comments.html.tmpl @@ -49,7 +49,7 @@ [% IF count > 0 %]
- ------- Additional Comment + ------- Comment #[% count %] From [% comment.name FILTER html %] diff --git a/webtools/bugzilla/template/en/default/bug/process/midair.html.tmpl b/webtools/bugzilla/template/en/default/bug/process/midair.html.tmpl index eaad633c2be..491e5b26933 100644 --- a/webtools/bugzilla/template/en/default/bug/process/midair.html.tmpl +++ b/webtools/bugzilla/template/en/default/bug/process/midair.html.tmpl @@ -53,7 +53,7 @@ [% IF comments.size > start_at %]

- Added comments: + Added the comment(s):

[% PROCESS "bug/comments.html.tmpl" %]
@@ -61,7 +61,7 @@ [% END %]

- Your additional comment was:
+ Your comment was:

[% form.comment FILTER html %]