Closed Bug 1140204 Opened 9 years ago Closed 9 years ago

Rename "Encoding" to "Text Encoding" in Page Info labels (Toolkit bug 951695)

Categories

(SeaMonkey :: Page Info, defect)

defect
Not set
normal

Tracking

(seamonkey2.37 fixed)

RESOLVED FIXED
seamonkey2.37
Tracking Status
seamonkey2.37 --- fixed

People

(Reporter: rsx11m.pub, Assigned: rsx11m.pub)

References

()

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1139004 +++

+++ This bug was initially created as a clone of Bug #951695 +++

> Chrome and Internet Explorer name this entry "Encoding". Alternatively we
> could align with Safari which names it "Text Encoding".

Toolkit has changed to "Text Encoding" in toolkit/locales/en-US/chrome/global/charsetMenu.dtd which breaks suite/common/charsetOverlay.xul and thus at least needs to be changed here. Either we fork charsetMenu.dtd and its two entities to retain the old labels, or have to modify the workding throughout preference panes and Help content.

(Quoting rsx11m from bug 1139004 comment #2)
> (In reply to neil@parkwaycc.co.uk from bug 1138964 comment #10)
> > (There's also the Page Info change...)
> 
> Neil, comm-central changeset ecc95ada09d1 didn't address generalEncoding and
> formEncoding in suite/locales/en-US/chrome/browser/pageInfo.dtd, thus I'll
> change those as drive-by fix here (unless there is a reason not to change
> those labels).

On a second thought, that may be better suited in its own bug given that we have a dedicated bugzilla component for that.
Blocks: 1139004
Attached patch Simple fixSplinter Review
This is trivial, but if you think that IanN should review this as well, please direct the r? request to him instead.
Attachment #8573637 - Flags: ui-review?(neil)
Attachment #8573637 - Flags: review?(neil)
Attachment #8573637 - Flags: ui-review?(neil)
Attachment #8573637 - Flags: ui-review+
Attachment #8573637 - Flags: review?(neil)
Attachment #8573637 - Flags: review+
Thanks, push for comm-central please.
Keywords: checkin-needed
http://hg.mozilla.org/comm-central/rev/b4fe8053c541
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.37
-<!ENTITY  formEncoding          "Encoding:">
+<!ENTITY  formEncoding2         "Text Encoding:">

Is this change really correct? Values of form's encoding are MIME encodings like "application/x-www-form-urlencoded", but not text encodings.
I assume that the Firefox people know what they are doing, that's were this was motivated from - https://bugzilla.mozilla.org/attachment.cgi?id=8570598&action=diff#a/browser/locales/en-US/chrome/browser/pageInfo.dtd_sec2
(In reply to rsx11m from comment #5)
> I assume that the Firefox people know what they are doing, that's were this
> was motivated from -
> https://bugzilla.mozilla.org/attachment.cgi?id=8570598&action=diff#a/browser/
> locales/en-US/chrome/browser/pageInfo.dtd_sec2

No, they only changed generalEncoding, and changing formEncoding was an error, which I missed. Sorry about that.
Comment on attachment 8573637 [details] [diff] [review]
Simple fix

Oh, now I get it. We keep this change:

>-              <label control="encodingtext" value="&generalEncoding;"/>
>+              <label control="encodingtext" value="&generalEncoding2;"/>

but revert that one:

>-                <label control="formenctype" value="&formEncoding;"/>
>+                <label control="formenctype" value="&formEncoding2;"/>

right?
(probably yes, as you explicitly mentioned the entity names in comment #6...)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #8594551 - Flags: review?(neil)
Attachment #8594551 - Flags: review?(neil) → review+
Thanks Neil for the quick review, and to Alexander for catching this!
Sorry for the glitch...

Push to comm-central, please.
Keywords: checkin-needed
Whiteboard: [c-n: push #8594551 for comm-central]
a=me for CLOSED TREE
Keywords: checkin-needed
Whiteboard: [c-n: push #8594551 for comm-central]
Comment on attachment 8594551 [details] [diff] [review]
Revert formEncoding label

Pushed to comm-central a=IanN CLOSED TREE
http://hg.mozilla.org/comm-central/rev/97d4ae243c36
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: