Open Bug 75188 Opened 23 years ago Updated 12 years ago

mailEditorOverlay.dtd redundant?

Categories

(SeaMonkey :: Composer, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: hwaara, Unassigned)

Details

contents of mailEditorOverlay.dtd:
----
<!ENTITY sendPage.label                   "Send Page...">
<!ENTITY sendPage.accesskey               "g"
----

contents of mailNavigatorOverlay.dtd:
----
<!-- File->New->Message -->
<!ENTITY  newMessageCmd.label             "Message">
<!ENTITY  newMessageCmd.accesskey         "m">

<!ENTITY sendPage.label                   "Send Page...">
<!ENTITY sendPage.accesskey               "g">

<!ENTITY sendLinkCmd.label                "Send Link..."> 
<!ENTITY sendLinkCmd.accesskey            "i">
----

As you can see, sendPage.* is defined in both of these files with the exception
that mailNavigatorOverlay.dtd includes other locales as well.

I suggest that we remove mailEditorOverlay.dtd and include
mailNavigatorOverlay.dtd in whatever XUL files the former is used.

Comments?
CC brade. Does this have anything to do with the relationship mailnews <-> editor?
smaller files cost less for loads. *shrug*
only mailEditorOverlay.xul appears to use that dtd file.
I'm not sure what the real gain is by changing around the dtd files.  If someone 
were to remove mailEditorOverlay.dtd and replace it with 
mailNavigatorOverlay.dtd, mailNavigatorOverlay.dtd should be renamed so that it 
doesn't seem so directly and solely related mailNavigatorOverlay.xul.

My vote is to leave this as is (wontfix) but others may have better input.
I would agree it is better to use just one DTD file, and I also agree the name
should be changed. I would propose something like "mailFileMenuOverlay.dtd",
since in both Nav. and Composer (and other possible users?), that's its main
purpose. In fact, we should be using it for the "Send Link" menuitem now, it
is missing from Composer's File menu.
Any of this should wait for next release, so I suggest setting to 1.0 or
later milestone.
QA Contact: esther → stephend
Product: MailNews → Core
Assignee: mscott → nobody
QA Contact: stephend → backend
Product: Core → MailNews Core
This seems to apply only to Seamonkey today.
Component: Backend → Composer
Product: MailNews Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.