Closed Bug 69418 Opened 24 years ago Closed 24 years ago

Search: Single match displays text "1 matches found"

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: laurel, Assigned: bugzilla)

Details

Attachments

(6 files)

Using feb19 commercial trunk build

The display text for a single search result is "1 matches found".  The text
should be singular "1 match found".
QA Contact: esther → laurel
Thank you Stephend. The patch looks great, except that the indentation for 
gStatusFeedback.showProgress(100) is changed in the patch. With that corrected, 
r=gayatrib
Status: NEW → ASSIGNED
If you look a bit closer it looks like you're indenting using hard tabs where
the rest of the code uses 8 spaces. Please fix that :-) (Read the patch in
netscape/mozilla to see what I mean)

With that, r=jag (and r=gayatrib I guess).
D'oh! I got distracted. I think it would be better to not do string building
like this in JS, but rather change the properties to read:
%S matches found
1 match found
and then use FormatStringFromName for the != 1 case.
Bah, silly cut and paste error on that last comment.  Gayatrib, you had better
take this one out from here ;-)  Sorry I couldn't do more, guys ;(
Actually, r=jag on the patch as is, but let's open a new bug on fixing the
i18n/l10n problem here.
Seth, could you plant the wonderful two letters I like to see from you so much?
Thanks.
I should have looked, I should have looked ...
gayatrib / jag, will you test / review out blake's patch?

it looks correct.  once we get a r=, I'll do the super review.
-            statusMsg = gNumOfSearchHits+"
"+Bundle.GetStringFromName("searchSuccessMessage");
+            statusMsg = FormatStringFromName("searchSuccessMessages",
[gNumOfSearchHits], 1);

That's missing |Bundle.|
I like this :-)

Of course, mao will kill you for merge hell ;-)

r=jag
Seth, sr?
Assignee: gayatrib → blakeross
Status: ASSIGNED → NEW
gayatrib is the module owner for the search FE.

gayatrib, will you review this?
I had reviewed this before and had problem with bugzilla when i tried to commit 
my review. Sorry about the delay...
r=gayatrib
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Checked in.
OK using feb26 commercial trunk builds: linux rh6.0, mac OS 9.0, win98
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: laurel → search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: