Closed
Bug 10539
Opened 25 years ago
Closed 24 years ago
FormatMenu.label isn't part of editorOverlay.dtd
Categories
(MailNews Core :: Composition, defect, P3)
Tracking
(Not tracked)
VERIFIED
WONTFIX
M18
People
(Reporter: momoi, Assigned: bugzilla)
References
()
Details
** Observed with 7/26/99 Win32 build **
Now that we can translate .dtd files in the locale
directories associated with each .xul file, we should be
able to just translate messengercompse.xul file's entity
definitions, but this fails gerenally with
messengercompose.dtd file. For example, none of the Character
Set menu items are in the .dtd file. I noticed the problems
with "Character Set" menu items but there may be others
also.
I believe the reason is that messengercompose.xul file
does not use ENTITY definitions sufficiently to ensure
that all necessary entities are extracted by tao's utility.
I don't know who should fix messengercompose.xul, but I'm going
to send it initiatlly to jean-f.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M9
Assignee | ||
Comment 1•25 years ago
|
||
I get a fix in my Mac, I am waiting on the tree to open to check in. Anyway, I think we should use overlay for the
charset menu instance of having a copy in every project. I18l folk should own the overlay!
Reporter | ||
Comment 2•25 years ago
|
||
Jean-François, I agree with you about the template/overlay. The charset
menus need to be re-done incorporating the final UI spec and i18n should
own it. For now, it would be sufficient to have a current version
of properly constructed .xul file for our purpose.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•25 years ago
|
||
I have copy the charset menu of messenger.xul into messengercompose.xul. Fixed and checked in.
Reporter | ||
Comment 4•25 years ago
|
||
One question: the Charset menu in messenger.xul is not the same
as the menu in messengercompose.xul. The latter is much shorter since
we use only the standard charset for each language/encoding group in
sending mail.
Is this what you checked in?
Assignee | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Assignee | ||
Comment 5•25 years ago
|
||
oops, I think I messed up here. I will redo it and be sure I still have the samemenu items than before. Reopen the bug!
Assignee | ||
Comment 7•25 years ago
|
||
Ok, I get a new fix, the right one this time but something when wrong (RDF?) in the tree since last time and hangas
totally disable the charset menu. I will have to wait that everything works fine again before check it in.
FYI, here is the menu I will check in:
<!ENTITY viewMenu.label "View">
<!ENTITY showCmd.label ".Show">
<!ENTITY addressCmd.label ".Address">
<!ENTITY attachmentsCmd.label ".Attachments">
<!ENTITY wrapCmd.label ".Wrap Long Lines">
<!ENTITY dcharMenu.label "Character Set">
<!ENTITY dcharIso1Cmd.label "Western (ISO-8859-1)">
<!ENTITY dcharIso2Cmd.label "Central European (ISO-8859-2)">
<!ENTITY dcharIso3Cmd.label "Esperanto/Maltese (ISO-8859-3)">
<!ENTITY dcharIso4Cmd.label "Baltic (ISO-8859-4)">
<!ENTITY dcharIso9Cmd.label "Turkish (ISO-8859-9)">
<!ENTITY dcharIso10Cmd.label "Northern European (ISO-8859-10)">
<!ENTITY dcharIso14Cmd.label "Celtic (ISO-8859-14)">
<!ENTITY dcharIso15Cmd.label "New Western (ISO-8859-15)">
<!ENTITY dcharJapanCmd.label "Japanese (ISO-2022-JP)">
<!ENTITY dcharTradChiBigCmd.label "Traditional Chinese (Big5)">
<!ENTITY dcharSimpChiGbCmd.label "Simplified Chinese (GB2312)">
<!ENTITY dcharKoreanCmd.label "Korean (EUC-KR)">
<!ENTITY dcharUtf8Cmd.label "UTF-8">
<!ENTITY dcharRusCmd.label "Cyrillic (KOI8-R)">
<!ENTITY dcharUkrCmd.label "Ukrainian (KOI8-U)">
<!ENTITY dcharIsoGreekCmd.label "Greek (ISO-8859-7)">
<!ENTITY dcharVietViCmd.label "Vietnamese (VISCII)">
<!ENTITY dcharThaiCmd.label "Thai (TIS-620)">
<!ENTITY dcharArmCmd.label "Armenian (ARMSCII-8)">
Reporter | ||
Comment 8•25 years ago
|
||
The Charset menu items are correct.
I wonder about other items not related to Charset menu like
"File" menu name, for example. I had trouble displaying it
when I translated it. Were there others you needed to define
as entities in addition to Charset menu related items?
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•25 years ago
|
||
Checked in the new menu.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 10•25 years ago
|
||
** Checked with 7/30/99 Win32 M9 build **
I'm now able to localize many of the items into Japanese.
Bit there are some remaining problems. They are of 2 types:
1. Types, when localized using 8-bit charactesr, cause a crash.
FileMenuLabel ENTITY (messengercompose.dtd)
tasksMenuLabel ENTITY (tasksOverlay.dtd)
2. Types, when localized, simply do not show as changed.
These are probably due to improperly constructed XUL.
insertMenuLabel (messengercompose.dtd)
formatMenuLabe (messengercompose.dtd
I'm re-opening this bug for these reasons
Reporter | ||
Updated•25 years ago
|
Resolution: FIXED → ---
Reporter | ||
Comment 11•25 years ago
|
||
Also, this is trivial but we need a sepator for each of the ISO entries
and also for the 2 Chinese entries. (This can wait until later, however.)
Assignee | ||
Updated•25 years ago
|
Target Milestone: M9 → M11
Assignee | ||
Comment 12•25 years ago
|
||
I spoke with momoi and as this menu will be in the future build dynamically, I won't spend time on it for now
Comment 13•25 years ago
|
||
Added cata to cc list.
Comment 14•25 years ago
|
||
Added cata to cc list.
Reporter | ||
Comment 15•25 years ago
|
||
Right/ The menu separator is a trivial issue but we need to
address the crash problem with the translation of "File" and
one other item earlier than this. In factm it should be
investigated for M9.
Reporter | ||
Updated•25 years ago
|
Reporter | ||
Comment 16•25 years ago
|
||
For the crashing bug, I'm making available a modified "messengercompose.dtd"
at the above URL. I made one modification in this file, i.e. I changed
the following line:
<!ENTITY fileMenu.label "File">
to
<!ENTITY fileMenu.label "Fête">
then converted it to UTF-8. The above file is in UTF-8.
If you use this file and open the Message compose window, 5.0
will crash. Here's part of the Talkback report available for
one such crash:
------------------------------------------------
Trigger Type: Program Crash
Trigger Reason: Access violation
Call Stack: (Signature = MSVCRT.dll + 0x1663 (0x78001663) 2ce8f288)
MSVCRT.dll + 0x1663 (0x78001663)
xpcom.dll + 0x15080 (0x60b15080)
raptorhtmlpars.dll + 0x35a9 (0x60a735a9)
raptorhtmlpars.dll + 0x3683 (0x60a73683)
raptorhtmlpars.dll + 0x158f3 (0x60a858f3)
raptorhtmlpars.dll + 0x15732 (0x60a85732)
raptorhtmlpars.dll + 0x15700 (0x60a85700)
raptorhtmlpars.dll + 0x13eb6 (0x60a83eb6)
raptorhtmlpars.dll + 0x2f6e (0x60a72f6e)
raptorhtmlpars.dll + 0x2ff9 (0x60a72ff9)
raptorhtmlpars.dll + 0xc669 (0x60a7c669)
raptorhtmlpars.dll + 0xc2fb (0x60a7c2fb)
raptorhtmlpars.dll + 0xc59d (0x60a7c59d)
------------------------------------------------
Tao, who should look at the crashing bug?
Assignee | ||
Updated•25 years ago
|
Product: MailNews → Browser
Assignee | ||
Comment 17•25 years ago
|
||
It's more an entity problem than a message compose problem. I need to reassign this bug to the right person but
who?
Assignee | ||
Updated•25 years ago
|
Product: Browser → MailNews
Comment 18•25 years ago
|
||
CC Nisheeth.
Comment 19•25 years ago
|
||
Please open a new bug describing the crash, attach the offending file to the bug
report, and assign the bug to me. I'll look into it. Thanks a lot.
Reporter | ||
Comment 20•25 years ago
|
||
I filed the crashing bug as Bug 11724. There was another report of
the crash on one of the files I mentioned above, tasksOverlay.dtd
and so this is not an isolated problem.
The remaining problem for this bug is item #2:
2. Types, when localized, simply do not show as changed.
These are probably due to improperly constructed XUL.
insertMenuLabel (messengercompose.dtd)
formatMenuLabe (messengercompose.dtd)
Comment 21•25 years ago
|
||
Adding myself to the CC list because my bug depends on this. Any chance the
target milestone could be changed to M10 ?
Comment 22•25 years ago
|
||
Actually, I also need to request a fix by M10. Localization has to start at that
milestone.
Assignee | ||
Comment 23•25 years ago
|
||
Momoi,
1) Do you still have the problem #2?
2) if yes, could you attach a modified dtd files for testing.
Thanks
Reporter | ||
Comment 24•25 years ago
|
||
** Checked with 9/14/99 Win32 M11 build **
For these 2 specific items,
insertMenuLabel (messengercompose.dtd)
formatMenuLabel (messengercompose.dtd)
the current status is: Worksforme.
formatMenuLabel is still in messengercompose.dtd file, but the
insertMenuLabel and all its submenu items come from
chrome\editor\locale\en-US\editorOverlay.dtd
Editing these strings do get reflected in the menus.
One thing confusing stil is that the
messengercompsoe.dtd file still conatins this line:
<!-- Insert menu items -->
<!ENTITY insertMenu.label ".Insert">
But translating this menu has not effect and you need to
translate the one in
editorOverlay.dtd
and also all the submenus under Insert menu come from editorOverlay.dtd
and the insertMenuLabel is defined there, too.
On the other hand, there is only one 'formatmenuLabel" definition
and it is in "messengercompose.dtd" and then all the submenus of
this are in "editorOverlay.dtd".
Confused? It seems to me that as we put things in
global overlay files, we need to clean up this type of
redundancies as much as possible.
Does L10n have a strategy for this?
Jean-f, can you clean up these redundancies?
Reporter | ||
Comment 25•25 years ago
|
||
Forgot to mention that formatmenuLabel is also defined in
"EditorAppShell.dtd" file too. But there again all the submenus
of this are in the "editorOverlay.dtd" file.
Once we elimnate these redundancies, we should mark this
bug as Worksforme or Fixed.
Assignee | ||
Comment 26•25 years ago
|
||
OK, I have removed the duplicated insertMenu.label from messengercompose.dtd (but not yet check in).
Simon, why the FormatMenu.label isn't part of the editor overlay like its submenu? any good reason for that?
Assignee | ||
Comment 27•25 years ago
|
||
I've just checed in the cleanup for InsertMenu.label
Assignee | ||
Updated•25 years ago
|
Target Milestone: M11 → M14
Assignee | ||
Comment 28•25 years ago
|
||
M14
Comment 29•25 years ago
|
||
what remains to be fixed? By reading the report it looks like everything is
fixed but then it's moved to M14. What did I miss?
Assignee | ||
Updated•25 years ago
|
Summary: messengercompose.xul does not define enough entities → FormatMenu.label isn't part of editorOverlay.dtd
Assignee | ||
Comment 30•25 years ago
|
||
Only stuff missing but probably not a bug or a problem is the fact that editor doesn't define the menu format itself
as an overlay and therefore we have two identical DTD entry for FormatMenu.label. One in msgcompose and one in
editor. I let this bug open just as a reminder. BTW, I've changed the summary to reflect the real issue.
Comment 31•25 years ago
|
||
Feel free to move entities around in the editor files; just make sure that they
are there for the plain text and HTML editors.
Assignee | ||
Comment 32•25 years ago
|
||
That's why the menu format isn't fully defined as an overlay. Right? it's depending on the format (HTML or plain
text)?
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Comment 33•25 years ago
|
||
Kat, can you confirm that without this bug fix, we won't be able to localize?
Reporter | ||
Comment 34•25 years ago
|
||
Phil, as far as I know, this is a matter of redundancy not that of
impairing localizability. This item apparently is not used at all
as translating it has no effect. What I wanted was that as we move
items to global overlay files, we don't leave behind items which
had been moved. We should do general cleaning up like this regularly,
but for me this is a low priority bug at this point.
Assignee | ||
Comment 35•25 years ago
|
||
Apparently, today you cannot use an entity defined into an dtd file you don't
include yourself directly. Therefore, I cannot use directly an Editor entity
into msg compose.I don't know if it's a limitation or a bug!
Assignee | ||
Updated•25 years ago
|
Target Milestone: M14 → M16
Assignee | ||
Comment 36•25 years ago
|
||
moved to M16
Comment 38•25 years ago
|
||
What's left for this bug? It seems just cleaning up the file -- removing
FormatMenu.label out of editorOverlay.dtd, isn't it, Kat?
Component: Localization → Composition
Assignee | ||
Comment 39•24 years ago
|
||
Sorry but we cannot fix that, it's a overlay limitation.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 40•24 years ago
|
||
Then all important issues have been resolved.
What remains is not critical or important.
Verified as wontfinx.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•