Closed
Bug 241181
Opened 21 years ago
Closed 3 months ago
inconsistent spelling of cancelled or canceled in Mozilla.
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: patrick.hendriks+bugzilla, Unassigned)
References
Details
(Whiteboard: bugday0420)
Attachments
(1 file, 1 obsolete file)
9.84 KB,
patch
|
neil
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
This probably affects several products/components.
[Darn, that one fired of too quickly.]
Spawned of from bug 241101 and notably bug 241101 comment 3: The word
cancelled/canceled is spelled inconsistenly in Mozilla.
According to lxr it's almost 50/50 between "cancelled" and "canceled"
629 cancelled
552 canceled
This bug is similar to bug 237517 which deals with inconsistent spelling on the
Mozilla web pages.
If i have to pick, i'd go for "cancelled" :)
Updated•21 years ago
|
Severity: normal → trivial
OS: Windows XP → All
Hardware: PC → All
Updated•21 years ago
|
Status: NEW → ASSIGNED
Comment 2•21 years ago
|
||
Grepping the source almost all uses of the word cancel[l]ed are in variable
names etc. This is annoying to developers, but I don't propose to go and fix
these unless there's demand for it.
I will however attach a patch to fix the one case this occurs in the UI (in the
download manager and its associated help).
Note to language pedants:
"cancelled" is the only correct spelling in UK (and, I believe) Australian/NZ
English
Both "cancelled" and "canceled" are accepted in US spelling, although
"cancelled" wins by a 4:1 margin on a google search. (Assuming the vast majority
of sites returned by google.com are US sites).
I know that the default localisation is technically the US English language
pack. Realistically though there are no active localisation efforts for other
English dialects, and I think the default should therefore use the spelling that
is most applicable, i.e. "cancelled".
Patch coming up to change user visible instances of "canceled" -> "cancelled".
Updated•21 years ago
|
Assignee: general → Bruce.Davidson
Status: ASSIGNED → NEW
Comment 3•21 years ago
|
||
Comment 4•21 years ago
|
||
Comment on attachment 146719 [details] [diff] [review]
Proposed patch to fix use of "canceled" in user-visible text. Fixes Mozilla and Firefox.
Requesting r/sr (rs=?) on this patch for 1.8 trunk.
Attachment #146719 -
Attachment description: Proposed patch to fix use of "canceled" in user-visible text → Proposed patch to fix use of "canceled" in user-visible text. Fixes Mozilla and Firefox.
Attachment #146719 -
Flags: superreview?(scc)
Attachment #146719 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 5•21 years ago
|
||
Previous patch missed out .properties files. I have now included these in the
patch (an extra 6 occurrences).
Attachment #146719 -
Attachment is obsolete: true
Updated•21 years ago
|
Attachment #146722 -
Flags: superreview?(bryner)
Attachment #146722 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
Attachment #146722 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 6•21 years ago
|
||
"Canceled" is the preferred U.S. spelling. All American dictionaries include
"canceled", but not all of them include "cancelled".
$ grep '^cancel' /usr/share/dict/words
cancel
canceled
canceling
cancellation
cancellations
cancels
Comment 7•21 years ago
|
||
Note that changing this without having a clear guideline somewhere as to the
"right" spelling in the Mozilla codebase will only lead to new inconsistencies
getting checked in later....
Also note that you want to remove review requests on obsolete patches, usually.
Comment 8•21 years ago
|
||
Found the option in google to restrict results to US sites: 2,690,000 for
"cancelled", 849,000 for "canceled" - so "cancelled" would still appear to be
the dominant usage. comment 7 is a good point, but not sure who is empowered to
make such decisions, drivers?
Updated•21 years ago
|
Attachment #146719 -
Flags: superreview?(scc)
Attachment #146719 -
Flags: review?(neil.parkwaycc.co.uk)
(In reply to comment #7)
> Note that changing this without having a clear guideline somewhere as to the
> "right" spelling in the Mozilla codebase will only lead to new inconsistencies
> getting checked in later....
True enough.
Is there any specific place in the coding guidelines where this should go?
Updated•21 years ago
|
Attachment #146722 -
Flags: superreview?(bryner) → superreview+
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 10•18 years ago
|
||
Bruce comment #8:
> ... not sure who is empowered to make such decisions, drivers?
is this point already approved, per neil's review+?
Comment 11•18 years ago
|
||
Well I'm British, so I'm biased :-)
Comment 13•17 years ago
|
||
> (In reply to comment #7)
> > Note that changing this without having a clear guideline somewhere as to the
> > "right" spelling in the Mozilla codebase will only lead to new inconsistencies
> > getting checked in later....
>
> True enough.
> Is there any specific place in the coding guidelines where this should go?
See rule 2 in the following link.
http://www.angelfire.com/wi3/englishcorner/grammar/rules/verbspell.html
or maybe someone should seek out a real, bona fide, spelling bee champion or
something. (In reply to comment #9)
Updated•15 years ago
|
Assignee: mozilla → nobody
Product: SeaMonkey → Core
QA Contact: general → general
Whiteboard: bugday0420
Comment 15•15 years ago
|
||
http://mxr.mozilla.org/mozilla-central/search?string=canceled
http://mxr.mozilla.org/mozilla-central/search?string=cancelled
What should we do here? I'd create a patch, you just need to make a decision what to change.
Comment 16•15 years ago
|
||
After reading through the posts here, it appears to me that "Cancelled" is what we should use. Not only is it used in almost all English dialects, but it also appears to be the most used in the US.
(It should probably be added to the built-in US dictionary as well.)
Updated•2 years ago
|
Severity: trivial → S4
Comment 17•3 months ago
|
||
no activity for a while and not important enough
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•