Closed
Bug 418524
Opened 16 years ago
Closed 14 years ago
label of "Download activity summary in the status bar" with one download should be "1" not "One"
Categories
(Toolkit :: Downloads API, enhancement)
Toolkit
Downloads API
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a3
People
(Reporter: NicolasWeb, Assigned: om.brahmana)
References
Details
Attachments
(2 files, 4 obsolete files)
8.77 KB,
image/png
|
Details | |
2.49 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; fr; rv:1.9b3) Gecko/2008020511 Firefox/3.0b3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; fr; rv:1.9b3) Gecko/2008020511 Firefox/3.0b3 Using "1" instead of "One" is easier to catch by eyes. It's more logical because after it's labelled "2", "3", ... Reproducible: Always Steps to Reproduce: 1.download one file 2.download 2 files 3. Actual Results: "One Download ..." "2 Downloads ..." Expected Results: "1 Download ..." "2 Downloads ..." this is liked with the bug 402278. Maybe it should be temporarly reopen.
Reporter | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
We shouldn't reopen bug 402278 just to address this, but I'll confirm it as an enhancement request. See https://bugzilla.mozilla.org/show_bug.cgi?id=402278#c19 and https://bugzilla.mozilla.org/show_bug.cgi?id=402278#c21.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Version: unspecified → Trunk
Comment 3•16 years ago
|
||
note: the code branching for this might not be worth the feature.
Comment 4•16 years ago
|
||
I agree with Nicolas. The change from "2" to "One" grabs my attention unnecessarily, and makes me reparse the sentence.
Blocks: 402278
Reporter | ||
Comment 5•16 years ago
|
||
(In reply to comment #2) > See https://bugzilla.mozilla.org/show_bug.cgi?id=402278#c19 and > https://bugzilla.mozilla.org/show_bug.cgi?id=402278#c21. OK, I've read this. From a user and practical point of view, I'm sure we should use "1" and not "One". It's easier to understand. Fx should to be well polished : I think that we aren't writing an essay. Rules are rules only if they are applied in they context. Here, Fx is counting numbers, and doing operations with them. 2 result of 1+1 download. So in that case "One" is inconsistant, because from a user point of view, you can't add to words to produce a number. If you agree, as this is a Fx3 new feature, maybe we should flag it to "blocking Fx3 ?".
Flags: blocking-firefox3?
Comment 6•16 years ago
|
||
Not blocking, but wanted. I agree with Shawn that less code branching better.
Flags: wanted-firefox3+
Flags: blocking-firefox3?
Flags: blocking-firefox3-
Updated•16 years ago
|
Product: Firefox → Toolkit
Reporter | ||
Updated•16 years ago
|
Flags: wanted1.9.1?
Assignee | ||
Comment 7•16 years ago
|
||
I changed the browser.properties file and it appears to give the desired results. Is the acceptable?
Assignee | ||
Comment 8•16 years ago
|
||
Talked to sdwilsh and just the string change is sufficient. The second attached shows screen shots of this string change serving the purpose.
Assignee: nobody → om.brahmana
Status: NEW → ASSIGNED
Attachment #359063 -
Flags: review?(gavin.sharp)
Comment 9•16 years ago
|
||
Comment on attachment 359063 [details] [diff] [review] patch v0.1 You should change the entity name to notify localizers of this change. r=me with that.
Attachment #359063 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 10•16 years ago
|
||
Changed the entity names so that the localizers notice the change. Patch contains changes to both files : browser.properties and browser.js This has r=gavin. So checkin-needed.
Attachment #359063 -
Attachment is obsolete: true
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 11•16 years ago
|
||
Comment on attachment 359222 [details] [diff] [review] patch v0.2 - New entity name and corresponding code change > # examples: One active download (2 minutes remaining); 11 paused downloads That l10n note is incorrect. >+activeDownloadsStr=1 active download (#2);#1 active downloads (#2) I don't think that's a proper name for a string.
Comment 12•16 years ago
|
||
generally we just append a number to the end of the string when we change it. That's what you should do here as well. Be sure to update the localization note too.
Keywords: checkin-needed
Assignee | ||
Comment 13•16 years ago
|
||
Addresses the comments.
Attachment #359222 -
Attachment is obsolete: true
Attachment #359466 -
Flags: review?(gavin.sharp)
Updated•16 years ago
|
Attachment #359466 -
Flags: review?(gavin.sharp) → review+
Comment 14•16 years ago
|
||
Comment on attachment 359466 [details] [diff] [review] patch v0.2 I don't really see a problem with appending "Str", fwiw.
Assignee | ||
Comment 15•14 years ago
|
||
This patch somehow missed checkin the previous time. Updated the patch for current tree. The changes are the same.
Attachment #359057 -
Attachment is obsolete: true
Attachment #359466 -
Attachment is obsolete: true
Attachment #429360 -
Flags: review?(gavin.sharp)
Updated•14 years ago
|
Attachment #429360 -
Flags: review?(gavin.sharp) → review+
Updated•14 years ago
|
Keywords: checkin-needed
Comment 16•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/7db1b9d406ef
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a3
You need to log in
before you can comment on or make changes to this bug.
Description
•