Bug 455743 - Big /composer l10n cleanup, r=philor,neil
This commit is contained in:
Родитель
f49627b679
Коммит
f7e7e12abb
|
@ -62,84 +62,180 @@
|
|||
oncommand="InlineSpellCheckerUI.ignoreWord();"/>
|
||||
<menuseparator id="spellCheckSuggestionsSeparator"/>
|
||||
|
||||
<menuitem id="menu_undo_cm" label="&undoCmd.label;" accesskey="&undo.accesskey;" command="cmd_undo"/>
|
||||
<menuitem id="menu_redo_cm" label="&redoCmd.label;" accesskey="&redo.accesskey;" command="cmd_redo"/>
|
||||
<menuitem id="menu_undo_cm"
|
||||
label="&undoCmd.label;"
|
||||
accesskey="&undoCmd.accesskey;"
|
||||
command="cmd_undo"/>
|
||||
<menuitem id="menu_redo_cm"
|
||||
label="&redoCmd.label;"
|
||||
accesskey="&redoCmd.accesskey;"
|
||||
command="cmd_redo"/>
|
||||
<menuseparator id="undoredo-separator"/>
|
||||
|
||||
<menuitem id="menu_cut_cm" label="&cutCmd.label;" accesskey="&cut.accesskey;" command="cmd_cut"/>
|
||||
<menuitem id="menu_copy_cm" label="©Cmd.label;" accesskey="©.accesskey;" command="cmd_copy"/>
|
||||
<menuitem id="menu_paste_cm" label="&pasteCmd.label;" accesskey="&paste.accesskey;" command="cmd_paste"/>
|
||||
<menuitem id="menu_pasteNoFormatting_cm" command="cmd_pasteNoFormatting"/>
|
||||
<menuitem id="menu_delete_cm" label="&deleteCmd.label;" accesskey="&delete.accesskey;" command="cmd_delete"/>
|
||||
<menuitem id="menu_cut_cm"
|
||||
label="&cutCmd.label;"
|
||||
accesskey="&cutCmd.accesskey;"
|
||||
command="cmd_cut"/>
|
||||
<menuitem id="menu_copy_cm"
|
||||
label="©Cmd.label;"
|
||||
accesskey="©Cmd.accesskey;"
|
||||
command="cmd_copy"/>
|
||||
<menuitem id="menu_paste_cm"
|
||||
label="&pasteCmd.label;"
|
||||
accesskey="&pasteCmd.accesskey;"
|
||||
command="cmd_paste"/>
|
||||
<menuitem id="menu_pasteNoFormatting_cm"
|
||||
command="cmd_pasteNoFormatting"/>
|
||||
<menuitem id="menu_delete_cm"
|
||||
label="&deleteCmd.label;"
|
||||
accesskey="&deleteCmd.accesskey;"
|
||||
command="cmd_delete"/>
|
||||
<menuseparator id="edit-separator"/>
|
||||
<menuitem id="menu_selectAll_cm" label="&selectAllCmd.label;" accesskey="&selectall.accesskey;" command="cmd_selectAll"/>
|
||||
<menuitem id="menu_selectAll_cm"
|
||||
label="&selectAllCmd.label;"
|
||||
accesskey="&selectAllCmd.accesskey;"
|
||||
command="cmd_selectAll"/>
|
||||
<menuseparator id="selectAll-separator"/>
|
||||
|
||||
<!-- label and accesskey set at runtime from strings -->
|
||||
<menuitem id="removeStylesMenuitem_cm"
|
||||
observes="cmd_removeStyles"/>
|
||||
<menuitem id="createLink_cm" label="&createLinkCmd.label;" accesskey="&createlink.accesskey;" command="cmd_link"/>
|
||||
observes="cmd_removeStyles"/>
|
||||
<menuitem id="createLink_cm"
|
||||
label="&createLinkCmd.label;"
|
||||
accesskey="&createLinkCmd.accesskey;"
|
||||
command="cmd_link"/>
|
||||
<!-- label and accesskey set at runtime from strings -->
|
||||
<menuitem id="removeLinksMenuitem_cm" observes="cmd_removeLinks"/>
|
||||
<menuitem id="removeNamedAnchorsMenuitem_cm" label="&formatRemoveNamedAnchors.label;"
|
||||
accesskey="&formatRemoveNamedAnchors.accesskey;"
|
||||
observes="cmd_removeNamedAnchors"/>
|
||||
<menuitem id="removeNamedAnchorsMenuitem_cm"
|
||||
label="&formatRemoveNamedAnchors.label;"
|
||||
accesskey="&formatRemoveNamedAnchors.accesskey;"
|
||||
observes="cmd_removeNamedAnchors"/>
|
||||
<menuseparator id="styles-separator"/>
|
||||
|
||||
<!-- label and accesskey are set in InitObjectProperties -->
|
||||
<menuitem id="objectProperties_cm" observes="cmd_objectProperties"/>
|
||||
<menuitem id="editLink_cm" label="&editLinkCmd.label;" accesskey="&editlink.accesskey;" command="cmd_editLink"/>
|
||||
<menuitem id="editLink_cm"
|
||||
label="&editLinkCmd.label;"
|
||||
accesskey="&editLinkCmd.accesskey;"
|
||||
command="cmd_editLink"/>
|
||||
<menuseparator id="property-separator"/>
|
||||
|
||||
<!-- Can't get submenus to load from a shared overlay -->
|
||||
<menu id="tableInsertMenu_cm" label="&tableInsertMenu2.label;" accesskey="&tableinsertmenu.accesskey;">
|
||||
<menu id="tableInsertMenu_cm" label="&tableInsertMenu2.label;" accesskey="&tableInsertMenu2.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem label="&insertTableCmd.label;" accesskey="&tabletable.accesskey;" observes="cmd_InsertTable"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableRowAbove.label;" accesskey="&tablerow.accesskey;" observes="cmd_InsertRowAbove"/>
|
||||
<menuitem label="&tableRowBelow.label;" accesskey="&tablerowbelow.accesskey;" observes="cmd_InsertRowBelow"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableColumnBefore.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_InsertColumnBefore"/>
|
||||
<menuitem label="&tableColumnAfter.label;" accesskey="&tablecolumnafter.accesskey;" observes="cmd_InsertColumnAfter"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableCellBefore.label;" accesskey="&tablecell.accesskey;" observes="cmd_InsertCellBefore"/>
|
||||
<menuitem label="&tableCellAfter.label;" accesskey="&tablecellafter.accesskey;" observes="cmd_InsertCellAfter"/>
|
||||
<menuitem label="&insertTableCmd.label;"
|
||||
accesskey="&insertTableCmd.accesskey;"
|
||||
observes="cmd_InsertTable"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&tableRowAbove.label;"
|
||||
accesskey="&tableRowAbove.accesskey;"
|
||||
observes="cmd_InsertRowAbove"/>
|
||||
<menuitem label="&tableRowBelow.label;"
|
||||
accesskey="&tableRowBelow.accesskey;"
|
||||
observes="cmd_InsertRowBelow"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&tableColumnBefore.label;"
|
||||
accesskey="&tableColumnBefore.accesskey;"
|
||||
observes="cmd_InsertColumnBefore"/>
|
||||
<menuitem label="&tableColumnAfter.label;"
|
||||
accesskey="&tableColumnAfter.accesskey;"
|
||||
observes="cmd_InsertColumnAfter"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&tableCellBefore.label;"
|
||||
accesskey="&tableCellBefore.accesskey;"
|
||||
observes="cmd_InsertCellBefore"/>
|
||||
<menuitem label="&tableCellAfter.label;"
|
||||
accesskey="&tableCellAfter.accesskey;"
|
||||
observes="cmd_InsertCellAfter"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="tableSelectMenu_cm" label="&tableSelectMenu2.label;" accesskey="&tableselectmenu.accesskey;">
|
||||
<menu id="tableSelectMenu_cm" label="&tableSelectMenu2.label;" accesskey="&tableSelectMenu2.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem id="menu_SelectTable_cm" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_SelectTable" />
|
||||
<menuitem id="menu_SelectRow_cm" label="&tableRow.label;" accesskey="&tablerow.accesskey;" observes="cmd_SelectRow" />
|
||||
<menuitem id="menu_SelectColumn_cm" label="&tableColumn.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_SelectColumn" />
|
||||
<menuitem id="menu_SelectCell_cm" label="&tableCell.label;" accesskey="&tablecell.accesskey;" observes="cmd_SelectCell" />
|
||||
<menuitem id="menu_SelectAllCells_cm" label="&tableAllCells.label;" accesskey="&tableallcells.accesskey;" observes="cmd_SelectAllCells" />
|
||||
<menuitem id="menu_SelectTable_cm"
|
||||
label="&tableTable.label;"
|
||||
accesskey="&tableTable.accesskey;"
|
||||
observes="cmd_SelectTable"/>
|
||||
<menuitem id="menu_SelectRow_cm"
|
||||
label="&tableRow.label;"
|
||||
accesskey="&tableRow.accesskey;"
|
||||
observes="cmd_SelectRow"/>
|
||||
<menuitem id="menu_SelectColumn_cm"
|
||||
label="&tableColumn.label;"
|
||||
accesskey="&tableColumn.accesskey;"
|
||||
observes="cmd_SelectColumn"/>
|
||||
<menuitem id="menu_SelectCell_cm"
|
||||
label="&tableCell.label;"
|
||||
accesskey="&tableCell.accesskey;"
|
||||
observes="cmd_SelectCell"/>
|
||||
<menuitem id="menu_SelectAllCells_cm"
|
||||
label="&tableAllCells.label;"
|
||||
accesskey="&tableAllCells.accesskey;"
|
||||
observes="cmd_SelectAllCells"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="tableDeleteMenu_cm" label="&tableDeleteMenu2.label;" accesskey="&tabledeletemenu.accesskey;">
|
||||
<menu id="tableDeleteMenu_cm" label="&tableDeleteMenu2.label;" accesskey="&tableDeleteMenu2.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem id="menu_DeleteTable_cm" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_DeleteTable"/>
|
||||
<menuitem id="menu_DeleteRow_cm" label="&tableRows.label;" accesskey="&tablerow.accesskey;" observes="cmd_DeleteRow"/>
|
||||
<menuitem id="menu_DeleteColumn_cm" label="&tableColumns.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_DeleteColumn"/>
|
||||
<menuitem id="menu_DeleteCell_cm" label="&tableCells.label;" accesskey="&tablecell.accesskey;" observes="cmd_DeleteCell"/>
|
||||
<menuitem id="menu_DeleteCellContents_cm" label="&tableCellContents.label;" accesskey="&tablecellcontents.accesskey;" observes="cmd_DeleteCellContents"/>
|
||||
<menuitem id="menu_DeleteTable_cm"
|
||||
label="&tableTable.label;"
|
||||
accesskey="&tableTable.accesskey;"
|
||||
observes="cmd_DeleteTable"/>
|
||||
<menuitem id="menu_DeleteRow_cm"
|
||||
label="&tableRows.label;"
|
||||
accesskey="&tableRow.accesskey;"
|
||||
observes="cmd_DeleteRow"/>
|
||||
<menuitem id="menu_DeleteColumn_cm"
|
||||
label="&tableColumns.label;"
|
||||
accesskey="&tableColumn.accesskey;"
|
||||
observes="cmd_DeleteColumn"/>
|
||||
<menuitem id="menu_DeleteCell_cm"
|
||||
label="&tableCells.label;"
|
||||
accesskey="&tableCell.accesskey;"
|
||||
observes="cmd_DeleteCell"/>
|
||||
<menuitem id="menu_DeleteCellContents_cm"
|
||||
label="&tableCellContents.label;"
|
||||
accesskey="&tableCellContents.accesskey;"
|
||||
observes="cmd_DeleteCellContents"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<!-- menu label is set in InitTableMenu -->
|
||||
<menuitem id="joinTableCells_cm" label="&tableJoinCells.label;" accesskey="&tablejoincells.accesskey;" observes="cmd_JoinTableCells"/>
|
||||
<menuitem id="splitTableCell_cm" label="&tableSplitCell.label;" accesskey="&tablesplitcell.accesskey;" observes="cmd_SplitTableCell"/>
|
||||
<menuitem id="tableOrCellColor_cm" label="&tableOrCellColor.label;" accesskey="&tableOrCellColor.accesskey;" observes="cmd_TableOrCellColor"/>
|
||||
<menuitem id="joinTableCells_cm"
|
||||
label="&tableJoinCells.label;"
|
||||
accesskey="&tableJoinCells.accesskey;"
|
||||
observes="cmd_JoinTableCells"/>
|
||||
<menuitem id="splitTableCell_cm"
|
||||
label="&tableSplitCell.label;"
|
||||
accesskey="&tableSplitCell.accesskey;"
|
||||
observes="cmd_SplitTableCell"/>
|
||||
<menuitem id="tableOrCellColor_cm"
|
||||
label="&tableOrCellColor.label;"
|
||||
accesskey="&tableOrCellColor.accesskey;"
|
||||
observes="cmd_TableOrCellColor"/>
|
||||
</popup>
|
||||
|
||||
<popup id="editorSourceContext">
|
||||
<menuitem label="&undoCmd.label;" accesskey="&undo.accesskey;" command="cmd_undo"/>
|
||||
<menuitem label="&redoCmd.label;" accesskey="&redo.accesskey;" command="cmd_redo"/>
|
||||
<menuitem label="&undoCmd.label;"
|
||||
accesskey="&undoCmd.accesskey;"
|
||||
command="cmd_undo"/>
|
||||
<menuitem label="&redoCmd.label;"
|
||||
accesskey="&redoCmd.accesskey;"
|
||||
command="cmd_redo"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&cutCmd.label;" accesskey="&cut.accesskey;" command="cmd_cut"/>
|
||||
<menuitem label="©Cmd.label;" accesskey="©.accesskey;" command="cmd_copy"/>
|
||||
<menuitem label="&pasteCmd.label;" accesskey="&paste.accesskey;" command="cmd_paste"/>
|
||||
<menuitem label="&deleteCmd.label;" accesskey="&delete.accesskey;" command="cmd_delete"/>
|
||||
<menuitem label="&cutCmd.label;"
|
||||
accesskey="&cutCmd.accesskey;"
|
||||
command="cmd_cut"/>
|
||||
<menuitem label="©Cmd.label;"
|
||||
accesskey="©Cmd.accesskey;"
|
||||
command="cmd_copy"/>
|
||||
<menuitem label="&pasteCmd.label;"
|
||||
accesskey="&pasteCmd.accesskey;"
|
||||
command="cmd_paste"/>
|
||||
<menuitem label="&deleteCmd.label;"
|
||||
accesskey="&deleteCmd.accesskey;"
|
||||
command="cmd_delete"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&selectAllCmd.label;" accesskey="&selectall.accesskey;" command="cmd_selectAll"/>
|
||||
<menuitem label="&selectAllCmd.label;"
|
||||
accesskey="&selectAllCmd.accesskey;"
|
||||
command="cmd_selectAll"/>
|
||||
</popup>
|
||||
|
||||
<popup id="structToolbarContext">
|
||||
|
@ -155,7 +251,7 @@
|
|||
oncommand="StructChangeTag()"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="advancedPropsTag" label="&advancedPropertiesCmd.label;"
|
||||
accesskey="&advancedproperties.accesskey;"
|
||||
accesskey="&advancedPropertiesCmd.accesskey;"
|
||||
oncommand="OpenAdvancedProperties()"/>
|
||||
</popup>
|
||||
|
||||
|
|
|
@ -59,12 +59,12 @@
|
|||
<key id="key_newNavigator"/>
|
||||
<key id="key_newBlankPage"/>
|
||||
|
||||
<key id="openeditorkb" key="&fileopen.keybinding;" observes="cmd_open" modifiers="accel"/>
|
||||
<key id="openremoteeditorkb" key="&fileopenremote.keybinding;" observes="cmd_openRemote" modifiers="accel,shift"/>
|
||||
<key id="savekb" key="&filesave.keybinding;" observes="cmd_save" modifiers="accel"/>
|
||||
<key id="publishkb" key="&filesave.keybinding;" observes="cmd_publish" modifiers="accel,shift"/>
|
||||
<key id="closekb" key="&fileclose.keybinding;" observes="cmd_close" modifiers="accel"/>
|
||||
<key id="printkb" key="&fileprint.keybinding;" observes="cmd_print" modifiers="accel"/>
|
||||
<key id="openeditorkb" key="&openFileCmd.key;" observes="cmd_open" modifiers="accel"/>
|
||||
<key id="openremoteeditorkb" key="&openRemoteCmd.key;" observes="cmd_openRemote" modifiers="accel,shift"/>
|
||||
<key id="savekb" key="&saveCmd.key;" observes="cmd_save" modifiers="accel"/>
|
||||
<key id="publishkb" key="&publishCmd.key;" observes="cmd_publish" modifiers="accel,shift"/>
|
||||
<key id="closekb" key="&closeCmd.key;" observes="cmd_close" modifiers="accel"/>
|
||||
<key id="printkb" key="&printCmd.key;" observes="cmd_print" modifiers="accel"/>
|
||||
<key id="key_quit"/>
|
||||
<key id="key_undo"/>
|
||||
<key id="key_redo"/>
|
||||
|
@ -75,39 +75,39 @@
|
|||
<key id="key_selectAll"/>
|
||||
<key id="pastenoformattingkb" key="&pasteNoFormatting.key;"
|
||||
observes="cmd_pasteNoFormatting" modifiers="accel, shift"/>
|
||||
<key id="findkb" key="&editfind.keybinding;" observes="cmd_find" modifiers="accel"/>
|
||||
<key id="findnextkb" key="&editfindnext.keybinding;" observes="cmd_findNext" modifiers="accel"/>
|
||||
<key id="findprevkb" key="&editfindprev.keybinding;" observes="cmd_findPrev" modifiers="accel,shift"/>
|
||||
<key keycode="&editfindnext.keybinding2;" observes="cmd_findNext"/>
|
||||
<key keycode="&editfindprev.keybinding2;" observes="cmd_findPrev" modifiers="shift"/>
|
||||
<key id="findkb" key="&findCmd.key;" observes="cmd_find" modifiers="accel"/>
|
||||
<key id="findnextkb" key="&findAgainCmd.key;" observes="cmd_findNext" modifiers="accel"/>
|
||||
<key id="findprevkb" key="&findPrevCmd.key;" observes="cmd_findPrev" modifiers="accel,shift"/>
|
||||
<key keycode="&findAgainCmd.key2;" observes="cmd_findNext"/>
|
||||
<key keycode="&findPrevCmd.key2;" observes="cmd_findPrev" modifiers="shift"/>
|
||||
#ifdef MOZ_X11
|
||||
<key keycode="&editfind.keybinding2;" observes="cmd_find"/>
|
||||
<key keycode="&findCmd.key2;" observes="cmd_find"/>
|
||||
#endif
|
||||
<key id="checkspellingkb"
|
||||
key="&editcheckspelling.keybinding;"
|
||||
key="&checkSpellingCmd.key;"
|
||||
observes="cmd_spelling"
|
||||
modifiers="&accel.emacs_conflict;"
|
||||
disabled="true"
|
||||
/>
|
||||
|
||||
<key id="boldkb" key="&stylebold.keybinding;" observes="cmd_bold" modifiers="accel"/>
|
||||
<key id="italickb" key="&styleitalic.keybinding;" observes="cmd_italic" modifiers="accel"/>
|
||||
<key id="underlinekb" key="&styleunderline.keybinding;" observes="cmd_underline" modifiers="accel"/>
|
||||
<key id="fixedwidthkb" key="&formatfontfixed.keybinding;" observes="cmd_tt" modifiers="accel"/>
|
||||
<key id="boldkb" key="&styleBoldCmd.key;" observes="cmd_bold" modifiers="accel"/>
|
||||
<key id="italickb" key="&styleItalicCmd.key;" observes="cmd_italic" modifiers="accel"/>
|
||||
<key id="underlinekb" key="&styleUnderlineCmd.key;" observes="cmd_underline" modifiers="accel"/>
|
||||
<key id="fixedwidthkb" key="&fontFixedWidth.key;" observes="cmd_tt" modifiers="accel"/>
|
||||
|
||||
<key id="increaseindentkb" key="&formatindent.keybinding;" observes="cmd_indent" modifiers="accel"/>
|
||||
<key id="decreaseindentkb" key="&formatoutdent.keybinding;" observes="cmd_outdent" modifiers="accel"/>
|
||||
<key id="increaseindentkb" key="&increaseIndent.key;" observes="cmd_indent" modifiers="accel"/>
|
||||
<key id="decreaseindentkb" key="&decreaseIndent.key;" observes="cmd_outdent" modifiers="accel"/>
|
||||
|
||||
<key id="removestyleskb" key="&formatremovestyles.keybinding;" observes="cmd_removeStyles" modifiers="accel, shift"/>
|
||||
<key id="removestyleskb" key="&formatRemoveStyles.key;" observes="cmd_removeStyles" modifiers="accel, shift"/>
|
||||
<key id="removestyleskb2" key=" " observes="cmd_removeStyles" modifiers="accel"/>
|
||||
<key id="removelinkskb" key="&formatremovelinks.keybinding;" observes="cmd_removeLinks" modifiers="accel, shift"/>
|
||||
<key id="removenamedanchorskb" key="&formatremovenamedanchors.keybinding;" observes="cmd_removeNamedAnchors" modifiers="accel, shift"/>
|
||||
<key id="decreasefontsizekb" key="&decreaseFontSize.keybinding;" observes="cmd_decreaseFont" modifiers="accel"/>
|
||||
<key id="increasefontsizekb" key="&increaseFontSize.keybinding;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
<key key="&increaseFontSize.keybinding;" observes="cmd_increaseFont" modifiers="accel,shift"/>
|
||||
<key key="&increaseFontSize.keybinding2;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
<key id="removelinkskb" key="&formatRemoveLinks.key;" observes="cmd_removeLinks" modifiers="accel, shift"/>
|
||||
<key id="removenamedanchorskb" key="&formatRemoveNamedAnchors.key;" observes="cmd_removeNamedAnchors" modifiers="accel, shift"/>
|
||||
<key id="decreasefontsizekb" key="&decreaseFontSize.key;" observes="cmd_decreaseFont" modifiers="accel"/>
|
||||
<key id="increasefontsizekb" key="&increaseFontSize.key;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
<key key="&increaseFontSize.key;" observes="cmd_increaseFont" modifiers="accel,shift"/>
|
||||
<key key="&increaseFontSize.key2;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
|
||||
<key id="insertlinkkb" key="&insertlink.keybinding;" observes="cmd_link" modifiers="accel"/>
|
||||
<key id="insertlinkkb" key="&insertLinkCmd.key;" observes="cmd_link" modifiers="accel"/>
|
||||
</keyset>
|
||||
|
||||
<!-- commands updated when the editor gets created -->
|
||||
|
@ -117,7 +117,7 @@
|
|||
oncommandupdate="goUpdateComposerMenuItems(this)"
|
||||
>
|
||||
<command id="cmd_open" oncommand="goDoCommand('cmd_open')"/>
|
||||
<command id="cmd_openRemote" label="&openremoteCmd.label;" oncommand="goDoCommand('cmd_openRemote')"/>
|
||||
<command id="cmd_openRemote" label="&openRemoteCmd.label;" oncommand="goDoCommand('cmd_openRemote')"/>
|
||||
<command id="cmd_close" label="&closeCmd.label;" oncommand="goDoCommand('cmd_close')"/>
|
||||
<command id="cmd_printSetup" oncommand="goDoCommand('cmd_printSetup')"/>
|
||||
<!--
|
||||
|
@ -183,7 +183,7 @@
|
|||
<command id="cmd_revert" label="&fileRevert.label;" oncommand="goDoCommand('cmd_revert')"/>
|
||||
<command id="cmd_preview" oncommand="goDoCommand('cmd_preview')"/>
|
||||
<command id="cmd_editSendPage" label="&sendPageCmd.label;"
|
||||
accesskey="&sendPage.accesskey;" oncommand="goDoCommand('cmd_editSendPage')"/>
|
||||
accesskey="&sendPageCmd.accesskey;" oncommand="goDoCommand('cmd_editSendPage')"/>
|
||||
</commandset>
|
||||
|
||||
|
||||
|
@ -207,7 +207,7 @@
|
|||
<command id="cmd_findNext" oncommand="goDoCommand('cmd_findNext')" label="&findAgainCmd.label;"/>
|
||||
<command id="cmd_findPrev" oncommand="goDoCommand('cmd_findPrev')" label="&findPrevCmd.label;"/>
|
||||
<command id="cmd_spelling" oncommand="goDoCommand('cmd_spelling')"/>
|
||||
<command id="cmd_validate" label="&validateCmd.label;" accesskey="&validate.accesskey;" oncommand="goDoCommand('cmd_validate')"/>
|
||||
<command id="cmd_validate" label="&validateCmd.label;" accesskey="&validateCmd.accesskey;" oncommand="goDoCommand('cmd_validate')"/>
|
||||
<command id="cmd_checkLinks" oncommand="goDoCommand('cmd_checkLinks')"/>
|
||||
<command id="cmd_pasteQuote" oncommand="goDoCommand('cmd_pasteQuote')" label="&pasteAsQuotationCmd.label;"/>
|
||||
<command id="cmd_publishSettings" label="&publishSettings.label;" accesskey="&publishSettings.accesskey;" oncommand="goDoCommand('cmd_publishSettings')"/>
|
||||
|
@ -334,47 +334,81 @@
|
|||
<!-- Note: globalOverlay.xul uses menu_newEditor, but we want different menu item text
|
||||
so we use our own id, label, and accesskey but connect to the same global key and broadcaster node
|
||||
-->
|
||||
<menu id="fileMenu" label="&fileMenu.label;" accesskey="&filemenu.accesskey;">
|
||||
<menu id="fileMenu" label="&fileMenu.label;" accesskey="&fileMenu.accesskey;">
|
||||
<menupopup id="menu_FilePopup" onpopupshowing="EditorInitFileMenu();">
|
||||
<menu id="menu_New">
|
||||
<menupopup id="menu_NewPopup">
|
||||
<menuitem id="menu_newBlankPage" label="&newBlankPageCmd.label;"
|
||||
accesskey="&newBlankPage.accesskey;" key="key_newBlankPage"
|
||||
<menuitem id="menu_newBlankPage"
|
||||
label="&newBlankPageCmd.label;"
|
||||
accesskey="&newBlankPageCmd.accesskey;"
|
||||
key="key_newBlankPage"
|
||||
command="cmd_newEditor"/>
|
||||
<menuseparator id="composerBeginGlobalNewItems"/>
|
||||
<!-- From globalOverlay.xul -->
|
||||
<menuitem id="menu_newNavigator" observes="cmd_newNavigator"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuitem accesskey="&fileopenremote.accesskey;" key="openremoteeditorkb" observes="cmd_openRemote"/>
|
||||
<menuitem accesskey="&fileopen.accesskey;" key="openeditorkb" observes="cmd_open" label="&openFileCmd.label;"/>
|
||||
<menu id="menu_RecentFiles" accesskey="&filerecentmenu.accesskey;" label="&fileRecentMenu.label;"
|
||||
<menuitem accesskey="&openRemoteCmd.accesskey;"
|
||||
key="openremoteeditorkb"
|
||||
observes="cmd_openRemote"/>
|
||||
<menuitem label="&openFileCmd.label;"
|
||||
accesskey="&openFileCmd.accesskey;"
|
||||
key="openeditorkb"
|
||||
observes="cmd_open"/>
|
||||
<menu id="menu_RecentFiles"
|
||||
label="&fileRecentMenu.label;"
|
||||
accesskey="&fileRecentMenu.accesskey;"
|
||||
onpopupshowing="BuildRecentPagesMenu();">
|
||||
<menupopup id="menupopup_RecentFiles" oncommand="editPage(event.target.getAttribute('value'), window, false);"/>
|
||||
<menupopup id="menupopup_RecentFiles"
|
||||
oncommand="editPage(event.target.getAttribute('value'), window, false);"/>
|
||||
<!-- menuitems appended at runtime -->
|
||||
</menu>
|
||||
<menuitem accesskey="&fileclose.accesskey;" key="closekb" observes="cmd_close"/>
|
||||
<menuitem accesskey="&closeCmd.accesskey;"
|
||||
key="closekb"
|
||||
observes="cmd_close"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="saveMenuitem" accesskey="&filesave.accesskey;" key="savekb" observes="cmd_save"/>
|
||||
<menuitem accesskey="&filesaveas.accesskey;" observes="cmd_saveAs"/>
|
||||
<menuitem accesskey="&filesaveandchangeencoding.accesskey;" observes="cmd_saveAndChangeEncoding"/>
|
||||
<menuitem id="saveMenuitem"
|
||||
accesskey="&saveCmd.accesskey;"
|
||||
key="savekb"
|
||||
observes="cmd_save"/>
|
||||
<menuitem accesskey="&saveAsCmd.accesskey;"
|
||||
observes="cmd_saveAs"/>
|
||||
<menuitem accesskey="&saveAsChangeEncodingCmd.accesskey;"
|
||||
observes="cmd_saveAndChangeEncoding"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="publishMenuitem" accesskey="&publishcmd.accesskey;" key="publishkb" observes="cmd_publish"/>
|
||||
<menuitem accesskey="&publishas.accesskey;" observes="cmd_publishAs"/>
|
||||
<menuitem id="publishMenuitem"
|
||||
accesskey="&publishCmd.accesskey;"
|
||||
key="publishkb"
|
||||
observes="cmd_publish"/>
|
||||
<menuitem accesskey="&publishAsCmd.accesskey;"
|
||||
observes="cmd_publishAs"/>
|
||||
<menuseparator/>
|
||||
<menuitem accesskey="&filerevert.accesskey;" observes="cmd_revert"/>
|
||||
<menuitem accesskey="&fileRevert.accesskey;"
|
||||
observes="cmd_revert"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="fileExportToText" accesskey="&fileexporttotext.accesskey;" observes="cmd_exportToText"/>
|
||||
<menuitem id="previewInBrowser" label="&previewCmd.label;" accesskey="&filepreview.accesskey;" observes="cmd_preview"/>
|
||||
<menuitem id="fileExportToText"
|
||||
accesskey="&exportToTextCmd.accesskey;"
|
||||
observes="cmd_exportToText"/>
|
||||
<menuitem id="previewInBrowser"
|
||||
label="&previewCmd.label;"
|
||||
accesskey="&previewCmd.accesskey;"
|
||||
observes="cmd_preview"/>
|
||||
<!-- menuitem id="menu_SendPage" is merged here from mailEditorOverlay.xul,
|
||||
where "position" is assumed to be just after 'previewInBrowser' -->
|
||||
<menuitem id="printSetupMenuItem" accesskey="&fileprintsetup.accesskey;" label="&printSetupCmd.label;" command="cmd_printSetup"/>
|
||||
<menuitem id="printMenuItem" accesskey="&fileprint.accesskey;" key="printkb" observes="cmd_print" label="&printCmd.label;"/>
|
||||
<menuitem id="printSetupMenuItem"
|
||||
label="&printSetupCmd.label;"
|
||||
accesskey="&printSetupCmd.accesskey;"
|
||||
command="cmd_printSetup"/>
|
||||
<menuitem id="printMenuItem"
|
||||
label="&printCmd.label;"
|
||||
accesskey="&printCmd.accesskey;"
|
||||
key="printkb"
|
||||
observes="cmd_print"/>
|
||||
<!-- The Exit/Quit item is merged from platformGlobalOverlay.xul -->
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu id="editMenu" label="&editMenu.label;" accesskey="&editmenu.accesskey;">
|
||||
<menu id="editMenu" label="&editMenu.label;" accesskey="&editMenu.accesskey;">
|
||||
<menupopup id="edEditMenuPopup">
|
||||
<!-- from utilityOverlay.xul -->
|
||||
<menuitem id="menu_undo"/>
|
||||
|
@ -389,12 +423,12 @@
|
|||
<!-- PasteAs not implemented yet
|
||||
<menu id="menu_pasteAs" label="&pasteAs.label;" accesskey="&pasteAs.accesskey;">
|
||||
<menupopup onpopupshowing="InitPasteAsMenu();">
|
||||
<menuitem id="menu_pasteText" label="&pasteTextCmd.label;" accesskey="&pasteText.accesskey;"/>
|
||||
<menuitem id="menu_pasteImage" label="&pasteImageCmd.label;" accesskey="&pasteImage.accesskey;"/>
|
||||
<menuitem id="menu_pasteText" label="&pasteTextCmd.label;" accesskey="&pasteTextCmd.accesskey;"/>
|
||||
<menuitem id="menu_pasteImage" label="&pasteImageCmd.label;" accesskey="&pasteImageCmd.accesskey;"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="menu_pasteRows" label="&pasteRowsCmd.label;" accesskey="&pasteRows.accesskey;"/>
|
||||
<menuitem id="menu_pasteColumns" label="&pasteColumnsCmd.label;" accesskey="&pasteColumns.accesskey;"/>
|
||||
<menuitem id="menu_pasteTable" accesskey="&pasteTable.accesskey;"/>
|
||||
<menuitem id="menu_pasteRows" label="&pasteRowsCmd.label;" accesskey="&pasteRowsCmd.accesskey;"/>
|
||||
<menuitem id="menu_pasteColumns" label="&pasteColumnsCmd.label;" accesskey="&pasteColumnsCmd.accesskey;"/>
|
||||
<menuitem id="menu_pasteTable" accesskey="&pasteTableCmd.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
-->
|
||||
|
@ -402,14 +436,28 @@
|
|||
<menuseparator id="edEditMenuSep2" />
|
||||
<menuitem id="menu_selectAll"/>
|
||||
<menuseparator id="sep_find"/>
|
||||
<menuitem id="menu_find" accesskey="&editfind.accesskey;" key="findkb" observes="cmd_find" label="&findCmd.label;"/>
|
||||
<menuitem id="menu_findnext" accesskey="&editfindnext.accesskey;" key="findnextkb" observes="cmd_findNext"/>
|
||||
<menuitem id="menu_findprev" accesskey="&editfindprev.accesskey;" key="findprevkb" observes="cmd_findPrev"/>
|
||||
<menuitem id="menu_find"
|
||||
label="&findCmd.label;"
|
||||
accesskey="&findCmd.accesskey;"
|
||||
key="findkb"
|
||||
observes="cmd_find"/>
|
||||
<menuitem id="menu_findnext"
|
||||
accesskey="&findAgainCmd.accesskey;"
|
||||
key="findnextkb"
|
||||
observes="cmd_findNext"/>
|
||||
<menuitem id="menu_findprev"
|
||||
accesskey="&findPrevCmd.accesskey;"
|
||||
key="findprevkb"
|
||||
observes="cmd_findPrev"/>
|
||||
<menuseparator id="sep_checkspelling"/>
|
||||
<menuitem id="menu_checkspelling" accesskey="&editcheckspelling.accesskey;"
|
||||
key="checkspellingkb" observes="cmd_spelling" disabled="true"
|
||||
label="&checkSpellingCmd.label;"/>
|
||||
<menuitem id="menu_inlinespellcheck" type="checkbox"
|
||||
<menuitem id="menu_checkspelling"
|
||||
label="&checkSpellingCmd.label;"
|
||||
accesskey="&checkSpellingCmd.accesskey;"
|
||||
key="checkspellingkb"
|
||||
observes="cmd_spelling"
|
||||
disabled="true"/>
|
||||
<menuitem id="menu_inlinespellcheck"
|
||||
type="checkbox"
|
||||
label="&enableInlineSpellChecker.label;"
|
||||
accesskey="&enableInlineSpellChecker.accesskey;"
|
||||
oncommand="InlineSpellCheckerUI.enabled = !InlineSpellCheckerUI.enabled"/>
|
||||
|
@ -419,23 +467,63 @@
|
|||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menuitem id="viewNormalMode" type="radio" group="mode" accesskey="&NormalMode.accesskey;" observes="cmd_NormalMode"/>
|
||||
<menuitem id="viewAllTagsMode" type="radio" group="mode" accesskey="&AllTagsMode.accesskey;" observes="cmd_AllTagsMode"/>
|
||||
<menuitem id="viewSourceMode" type="radio" group="mode" accesskey="&HTMLSourceMode.accesskey;" observes="cmd_HTMLSourceMode" label="&HTMLSourceMode.label;"/>
|
||||
<menuitem id="viewPreviewMode" type="radio" group="mode" accesskey="&PreviewMode.accesskey;" observes="cmd_PreviewMode"/>
|
||||
<menuitem id="viewNormalMode"
|
||||
type="radio"
|
||||
group="mode"
|
||||
accesskey="&NormalMode.accesskey;"
|
||||
observes="cmd_NormalMode"/>
|
||||
<menuitem id="viewAllTagsMode"
|
||||
type="radio"
|
||||
group="mode"
|
||||
accesskey="&AllTagsMode.accesskey;"
|
||||
observes="cmd_AllTagsMode"/>
|
||||
<menuitem id="viewSourceMode"
|
||||
type="radio"
|
||||
group="mode"
|
||||
label="&HTMLSourceMode.label;"
|
||||
accesskey="&HTMLSourceMode.accesskey;"
|
||||
observes="cmd_HTMLSourceMode"/>
|
||||
<menuitem id="viewPreviewMode"
|
||||
type="radio"
|
||||
group="mode"
|
||||
accesskey="&PreviewMode.accesskey;"
|
||||
observes="cmd_PreviewMode"/>
|
||||
|
||||
<menupopup id = "composerCharsetMenuPopup" onpopupshowing="updateCharsetPopupMenu(this)" />
|
||||
|
||||
<!-- Insert menu -->
|
||||
<menu id="insertMenu" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;">
|
||||
<menu id="insertMenu"
|
||||
label="&insertMenu.label;"
|
||||
accesskey="&insertMenu.accesskey;">
|
||||
<menupopup id="insertMenuPopup">
|
||||
<menuitem id="insertImage" accesskey="&insertimage.accesskey;" observes="cmd_image" label="&insertImageCmd.label;"/>
|
||||
<menuitem id="insertTable" accesskey="&inserttable.accesskey;" observes="cmd_InsertTable" label="&insertTableCmd.label;"/>
|
||||
<menuitem id="insertLink" accesskey="&insertlink.accesskey;" observes="cmd_link" label="&insertLinkCmd.label;" key="insertlinkkb"/>
|
||||
<menuitem id="insertAnchor" accesskey="&insertanchor.accesskey;" observes="cmd_anchor" label="&insertAnchorCmd.label;"/>
|
||||
<menuitem id="insertHline" accesskey="&inserthline.accesskey;" observes="cmd_hline" label="&insertHLineCmd.label;"/>
|
||||
<menuitem id="insertHTMLSource" accesskey="&insertHTMLCmd.accesskey;" observes="cmd_insertHTMLWithDialog" key="inserthtmlkb"/>
|
||||
<menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" id="insertChars"/>
|
||||
<menuitem id="insertImage"
|
||||
label="&insertImageCmd.label;"
|
||||
accesskey="&insertImageCmd.accesskey;"
|
||||
observes="cmd_image"/>
|
||||
<menuitem id="insertTable"
|
||||
label="&insertTableCmd.label;"
|
||||
accesskey="&insertTableCmd.accesskey;"
|
||||
observes="cmd_InsertTable"/>
|
||||
<menuitem id="insertLink"
|
||||
label="&insertLinkCmd.label;"
|
||||
accesskey="&insertLinkCmd.accesskey;"
|
||||
observes="cmd_link"
|
||||
key="insertlinkkb"/>
|
||||
<menuitem id="insertAnchor"
|
||||
label="&insertAnchorCmd.label;"
|
||||
accesskey="&insertAnchorCmd.accesskey;"
|
||||
observes="cmd_anchor"/>
|
||||
<menuitem id="insertHline"
|
||||
label="&insertHLineCmd.label;"
|
||||
accesskey="&insertHLineCmd.accesskey;"
|
||||
observes="cmd_hline"/>
|
||||
<menuitem id="insertHTMLSource"
|
||||
accesskey="&insertHTMLCmd.accesskey;"
|
||||
observes="cmd_insertHTMLWithDialog"
|
||||
key="inserthtmlkb"/>
|
||||
<menuitem accesskey="&insertCharsCmd.accesskey;"
|
||||
observes="cmd_insertChars"
|
||||
id="insertChars"/>
|
||||
<menu id="insertTOC" label="&tocMenu.label;" accesskey="&tocMenu.accesskey;">
|
||||
<menupopup onpopupshowing="InitTOCMenu()">
|
||||
<menuitem id="insertTOCMenuitem"
|
||||
|
@ -454,87 +542,207 @@
|
|||
</menu>
|
||||
<menuseparator id="insertMenuSeparator"/>
|
||||
<!-- Activate this after Enter key inserts P tag and not BR
|
||||
<menuitem accesskey="&insertbreak.accesskey;" observes="cmd_insertBreak" label="&insertBreakCmd.label;"/>
|
||||
<menuitem accesskey="&insertBreakCmd.accesskey;" observes="cmd_insertBreak" label="&insertBreakCmd.label;"/>
|
||||
-->
|
||||
<menuitem id="insertBreakAll" accesskey="&insertbreakall.accesskey;" observes="cmd_insertBreakAll" label="&insertBreakAllCmd.label;"/>
|
||||
<menuitem id="insertBreakAll" accesskey="&insertBreakAllCmd.accesskey;" observes="cmd_insertBreakAll" label="&insertBreakAllCmd.label;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Insert menu for PlainText editor -->
|
||||
<menu id="insertMenuPlainText" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;">
|
||||
<menu id="insertMenuPlainText"
|
||||
label="&insertMenu.label;"
|
||||
accesskey="&insertMenu.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" />
|
||||
<menuitem accesskey="&insertCharsCmd.accesskey;"
|
||||
observes="cmd_insertChars"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Format Menu -->
|
||||
<menupopup id="formatMenuPopup" onpopupshowing="EditorInitFormatMenu()">
|
||||
<!-- Font face submenu -->
|
||||
<menu id="fontFaceMenu" label="&fontfaceMenu.label;" accesskey="&formatfontmenu.accesskey;"
|
||||
<menu id="fontFaceMenu"
|
||||
label="&fontfaceMenu.label;"
|
||||
accesskey="&fontfaceMenu.accesskey;"
|
||||
position="1">
|
||||
<menupopup oncommand="if (event.target.localName == 'menuitem')
|
||||
doStatefulCommand('cmd_fontFace', event.target.getAttribute('value'));"
|
||||
onpopupshowing="initFontFaceMenu(this);">
|
||||
<menuitem label="&fontVarWidth.label;" accesskey="&fontvarwidth.accesskey;" value="" type="radio" name="1" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontFixedWidth.label;" accesskey="&fontfixedwidth.accesskey;" value="tt" type="radio" name="1" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontVarWidth.label;"
|
||||
accesskey="&fontVarWidth.accesskey;"
|
||||
value=""
|
||||
type="radio"
|
||||
name="1"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontFixedWidth.label;"
|
||||
accesskey="&fontFixedWidth.accesskey;"
|
||||
value="tt"
|
||||
type="radio"
|
||||
name="1"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&fontHelveticaFont.label;" accesskey="&fonthelvetica.accesskey;" value="Helvetica, Arial, sans-serif" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontTimes.label;" accesskey="&fonttimes.accesskey;" value="Times New Roman, Times, serif" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontCourier.label;" accesskey="&fontcourier.accesskey;" value="Courier New, Courier, monospace" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontHelvetica.label;"
|
||||
accesskey="&fontHelvetica.accesskey;"
|
||||
value="Helvetica, Arial, sans-serif"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontTimes.label;"
|
||||
accesskey="&fontTimes.accesskey;"
|
||||
value="Times New Roman, Times, serif"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontCourier.label;"
|
||||
accesskey="&fontCourier.accesskey;"
|
||||
value="Courier New, Courier, monospace"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuseparator/>
|
||||
<!-- Local font face items added here by initLocalFontFaceMenu() -->
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Font size submenu -->
|
||||
<menu id="fontSizeMenu" label="&fontsizeMenu.label;"
|
||||
accesskey="&formatsizemenu.accesskey;"
|
||||
<menu id="fontSizeMenu" label="&fontSizeMenu.label;"
|
||||
accesskey="&fontSizeMenu.accesskey;"
|
||||
position="2">
|
||||
<menupopup onpopupshowing="initFontSizeMenu(this)">
|
||||
<menuitem label="&decreaseFontSize.label;" accesskey="&decreasefontsize.accesskey;" observes="cmd_decreaseFont" type="radio" name="1" key="decreasefontsizekb"/>
|
||||
<menuitem label="&increaseFontSize.label;" accesskey="&increasefontsize.accesskey;" observes="cmd_increaseFont" type="radio" name="1" key="increasefontsizekb"/>
|
||||
<menuitem label="&decreaseFontSize.label;"
|
||||
accesskey="&decreaseFontSize.accesskey;"
|
||||
observes="cmd_decreaseFont" type="radio"
|
||||
name="1"
|
||||
key="decreasefontsizekb"/>
|
||||
<menuitem label="&increaseFontSize.label;"
|
||||
accesskey="&increaseFontSize.accesskey;"
|
||||
observes="cmd_increaseFont"
|
||||
type="radio"
|
||||
name="1" key="increasefontsizekb"/>
|
||||
<menuseparator/>
|
||||
<!-- Not supported in current font size implementation
|
||||
<menuitem label="&size-xx-smallCmd.label;" accesskey="&size-xx-small.accesskey;" oncommand="EditorSetFontSize('xx-small')" type="radio" name="2" />
|
||||
<menuitem label="&size-xx-smallCmd.label;" accesskey="&size-xx-smallCmd.accesskey;" oncommand="EditorSetFontSize('xx-small')" type="radio" name="2"/>
|
||||
-->
|
||||
<menuitem label="&size-x-smallCmd.label;" accesskey="&size-x-small.accesskey;" oncommand="EditorSetFontSize('x-small')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-smallCmd.label;" accesskey="&size-small.accesskey;" oncommand="EditorSetFontSize('small')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-mediumCmd.label;" accesskey="&size-medium.accesskey;" oncommand="EditorSetFontSize('medium')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-largeCmd.label;" accesskey="&size-large.accesskey;" oncommand="EditorSetFontSize('large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-x-largeCmd.label;" accesskey="&size-x-large.accesskey;" oncommand="EditorSetFontSize('x-large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-xx-largeCmd.label;" accesskey="&size-xx-large.accesskey;" oncommand="EditorSetFontSize('xx-large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-x-smallCmd.label;"
|
||||
accesskey="&size-x-smallCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('x-small')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-smallCmd.label;"
|
||||
accesskey="&size-smallCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('small')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-mediumCmd.label;"
|
||||
accesskey="&size-mediumCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('medium')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-largeCmd.label;"
|
||||
accesskey="&size-largeCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('large')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-x-largeCmd.label;"
|
||||
accesskey="&size-x-largeCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('x-large')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-xx-largeCmd.label;"
|
||||
accesskey="&size-xx-largeCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('xx-large')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Font style submenu -->
|
||||
<menu id="fontStyleMenu" label="&fontStyleMenu.label;"
|
||||
accesskey="&formatstylemenu.accesskey;"
|
||||
accesskey="&fontStyleMenu.accesskey;"
|
||||
position="3">
|
||||
<menupopup onpopupshowing="initFontStyleMenu(this)">
|
||||
<menuitem label="&styleBoldCmd.label;" accesskey="&stylebold.accesskey;" observes="cmd_bold" type="checkbox" key="boldkb"/>
|
||||
<menuitem label="&styleItalicCmd.label;" accesskey="&styleitalic.accesskey;" observes="cmd_italic" type="checkbox" key="italickb" />
|
||||
<menuitem label="&styleUnderlineCmd.label;" accesskey="&styleunderline.accesskey;" observes="cmd_underline" type="checkbox" key="underlinekb"/>
|
||||
<menuitem label="&styleStrikeThruCmd.label;" accesskey="&stylestrikethru.accesskey;" observes="cmd_strikethrough" type="checkbox"/>
|
||||
<menuitem label="&styleSuperscriptCmd.label;" accesskey="&stylesuperscript.accesskey;" observes="cmd_superscript" type="checkbox"/>
|
||||
<menuitem label="&styleSubscriptCmd.label;" accesskey="&stylesubscript.accesskey;" observes="cmd_subscript" type="checkbox"/>
|
||||
<menuitem label="&fontFixedWidth.label;" accesskey="&fontfixedwidth.accesskey;" observes="cmd_tt" type="checkbox" key="fixedwidthkb"/>
|
||||
<menuitem label="&styleNonbreakingCmd.label;" accesskey="&stylenonbreaking.accesskey;" observes="cmd_nobreak" type="checkbox"/>
|
||||
<menuitem label="&styleBoldCmd.label;"
|
||||
accesskey="&styleBoldCmd.accesskey;"
|
||||
observes="cmd_bold"
|
||||
type="checkbox"
|
||||
key="boldkb"/>
|
||||
<menuitem label="&styleItalicCmd.label;"
|
||||
accesskey="&styleItalicCmd.accesskey;"
|
||||
observes="cmd_italic"
|
||||
type="checkbox"
|
||||
key="italickb"/>
|
||||
<menuitem label="&styleUnderlineCmd.label;"
|
||||
accesskey="&styleUnderlineCmd.accesskey;"
|
||||
observes="cmd_underline"
|
||||
type="checkbox"
|
||||
key="underlinekb"/>
|
||||
<menuitem label="&styleStrikeThruCmd.label;"
|
||||
accesskey="&styleStrikeThruCmd.accesskey;"
|
||||
observes="cmd_strikethrough"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleSuperscriptCmd.label;"
|
||||
accesskey="&styleSuperscriptCmd.accesskey;"
|
||||
observes="cmd_superscript"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleSubscriptCmd.label;"
|
||||
accesskey="&styleSubscriptCmd.accesskey;"
|
||||
observes="cmd_subscript"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&fontFixedWidth.label;"
|
||||
accesskey="&fontFixedWidth.accesskey;"
|
||||
observes="cmd_tt"
|
||||
type="checkbox"
|
||||
key="fixedwidthkb"/>
|
||||
<menuitem label="&styleNonbreakingCmd.label;"
|
||||
accesskey="&styleNonbreakingCmd.accesskey;"
|
||||
observes="cmd_nobreak"
|
||||
type="checkbox"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&styleEm.label;" accesskey="&styleEm.accesskey;" observes="cmd_em" type="checkbox"/>
|
||||
<menuitem label="&styleStrong.label;" accesskey="&styleStrong.accesskey;" observes="cmd_strong" type="checkbox"/>
|
||||
<menuitem label="&styleCite.label;" accesskey="&styleCite.accesskey;" observes="cmd_cite" type="checkbox"/>
|
||||
<menuitem label="&styleAbbr.label;" accesskey="&styleAbbr.accesskey;" observes="cmd_abbr" type="checkbox"/>
|
||||
<menuitem label="&styleAcronym.label;" accesskey="&styleAcronym.accesskey;" observes="cmd_acronym" type="checkbox"/>
|
||||
<menuitem label="&styleCode.label;" accesskey="&styleCode.accesskey;" observes="cmd_code" type="checkbox"/>
|
||||
<menuitem label="&styleSamp.label;" accesskey="&styleSamp.accesskey;" observes="cmd_samp" type="checkbox"/>
|
||||
<menuitem label="&styleVar.label;" accesskey="&styleVar.accesskey;" observes="cmd_var" type="checkbox"/>
|
||||
<menuitem label="&styleEm.label;"
|
||||
accesskey="&styleEm.accesskey;"
|
||||
observes="cmd_em"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleStrong.label;"
|
||||
accesskey="&styleStrong.accesskey;"
|
||||
observes="cmd_strong"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleCite.label;"
|
||||
accesskey="&styleCite.accesskey;"
|
||||
observes="cmd_cite"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleAbbr.label;"
|
||||
accesskey="&styleAbbr.accesskey;"
|
||||
observes="cmd_abbr"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleAcronym.label;"
|
||||
accesskey="&styleAcronym.accesskey;"
|
||||
observes="cmd_acronym"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleCode.label;"
|
||||
accesskey="&styleCode.accesskey;"
|
||||
observes="cmd_code"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleSamp.label;"
|
||||
accesskey="&styleSamp.accesskey;"
|
||||
observes="cmd_samp"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleVar.label;"
|
||||
accesskey="&styleVar.accesskey;"
|
||||
observes="cmd_var"
|
||||
type="checkbox"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Note: "cmd_fontColor" only monitors color state, it doesn't execute the command
|
||||
(We should use "cmd_fontColorState" and "cmd_backgroundColorState" ?) -->
|
||||
<menuitem id="fontColor" label="&formatFontColor.label;"
|
||||
accesskey="&formatfontcolor.accesskey;"
|
||||
accesskey="&formatFontColor.accesskey;"
|
||||
observes="cmd_fontColor"
|
||||
oncommand="EditorSelectColor('Text', null);"
|
||||
position="4"/>
|
||||
|
@ -560,52 +768,169 @@
|
|||
-->
|
||||
<!-- Paragraph Style submenu -->
|
||||
<menu id="paragraphMenu" label="¶graphMenu.label;"
|
||||
accesskey="&formatparagraphmenu.accesskey;"
|
||||
accesskey="¶graphMenu.accesskey;"
|
||||
position="10" onpopupshowing="InitParagraphMenu()">
|
||||
<menupopup oncommand="doStatefulCommand('cmd_paragraphState', event.target.getAttribute('value'))">
|
||||
<menuitem id="menu_bodyText" type="radio" name="1" label="&bodyTextCmd.label;" accesskey="&bodytext.accesskey;" value="" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_p" type="radio" name="1" label="¶graphParagraphCmd.label;" accesskey="¶graphparagraph.accesskey;" value="p" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h1" type="radio" name="1" label="&heading1Cmd.label;" accesskey="&heading1.accesskey;" value="h1" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h2" type="radio" name="1" label="&heading2Cmd.label;" accesskey="&heading2.accesskey;" value="h2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h3" type="radio" name="1" label="&heading3Cmd.label;" accesskey="&heading3.accesskey;" value="h3" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h4" type="radio" name="1" label="&heading4Cmd.label;" accesskey="&heading4.accesskey;" value="h4" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h5" type="radio" name="1" label="&heading5Cmd.label;" accesskey="&heading5.accesskey;" value="h5" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h6" type="radio" name="1" label="&heading6Cmd.label;" accesskey="&heading6.accesskey;" value="h6" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_address" type="radio" name="1" label="¶graphAddressCmd.label;" accesskey="¶graphaddress.accesskey;" value="address" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_pre" type="radio" name="1" label="¶graphPreformatCmd.label;" accesskey="¶graphpreformat.accesskey;" value="pre" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_bodyText"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&bodyTextCmd.label;"
|
||||
accesskey="&bodyTextCmd.accesskey;"
|
||||
value=""
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_p"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="¶graphParagraphCmd.label;"
|
||||
accesskey="¶graphParagraphCmd.accesskey;"
|
||||
value="p"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h1"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading1Cmd.label;"
|
||||
accesskey="&heading1Cmd.accesskey;"
|
||||
value="h1"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h2"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading2Cmd.label;"
|
||||
accesskey="&heading2Cmd.accesskey;"
|
||||
value="h2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h3"
|
||||
type="radio"
|
||||
name="1" label="&heading3Cmd.label;"
|
||||
accesskey="&heading3Cmd.accesskey;"
|
||||
value="h3"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h4"
|
||||
type="radio"
|
||||
name="1" label="&heading4Cmd.label;"
|
||||
accesskey="&heading4Cmd.accesskey;"
|
||||
value="h4"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h5"
|
||||
type="radio"
|
||||
name="1" label="&heading5Cmd.label;"
|
||||
accesskey="&heading5Cmd.accesskey;"
|
||||
value="h5"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h6"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading6Cmd.label;"
|
||||
accesskey="&heading6Cmd.accesskey;"
|
||||
value="h6"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_address"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="¶graphAddressCmd.label;"
|
||||
accesskey="¶graphAddressCmd.accesskey;"
|
||||
value="address"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_pre"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="¶graphPreformatCmd.label;"
|
||||
accesskey="¶graphPreformatCmd.accesskey;"
|
||||
value="pre"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- List Style submenu -->
|
||||
<menu id="listMenu" label="&formatlistMenu.label;"
|
||||
accesskey="&formatlistmenu.accesskey;"
|
||||
accesskey="&formatlistMenu.accesskey;"
|
||||
position="11" onpopupshowing="InitListMenu()">
|
||||
<menupopup>
|
||||
<menuitem id="menu_noList" type="radio" name="1" label="&noneCmd.label;" accesskey="&none.accesskey;" observes="cmd_removeList"/>
|
||||
<menuitem id="menu_ul" type="radio" name="1" label="&listBulletCmd.label;" accesskey="&listbullet.accesskey;" observes="cmd_ul"/>
|
||||
<menuitem id="menu_ol" type="radio" name="1" label="&listNumberedCmd.label;" accesskey="&listnumbered.accesskey;" observes="cmd_ol"/>
|
||||
<menuitem id="menu_dt" type="radio" name="1" label="&listTermCmd.label;" accesskey="&listterm.accesskey;" observes="cmd_dt"/>
|
||||
<menuitem id="menu_dd" type="radio" name="1" label="&listDefinitionCmd.label;" accesskey="&listdefinition.accesskey;" observes="cmd_dd"/>
|
||||
<menuitem id="menu_noList"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&noneCmd.label;"
|
||||
accesskey="&noneCmd.accesskey;"
|
||||
observes="cmd_removeList"/>
|
||||
<menuitem id="menu_ul"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listBulletCmd.label;"
|
||||
accesskey="&listBulletCmd.accesskey;"
|
||||
observes="cmd_ul"/>
|
||||
<menuitem id="menu_ol"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listNumberedCmd.label;"
|
||||
accesskey="&listNumberedCmd.accesskey;"
|
||||
observes="cmd_ol"/>
|
||||
<menuitem id="menu_dt"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listTermCmd.label;"
|
||||
accesskey="&listTermCmd.accesskey;"
|
||||
observes="cmd_dt"/>
|
||||
<menuitem id="menu_dd"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listDefinitionCmd.label;"
|
||||
accesskey="&listDefinitionCmd.accesskey;"
|
||||
observes="cmd_dd"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="listProps" label="&listProps.label;" accesskey="&listprops.accesskey;" observes="cmd_listProperties"/>
|
||||
<menuitem id="listProps"
|
||||
label="&listPropsCmd.label;"
|
||||
accesskey="&listPropsCmd.accesskey;"
|
||||
observes="cmd_listProperties"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator id="identingSep" position="12"/>
|
||||
|
||||
<menuitem id="increaseIndent" label="&increaseIndent.label;" accesskey="&increaseindent.accesskey;" key="increaseindentkb"
|
||||
observes="cmd_indent" position="13"/>
|
||||
<menuitem id="decreaseIndent" label="&decreaseIndent.label;" accesskey="&decreaseindent.accesskey;" key="decreaseindentkb"
|
||||
observes="cmd_outdent" position="14"/>
|
||||
<menuitem id="increaseIndent"
|
||||
label="&increaseIndent.label;"
|
||||
accesskey="&increaseIndent.accesskey;"
|
||||
key="increaseindentkb"
|
||||
observes="cmd_indent"
|
||||
position="13"/>
|
||||
<menuitem id="decreaseIndent"
|
||||
label="&decreaseIndent.label;"
|
||||
accesskey="&decreaseIndent.accesskey;"
|
||||
key="decreaseindentkb"
|
||||
observes="cmd_outdent"
|
||||
position="14"/>
|
||||
|
||||
<menu id="alignMenu" label="&alignMenu.label;" accesskey="&formatalignmenu.accesskey;"
|
||||
<menu id="alignMenu" label="&alignMenu.label;" accesskey="&alignMenu.accesskey;"
|
||||
onpopupshowing="InitAlignMenu()"
|
||||
position="15">
|
||||
<!-- Align submenu -->
|
||||
<menupopup oncommand="doStatefulCommand('cmd_align', event.target.getAttribute('value'))">
|
||||
<menuitem id="menu_left" label="&alignLeft.label;" accesskey="&alignleft.accesskey;" type="radio" name="1" value="left" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_center" label="&alignCenter.label;" accesskey="&aligncenter.accesskey;" type="radio" name="1" value="center" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_right" label="&alignRight.label;" accesskey="&alignright.accesskey;" type="radio" name="1" value="right" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_justify" label="&alignJustify.label;" accesskey="&alignjustify.accesskey;" type="radio" name="1" value="justify" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_left"
|
||||
label="&alignLeft.label;"
|
||||
accesskey="&alignLeft.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="left"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_center"
|
||||
label="&alignCenter.label;"
|
||||
accesskey="&alignCenter.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="center"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_right"
|
||||
label="&alignRight.label;"
|
||||
accesskey="&alignRight.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="right"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_justify"
|
||||
label="&alignJustify.label;"
|
||||
accesskey="&alignJustify.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="justify"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator id="tableSep" position="16"/>
|
||||
|
@ -620,54 +945,119 @@
|
|||
<!-- label and accesskey filled in during menu creation -->
|
||||
<menuitem id="objectProperties" oncommand="goDoCommand('cmd_objectProperties')" observes="cmd_renderedHTMLEnabler"/>
|
||||
<!-- Don't use 'observes', must call command correctly -->
|
||||
<menuitem id="pageProperties" label="&pageProperties.label;" accesskey="&pageproperties.accesskey;"
|
||||
oncommand="goDoCommand('cmd_pageProperties')" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="colorsAndBackground" label="&colorsAndBackground.label;" accesskey="&colorsandbackground.accesskey;"
|
||||
oncommand="goDoCommand('cmd_colorProperties')" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="pageProperties"
|
||||
label="&pageProperties.label;"
|
||||
accesskey="&pageProperties.accesskey;"
|
||||
oncommand="goDoCommand('cmd_pageProperties')"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="colorsAndBackground"
|
||||
label="&colorsAndBackground.label;"
|
||||
accesskey="&colorsAndBackground.accesskey;"
|
||||
oncommand="goDoCommand('cmd_colorProperties')"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
|
||||
<menu id="tableMenu" label="&tableMenu.label;" accesskey="&tablemenu.accesskey;">
|
||||
<menu id="tableMenu" label="&tableMenu.label;" accesskey="&tableMenu.accesskey;">
|
||||
<menupopup onpopupshowing="EditorInitTableMenu()">
|
||||
<!-- From EditorCommandOverlay.xul (shared with context popup) -->
|
||||
<menu id="tableInsertMenu" label="&tableInsertMenu.label;" accesskey="&tableinsertmenu.accesskey;">
|
||||
<menu id="tableInsertMenu" label="&tableInsertMenu.label;" accesskey="&tableInsertMenu.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem label="&insertTableCmd.label;" accesskey="&tabletable.accesskey;" observes="cmd_InsertTable"/>
|
||||
<menuitem label="&insertTableCmd.label;"
|
||||
accesskey="&insertTableCmd.accesskey;"
|
||||
observes="cmd_InsertTable"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableRowAbove.label;" accesskey="&tablerow.accesskey;" observes="cmd_InsertRowAbove"/>
|
||||
<menuitem label="&tableRowBelow.label;" accesskey="&tablerowbelow.accesskey;" observes="cmd_InsertRowBelow"/>
|
||||
<menuitem label="&tableRowAbove.label;"
|
||||
accesskey="&tableRowAbove.accesskey;"
|
||||
observes="cmd_InsertRowAbove"/>
|
||||
<menuitem label="&tableRowBelow.label;"
|
||||
accesskey="&tableRowBelow.accesskey;"
|
||||
observes="cmd_InsertRowBelow"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableColumnBefore.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_InsertColumnBefore"/>
|
||||
<menuitem label="&tableColumnAfter.label;" accesskey="&tablecolumnafter.accesskey;" observes="cmd_InsertColumnAfter"/>
|
||||
<menuitem label="&tableColumnBefore.label;"
|
||||
accesskey="&tableColumnBefore.accesskey;"
|
||||
observes="cmd_InsertColumnBefore"/>
|
||||
<menuitem label="&tableColumnAfter.label;"
|
||||
accesskey="&tableColumnAfter.accesskey;"
|
||||
observes="cmd_InsertColumnAfter"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableCellBefore.label;" accesskey="&tablecell.accesskey;" observes="cmd_InsertCellBefore"/>
|
||||
<menuitem label="&tableCellAfter.label;" accesskey="&tablecellafter.accesskey;" observes="cmd_InsertCellAfter"/>
|
||||
<menuitem label="&tableCellBefore.label;"
|
||||
accesskey="&tableCellBefore.accesskey;"
|
||||
observes="cmd_InsertCellBefore"/>
|
||||
<menuitem label="&tableCellAfter.label;"
|
||||
accesskey="&tableCellAfter.accesskey;"
|
||||
observes="cmd_InsertCellAfter"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="tableSelectMenu" label="&tableSelectMenu.label;" accesskey="&tableselectmenu.accesskey;">
|
||||
<menu id="tableSelectMenu" label="&tableSelectMenu.label;" accesskey="&tableSelectMenu.accesskey;">
|
||||
<menupopup id="tableSelectPopup">
|
||||
<menuitem id="menu_SelectTable" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_SelectTable" />
|
||||
<menuitem id="menu_SelectRow" label="&tableRow.label;" accesskey="&tablerow.accesskey;" observes="cmd_SelectRow" />
|
||||
<menuitem id="menu_SelectColumn" label="&tableColumn.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_SelectColumn" />
|
||||
<menuitem id="menu_SelectCell" label="&tableCell.label;" accesskey="&tablecell.accesskey;" observes="cmd_SelectCell" />
|
||||
<menuitem id="menu_SelectAllCells" label="&tableAllCells.label;" accesskey="&tableallcells.accesskey;" observes="cmd_SelectAllCells" />
|
||||
<menuitem id="menu_SelectTable"
|
||||
label="&tableTable.label;"
|
||||
accesskey="&tableTable.accesskey;"
|
||||
observes="cmd_SelectTable"/>
|
||||
<menuitem id="menu_SelectRow"
|
||||
label="&tableRow.label;"
|
||||
accesskey="&tableRow.accesskey;"
|
||||
observes="cmd_SelectRow"/>
|
||||
<menuitem id="menu_SelectColumn"
|
||||
label="&tableColumn.label;"
|
||||
accesskey="&tableColumn.accesskey;"
|
||||
observes="cmd_SelectColumn"/>
|
||||
<menuitem id="menu_SelectCell"
|
||||
label="&tableCell.label;"
|
||||
accesskey="&tableCell.accesskey;"
|
||||
observes="cmd_SelectCell"/>
|
||||
<menuitem id="menu_SelectAllCells"
|
||||
label="&tableAllCells.label;"
|
||||
accesskey="&tableAllCells.accesskey;"
|
||||
observes="cmd_SelectAllCells"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="tableDeleteMenu" label="&tableDeleteMenu.label;" accesskey="&tabledeletemenu.accesskey;">
|
||||
<menu id="tableDeleteMenu" label="&tableDeleteMenu.label;" accesskey="&tableDeleteMenu.accesskey;">
|
||||
<menupopup id="tableDeletePopup">
|
||||
<menuitem id="menu_DeleteTable" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_DeleteTable"/>
|
||||
<menuitem id="menu_DeleteRow" label="&tableRows.label;" accesskey="&tablerow.accesskey;" observes="cmd_DeleteRow"/>
|
||||
<menuitem id="menu_DeleteColumn" label="&tableColumns.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_DeleteColumn"/>
|
||||
<menuitem id="menu_DeleteCell" label="&tableCells.label;" accesskey="&tablecell.accesskey;" observes="cmd_DeleteCell"/>
|
||||
<menuitem id="menu_DeleteCellContents" label="&tableCellContents.label;" accesskey="&tablecellcontents.accesskey;" observes="cmd_DeleteCellContents"/>
|
||||
<menuitem id="menu_DeleteTable"
|
||||
label="&tableTable.label;"
|
||||
accesskey="&tableTable.accesskey;"
|
||||
observes="cmd_DeleteTable"/>
|
||||
<menuitem id="menu_DeleteRow"
|
||||
label="&tableRows.label;"
|
||||
accesskey="&tableRow.accesskey;"
|
||||
observes="cmd_DeleteRow"/>
|
||||
<menuitem id="menu_DeleteColumn"
|
||||
label="&tableColumns.label;"
|
||||
accesskey="&tableColumn.accesskey;"
|
||||
observes="cmd_DeleteColumn"/>
|
||||
<menuitem id="menu_DeleteCell"
|
||||
label="&tableCells.label;"
|
||||
accesskey="&tableCell.accesskey;"
|
||||
observes="cmd_DeleteCell"/>
|
||||
<menuitem id="menu_DeleteCellContents"
|
||||
label="&tableCellContents.label;"
|
||||
accesskey="&tableCellContents.accesskey;"
|
||||
observes="cmd_DeleteCellContents"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator />
|
||||
<!-- menu label is set in InitTableMenu -->
|
||||
<menuitem id="menu_JoinTableCells" label="&tableJoinCells.label;" accesskey="&tablejoincells.accesskey;" observes="cmd_JoinTableCells"/>
|
||||
<menuitem id="menu_SlitTableCell" label="&tableSplitCell.label;" accesskey="&tablesplitcell.accesskey;" observes="cmd_SplitTableCell"/>
|
||||
<menuitem id="menu_ConvertToTable" label="&convertToTable.label;" accesskey="&converttotable.accesskey;" observes="cmd_ConvertToTable"/>
|
||||
<menuitem id="menu_JoinTableCells"
|
||||
label="&tableJoinCells.label;"
|
||||
accesskey="&tableJoinCells.accesskey;"
|
||||
observes="cmd_JoinTableCells"/>
|
||||
<menuitem id="menu_SlitTableCell"
|
||||
label="&tableSplitCell.label;"
|
||||
accesskey="&tableSplitCell.accesskey;"
|
||||
observes="cmd_SplitTableCell"/>
|
||||
<menuitem id="menu_ConvertToTable"
|
||||
label="&convertToTable.label;"
|
||||
accesskey="&convertToTable.accesskey;"
|
||||
observes="cmd_ConvertToTable"/>
|
||||
<menuseparator />
|
||||
<menuitem id="menu_TableOrCellColor" label="&tableOrCellColor.label;" accesskey="&tableOrCellColor.accesskey;" observes="cmd_TableOrCellColor"/>
|
||||
<menuitem id="menu_tableProperties" label="&tableProperties.label;" accesskey="&tableProperties.accesskey;" observes="cmd_editTable"/>
|
||||
<menuitem id="menu_TableOrCellColor"
|
||||
label="&tableOrCellColor.label;"
|
||||
accesskey="&tableOrCellColor.accesskey;"
|
||||
observes="cmd_TableOrCellColor"/>
|
||||
<menuitem id="menu_tableProperties"
|
||||
label="&tableProperties.label;"
|
||||
accesskey="&tableProperties.accesskey;"
|
||||
observes="cmd_editTable"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
@ -743,7 +1133,7 @@
|
|||
tooltiptext="&printToolbarCmd.tooltip;"
|
||||
oncommand="if (event.target==this) goDoCommand('cmd_print');">
|
||||
<menupopup id="printMenu">
|
||||
<menuitem id="printMenuItemToolbar" accesskey="&fileprint.accesskey;" label="&printCmd.label;" default="true"
|
||||
<menuitem id="printMenuItemToolbar" accesskey="&printCmd.accesskey;" label="&printCmd.label;" default="true"
|
||||
oncommand="goDoCommand('cmd_print');"/>
|
||||
<!-- 'printSetupToolbar' is merged in here from platformGlobalOverlay.xul -->
|
||||
</menupopup>
|
||||
|
@ -797,7 +1187,7 @@
|
|||
<menuitem label="&fontVarWidth.label;" value=""/>
|
||||
<menuitem label="&fontFixedWidth.label;" value="tt"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&fontHelveticaFont.label;" value="Helvetica, Arial, sans-serif"/>
|
||||
<menuitem label="&fontHelvetica.label;" value="Helvetica, Arial, sans-serif"/>
|
||||
<menuitem label="&fontTimes.label;" value="Times New Roman, Times, serif"/>
|
||||
<menuitem label="&fontCourier.label;" value="Courier New, Courier, monospace"/>
|
||||
<menuseparator/>
|
||||
|
@ -915,7 +1305,7 @@
|
|||
<!-- Paste as quotation is used by mail compose,
|
||||
but in composer it has to go in the debug menu
|
||||
-->
|
||||
<menuitem id="menu_pasteQuote" accesskey="&editpastequotation.accesskey;"
|
||||
<menuitem id="menu_pasteQuote" accesskey="&pasteAsQuotationCmd.accesskey;"
|
||||
command="cmd_pasteQuote"/>
|
||||
|
||||
</overlay>
|
||||
|
|
|
@ -102,11 +102,11 @@
|
|||
preference="editor.use_custom_colors">
|
||||
<radio id="defaultColorsRadio"
|
||||
value="false"
|
||||
label="&defaultColorsRadio.label;"
|
||||
label="&defaultColors.label;"
|
||||
accesskey="&defaultColors.accesskey;"/>
|
||||
<radio id="customColorsRadio"
|
||||
value="true"
|
||||
label="&customColorsRadio.label;"
|
||||
label="&customColors.label;"
|
||||
accesskey="&customColors.accesskey;"/>
|
||||
</radiogroup>
|
||||
<hbox class="indent">
|
||||
|
|
|
@ -44,11 +44,11 @@
|
|||
|
||||
<!-- View menu items -->
|
||||
<!ENTITY viewMenu.label "View">
|
||||
<!ENTITY viewMenu.accesskey "v">
|
||||
<!ENTITY viewMenu.accesskey "V">
|
||||
<!ENTITY compositionToolbarCmd.label "Composition Toolbar">
|
||||
<!ENTITY compositionToolbarCmd.accesskey "c">
|
||||
<!ENTITY compositionToolbarCmd.accesskey "C">
|
||||
<!ENTITY formattingToolbarCmd.label "Format Toolbar">
|
||||
<!ENTITY formattingToolbarCmd.accesskey "f">
|
||||
<!ENTITY formattingToolbarCmd.accesskey "F">
|
||||
<!ENTITY editmodeToolbarCmd.label "Edit Mode Toolbar">
|
||||
<!ENTITY editmodeToolbarCmd.accesskey "E">
|
||||
|
||||
|
@ -63,4 +63,3 @@
|
|||
<!ENTITY editMode.label "Edit Mode:">
|
||||
|
||||
<!ENTITY statusText.label "Done loading page">
|
||||
|
||||
|
|
|
@ -172,10 +172,10 @@ AdvancedEditForCellMsg=Advanced Edit is unavailable when multiple cells are sele
|
|||
ObjectProperties=%obj% Properties…
|
||||
# LOCALIZATION NOTE This character must be in the above string and not confict with other accesskeys in Format menu
|
||||
ObjectPropertiesAccessKey=o
|
||||
# LOCALIZATION NOTE (JoinSelectedCells): This variable should contain the "tablejoincells.accesskey"
|
||||
# LOCALIZATION NOTE (JoinSelectedCells): This variable should contain the "tableJoinCells.accesskey"
|
||||
# letter as defined in editorOverlay.dtd
|
||||
JoinSelectedCells=Join Selected Cells
|
||||
# LOCALIZATION NOTE (JoinCellToRight): This variable should contain the "tablejoincells.accesskey"
|
||||
# LOCALIZATION NOTE (JoinCellToRight): This variable should contain the "tableJoinCells.accesskey"
|
||||
# letter as defined in editorOverlay.dtd
|
||||
JoinCellToRight=Join with Cell to the Right
|
||||
JoinCellAccesskey=j
|
||||
|
|
|
@ -44,56 +44,54 @@
|
|||
|
||||
<!-- File menu items -->
|
||||
<!ENTITY fileMenu.label "File">
|
||||
<!ENTITY filemenu.accesskey "f">
|
||||
<!ENTITY fileMenu.accesskey "F">
|
||||
<!ENTITY newBlankPageCmd.label "Composer Page">
|
||||
<!ENTITY newBlankPage.accesskey "P" >
|
||||
<!ENTITY newBlankPageCmd.accesskey "P" >
|
||||
<!ENTITY newMenu.label "New">
|
||||
<!ENTITY openFileCmd.label "Open File…">
|
||||
<!ENTITY fileopen.accesskey "o">
|
||||
<!ENTITY fileopen.keybinding "o">
|
||||
<!ENTITY openremoteCmd.label "Open Web Location…">
|
||||
<!ENTITY fileopenremote.accesskey "l">
|
||||
<!ENTITY fileopenremote.keybinding "l">
|
||||
<!ENTITY openFileCmd.accesskey "O">
|
||||
<!ENTITY openFileCmd.key "O">
|
||||
<!ENTITY openRemoteCmd.label "Open Web Location…">
|
||||
<!ENTITY openRemoteCmd.accesskey "L">
|
||||
<!ENTITY openRemoteCmd.key "L">
|
||||
<!ENTITY fileRecentMenu.label "Recent Pages">
|
||||
<!ENTITY filerecentmenu.accesskey "r">
|
||||
<!ENTITY fileRecentMenu.accesskey "R">
|
||||
<!ENTITY fileRevert.label "Revert">
|
||||
<!ENTITY filerevert.accesskey "v">
|
||||
<!ENTITY fileRevert.accesskey "v">
|
||||
<!ENTITY saveCmd.label "Save">
|
||||
<!ENTITY filesave.accesskey "s">
|
||||
<!ENTITY filesave.keybinding "s">
|
||||
<!ENTITY saveCmd.accesskey "S">
|
||||
<!ENTITY saveCmd.key "S">
|
||||
<!ENTITY saveAsCmd.label "Save As…">
|
||||
<!ENTITY filesaveas.accesskey "A">
|
||||
<!ENTITY saveAsCmd.accesskey "A">
|
||||
|
||||
<!ENTITY publishCmd.label "Publish">
|
||||
<!ENTITY publishcmd.accesskey "b">
|
||||
<!ENTITY publishCmd.accesskey "b">
|
||||
<!ENTITY publishCmd.key "S">
|
||||
<!ENTITY publishAsCmd.label "Publish As…">
|
||||
<!ENTITY publishas.accesskey "h">
|
||||
<!ENTITY publishAsCmd.accesskey "h">
|
||||
<!ENTITY exportToTextCmd.label "Export to Text…">
|
||||
<!ENTITY fileexporttotext.accesskey "T">
|
||||
<!ENTITY exportToTextCmd.accesskey "T">
|
||||
<!ENTITY saveAsChangeEncodingCmd.label "Save And Change Character Encoding">
|
||||
<!ENTITY filesaveandchangeencoding.accesskey "E">
|
||||
<!ENTITY saveAsChangeEncodingCmd.accesskey "E">
|
||||
<!ENTITY previewCmd.label "Browse Page">
|
||||
<!ENTITY filepreview.accesskey "w">
|
||||
<!ENTITY previewCmd.accesskey "w">
|
||||
<!ENTITY sendPageCmd.label "Send Page…">
|
||||
<!ENTITY sendPage.accesskey "d">
|
||||
<!ENTITY sendPageCmd.accesskey "d">
|
||||
<!ENTITY printSetupCmd.label "Page Setup…">
|
||||
<!ENTITY fileprintsetup.accesskey "u">
|
||||
<!ENTITY printSetupCmd.accesskey "u">
|
||||
<!ENTITY printPreviewCmd.label "Print Preview">
|
||||
<!ENTITY fileprintpreview.accesskey "v">
|
||||
<!ENTITY printCmd.label "Print…">
|
||||
<!ENTITY printPreviewCmd.accesskey "v">
|
||||
<!ENTITY printButtonCmd.label "Print…">
|
||||
<!ENTITY fileprint.accesskey "p">
|
||||
<!ENTITY fileprint.keybinding "p">
|
||||
<!ENTITY printCmd.label "Print…">
|
||||
<!ENTITY printCmd.accesskey "P">
|
||||
<!ENTITY printCmd.key "P">
|
||||
<!ENTITY closeCmd.label "Close">
|
||||
<!ENTITY fileclose.accesskey "c">
|
||||
<!ENTITY fileclose.keybinding "w">
|
||||
<!ENTITY exitCmd.label "Quit">
|
||||
<!ENTITY fileexit.accesskey "q">
|
||||
<!ENTITY fileexit.keybinding "q">
|
||||
<!ENTITY closeCmd.accesskey "C">
|
||||
<!ENTITY closeCmd.key "W">
|
||||
|
||||
<!-- Edit menu items -->
|
||||
<!ENTITY editMenu.label "Edit">
|
||||
<!ENTITY editmenu.accesskey "e">
|
||||
<!ENTITY editMenu.accesskey "E">
|
||||
<!ENTITY pasteNoFormatting.label "Paste Without Formatting">
|
||||
<!ENTITY pasteNoFormatting.accesskey "o">
|
||||
<!ENTITY pasteNoFormatting.key "V">
|
||||
|
@ -105,97 +103,97 @@
|
|||
<!-- For a "Paste" submenu when more than 1
|
||||
clipboard formats are available -->
|
||||
<!ENTITY pasteHTMLCmd.label "HTML">
|
||||
<!ENTITY pasteHTML.accesskey "h">
|
||||
<!ENTITY pasteHTMLCmd.accesskey "H">
|
||||
<!ENTITY pasteTextCmd.label "Text">
|
||||
<!ENTITY pasteText.accesskey "t">
|
||||
<!ENTITY pasteTextCmd.accesskey "T">
|
||||
<!ENTITY pasteImageCmd.label "Image">
|
||||
<!ENTITY pasteImage.accesskey "i">
|
||||
<!ENTITY pasteImageCmd.accesskey "I">
|
||||
<!ENTITY pasteRowsCmd.label "Rows">
|
||||
<!ENTITY pasteRows.accesskey "r">
|
||||
<!ENTITY pasteRowsCmd.accesskey "R">
|
||||
<!ENTITY pasteColumnsCmd.label "Columns">
|
||||
<!ENTITY pasteColumns.accesskey "c">
|
||||
<!ENTITY pasteColumnsCmd.accesskey "C">
|
||||
<!-- LOCALIZATION NOTE: Text for menu item is in editor.properties
|
||||
Set to: "Table" or "Nested Table" depending on context
|
||||
This accesskey must be in both strings -->
|
||||
<!ENTITY pasteTable.accesskey "a">
|
||||
<!ENTITY pasteTableCmd.accesskey "a">
|
||||
<!ENTITY pasteLinkCmd.label "Link">
|
||||
<!ENTITY editpastelink.accesskey "l">
|
||||
<!ENTITY pasteLinkCmd.accesskey "L">
|
||||
<!ENTITY pasteAsQuotationCmd.label "Paste As Quotation">
|
||||
<!ENTITY editpastequotation.accesskey "q">
|
||||
<!ENTITY pasteAsQuotationCmd.accesskey "Q">
|
||||
<!ENTITY editStripQuotesCmd.label "Strip Quotes">
|
||||
<!ENTITY editRewrapCmd.label "Rewrap">
|
||||
<!ENTITY findCmd.label "Find and Replace…">
|
||||
<!ENTITY editfind.accesskey "f">
|
||||
<!ENTITY editfind.keybinding "f">
|
||||
<!ENTITY editfind.keybinding2 "VK_F19">
|
||||
<!ENTITY findCmd.accesskey "F">
|
||||
<!ENTITY findCmd.key "F">
|
||||
<!ENTITY findCmd.key2 "VK_F19">
|
||||
<!ENTITY findAgainCmd.label "Find Again">
|
||||
<!ENTITY editfindnext.accesskey "g">
|
||||
<!ENTITY editfindnext.keybinding "g">
|
||||
<!ENTITY editfindnext.keybinding2 "VK_F3">
|
||||
<!ENTITY findAgainCmd.accesskey "g">
|
||||
<!ENTITY findAgainCmd.key "G">
|
||||
<!ENTITY findAgainCmd.key2 "VK_F3">
|
||||
<!ENTITY findPrevCmd.label "Find Previous">
|
||||
<!ENTITY editfindprev.accesskey "v">
|
||||
<!ENTITY editfindprev.keybinding "g">
|
||||
<!ENTITY editfindprev.keybinding2 "VK_F3">
|
||||
<!ENTITY findPrevCmd.accesskey "v">
|
||||
<!ENTITY findPrevCmd.key "G">
|
||||
<!ENTITY findPrevCmd.key2 "VK_F3">
|
||||
<!ENTITY enableInlineSpellChecker.label "Spellcheck As You Type">
|
||||
<!ENTITY enableInlineSpellChecker.accesskey "S">
|
||||
<!ENTITY checkSpellingCmd.label "Check Spelling">
|
||||
<!ENTITY editcheckspelling.accesskey "h">
|
||||
<!ENTITY editcheckspelling.keybinding "k">
|
||||
<!ENTITY checkSpellingCmd.accesskey "h">
|
||||
<!ENTITY checkSpellingCmd.key "K">
|
||||
<!ENTITY validateCmd.label "Validate HTML">
|
||||
<!ENTITY validate.accesskey "v">
|
||||
<!ENTITY validateCmd.accesskey "V">
|
||||
<!ENTITY checkLinksCmd.label "Check Links">
|
||||
|
||||
<!-- View menu items -->
|
||||
<!ENTITY viewPageSource.label "Page Source">
|
||||
<!ENTITY viewpagesource.accesskey "s">
|
||||
<!ENTITY viewPageSource.accesskey "S">
|
||||
<!ENTITY viewParagraphMarks.label "Paragraph Marks">
|
||||
<!ENTITY viewparagraphmarks.accesskey "p">
|
||||
<!ENTITY viewParagraphMarks.accesskey "P">
|
||||
|
||||
<!-- Insert menu items -->
|
||||
<!ENTITY insertMenu.label "Insert">
|
||||
<!ENTITY insertmenu.accesskey "i">
|
||||
<!ENTITY insertMenu.accesskey "I">
|
||||
<!ENTITY insertLinkCmd.label "Link…">
|
||||
<!ENTITY insertlink.accesskey "l">
|
||||
<!ENTITY insertlink.keybinding "l">
|
||||
<!ENTITY insertLinkCmd.accesskey "L">
|
||||
<!ENTITY insertLinkCmd.key "L">
|
||||
<!ENTITY insertAnchorCmd.label "Named Anchor…">
|
||||
<!ENTITY insertanchor.accesskey "A">
|
||||
<!ENTITY insertAnchorCmd.accesskey "A">
|
||||
<!ENTITY insertImageCmd.label "Image…">
|
||||
<!ENTITY insertimage.accesskey "i">
|
||||
<!ENTITY insertImageCmd.accesskey "I">
|
||||
<!ENTITY insertImageMapCmd.label "Image Map…">
|
||||
<!ENTITY insertHLineCmd.label "Horizontal Line">
|
||||
<!ENTITY inserthline.accesskey "o">
|
||||
<!ENTITY insertHLineCmd.accesskey "o">
|
||||
<!ENTITY insertTableCmd.label "Table…">
|
||||
<!ENTITY inserttable.accesskey "t">
|
||||
<!ENTITY insertTableCmd.accesskey "T">
|
||||
<!ENTITY insertFormMenu.label "Form">
|
||||
<!ENTITY insertformmenu.accesskey "F">
|
||||
<!ENTITY insertFormMenu.accesskey "F">
|
||||
<!ENTITY insertHTMLCmd.label "HTML…">
|
||||
<!ENTITY insertHTMLCmd.accesskey "h">
|
||||
<!ENTITY insertHTMLCmd.accesskey "H">
|
||||
<!ENTITY insertCharsCmd.label "Characters and Symbols…">
|
||||
<!ENTITY insertchars.accesskey "C">
|
||||
<!ENTITY insertCharsCmd.accesskey "C">
|
||||
<!ENTITY insertBreakCmd.label "Line Break">
|
||||
<!ENTITY insertbreak.accesskey "b">
|
||||
<!ENTITY insertBreakCmd.accesskey "B">
|
||||
<!ENTITY insertBreakAllCmd.label "Break Below Image(s)">
|
||||
<!ENTITY insertbreakall.accesskey "k">
|
||||
<!ENTITY insertBreakAllCmd.accesskey "k">
|
||||
|
||||
<!-- Insert form menu items -->
|
||||
<!ENTITY insertFormCmd.label "Define Form…">
|
||||
<!ENTITY insertform.accesskey "D">
|
||||
<!ENTITY insertFormCmd.accesskey "D">
|
||||
<!ENTITY insertInputTagCmd.label "Form Field…">
|
||||
<!ENTITY insertinputtag.accesskey "e">
|
||||
<!ENTITY insertInputTagCmd.accesskey "e">
|
||||
<!ENTITY insertInputImageCmd.label "Form Image…">
|
||||
<!ENTITY insertinputimage.accesskey "I">
|
||||
<!ENTITY insertInputImageCmd.accesskey "I">
|
||||
<!ENTITY insertTextAreaCmd.label "Text Area…">
|
||||
<!ENTITY inserttextarea.accesskey "T">
|
||||
<!ENTITY insertTextAreaCmd.accesskey "T">
|
||||
<!ENTITY insertSelectCmd.label "Selection List…">
|
||||
<!ENTITY insertselect.accesskey "S">
|
||||
<!ENTITY insertSelectCmd.accesskey "S">
|
||||
<!ENTITY insertButtonCmd.label "Define Button…">
|
||||
<!ENTITY insertbutton.accesskey "B">
|
||||
<!ENTITY insertButtonCmd.accesskey "B">
|
||||
<!ENTITY insertLabelCmd.label "Define Label">
|
||||
<!ENTITY insertlabel.accesskey "L">
|
||||
<!ENTITY insertLabelCmd.accesskey "L">
|
||||
<!ENTITY insertFieldSetCmd.label "Define Field Set…">
|
||||
<!ENTITY insertfieldset.accesskey "F">
|
||||
<!ENTITY insertFieldSetCmd.accesskey "F">
|
||||
<!ENTITY insertIsIndexCmd.label "Index Search">
|
||||
<!ENTITY insertisindex.accesskey "x">
|
||||
<!ENTITY insertIsIndexCmd.accesskey "x">
|
||||
|
||||
<!-- Used just in context popup. -->
|
||||
<!ENTITY spellCheckNoSuggestions.label "(No Suggestions Found)">
|
||||
|
@ -204,98 +202,98 @@
|
|||
<!ENTITY spellCheckAddToDictionary.label "Add to Dictionary">
|
||||
<!ENTITY spellCheckAddToDictionary.accesskey "n">
|
||||
<!ENTITY createLinkCmd.label "Create Link…">
|
||||
<!ENTITY createlink.accesskey "k">
|
||||
<!ENTITY createLinkCmd.accesskey "k">
|
||||
<!ENTITY editLinkCmd.label "Edit Link in New Composer">
|
||||
<!ENTITY editlink.accesskey "i">
|
||||
<!ENTITY editLinkCmd.accesskey "i">
|
||||
<!-- (Toplevel Edit menu uses utilityOverlay) -->
|
||||
<!ENTITY undoCmd.label "Undo">
|
||||
<!ENTITY undo.accesskey "u">
|
||||
<!ENTITY undoCmd.accesskey "U">
|
||||
<!ENTITY redoCmd.label "Redo">
|
||||
<!ENTITY redo.accesskey "r">
|
||||
<!ENTITY redoCmd.accesskey "R">
|
||||
<!ENTITY cutCmd.label "Cut">
|
||||
<!ENTITY cut.accesskey "t">
|
||||
<!ENTITY cutCmd.accesskey "t">
|
||||
<!ENTITY copyCmd.label "Copy">
|
||||
<!ENTITY copy.accesskey "c">
|
||||
<!ENTITY copyCmd.accesskey "C">
|
||||
<!ENTITY pasteCmd.label "Paste">
|
||||
<!ENTITY paste.accesskey "p">
|
||||
<!ENTITY pasteCmd.accesskey "P">
|
||||
<!ENTITY deleteCmd.label "Delete">
|
||||
<!ENTITY delete.accesskey "d">
|
||||
<!ENTITY deleteCmd.accesskey "D">
|
||||
<!ENTITY clearCmd.label "Clear">
|
||||
<!ENTITY clear.accesskey "l">
|
||||
<!ENTITY clearCmd.accesskey "l">
|
||||
<!ENTITY selectAllCmd.label "Select All">
|
||||
<!ENTITY selectall.accesskey "a">
|
||||
<!ENTITY selectAllCmd.accesskey "A">
|
||||
|
||||
<!-- Font Face SubMenu -->
|
||||
<!ENTITY FontFaceSelect.tooltip "Choose a font">
|
||||
<!ENTITY fontfaceMenu.label "Font">
|
||||
<!ENTITY formatfontmenu.accesskey "f">
|
||||
<!ENTITY fontfaceMenu.accesskey "F">
|
||||
<!ENTITY fontVarWidth.label "Variable Width">
|
||||
<!ENTITY fontvarwidth.accesskey "v">
|
||||
<!ENTITY fontVarWidth.accesskey "V">
|
||||
<!ENTITY fontFixedWidth.label "Fixed Width">
|
||||
<!ENTITY fontfixedwidth.accesskey "x">
|
||||
<!ENTITY formatfontfixed.keybinding "t">
|
||||
<!ENTITY fontHelveticaFont.label "Helvetica, Arial">
|
||||
<!ENTITY fonthelvetica.accesskey "l">
|
||||
<!ENTITY fontFixedWidth.accesskey "x">
|
||||
<!ENTITY fontFixedWidth.key "T">
|
||||
<!ENTITY fontHelvetica.label "Helvetica, Arial">
|
||||
<!ENTITY fontHelvetica.accesskey "l">
|
||||
<!ENTITY fontTimes.label "Times">
|
||||
<!ENTITY fonttimes.accesskey "t">
|
||||
<!ENTITY fontTimes.accesskey "T">
|
||||
<!ENTITY fontCourier.label "Courier">
|
||||
<!ENTITY fontcourier.accesskey "c">
|
||||
<!ENTITY fontCourier.accesskey "C">
|
||||
<!ENTITY localfontfaceMenu.label "Local Fonts">
|
||||
<!ENTITY localfontmenu.accesskey "f">
|
||||
<!ENTITY localfontfaceMenu.accesskey "F">
|
||||
|
||||
<!-- Font Size SubMenu -->
|
||||
<!ENTITY FontSizeSelect.tooltip "Choose a font size">
|
||||
<!ENTITY decreaseFontSize.label "Smaller">
|
||||
<!ENTITY decreasefontsize.accesskey "r">
|
||||
<!ENTITY decreaseFontSize.keybinding "-">
|
||||
<!ENTITY decreaseFontSize.accesskey "r">
|
||||
<!ENTITY decreaseFontSize.key "-">
|
||||
<!ENTITY increaseFontSize.label "Larger">
|
||||
<!ENTITY increasefontsize.accesskey "g">
|
||||
<!ENTITY increaseFontSize.keybinding "+">
|
||||
<!ENTITY increaseFontSize.keybinding2 "="> <!-- + is above this key on many keyboards -->
|
||||
<!ENTITY increaseFontSize.accesskey "g">
|
||||
<!ENTITY increaseFontSize.key "+">
|
||||
<!ENTITY increaseFontSize.key2 "="> <!-- + is above this key on many keyboards -->
|
||||
|
||||
<!ENTITY fontsizeMenu.label "Size">
|
||||
<!ENTITY formatsizemenu.accesskey "z">
|
||||
<!ENTITY fontSizeMenu.label "Size">
|
||||
<!ENTITY fontSizeMenu.accesskey "z">
|
||||
<!ENTITY size-xx-smallCmd.label "xx-small">
|
||||
<!ENTITY size-xx-small.accesskey "a">
|
||||
<!ENTITY size-xx-smallCmd.accesskey "a">
|
||||
<!ENTITY size-x-smallCmd.label "x-small">
|
||||
<!ENTITY size-x-small.accesskey "m">
|
||||
<!ENTITY size-x-smallCmd.accesskey "m">
|
||||
<!ENTITY size-smallCmd.label "small">
|
||||
<!ENTITY size-small.accesskey "s">
|
||||
<!ENTITY size-smallCmd.accesskey "s">
|
||||
<!ENTITY size-mediumCmd.label "medium">
|
||||
<!ENTITY size-medium.accesskey "d">
|
||||
<!ENTITY size-mediumCmd.accesskey "d">
|
||||
<!ENTITY size-largeCmd.label "large">
|
||||
<!ENTITY size-large.accesskey "l">
|
||||
<!ENTITY size-largeCmd.accesskey "l">
|
||||
<!ENTITY size-x-largeCmd.label "x-large">
|
||||
<!ENTITY size-x-large.accesskey "x">
|
||||
<!ENTITY size-x-largeCmd.accesskey "x">
|
||||
<!ENTITY size-xx-largeCmd.label "xx-large">
|
||||
<!ENTITY size-xx-large.accesskey "e">
|
||||
<!ENTITY size-xx-largeCmd.accesskey "e">
|
||||
|
||||
<!-- Font Style SubMenu -->
|
||||
<!ENTITY fontStyleMenu.label "Text Style">
|
||||
<!ENTITY formatstylemenu.accesskey "s">
|
||||
<!ENTITY fontStyleMenu.accesskey "S">
|
||||
<!ENTITY styleBoldCmd.label "Bold">
|
||||
<!ENTITY stylebold.accesskey "b">
|
||||
<!ENTITY stylebold.keybinding "b">
|
||||
<!ENTITY styleBoldCmd.accesskey "B">
|
||||
<!ENTITY styleBoldCmd.key "B">
|
||||
<!ENTITY styleItalicCmd.label "Italic">
|
||||
<!ENTITY styleitalic.accesskey "I">
|
||||
<!ENTITY styleitalic.keybinding "i">
|
||||
<!ENTITY styleItalicCmd.accesskey "I">
|
||||
<!ENTITY styleItalicCmd.key "I">
|
||||
<!ENTITY styleUnderlineCmd.label "Underline">
|
||||
<!ENTITY styleunderline.accesskey "u">
|
||||
<!ENTITY styleunderline.keybinding "u">
|
||||
<!ENTITY styleUnderlineCmd.accesskey "U">
|
||||
<!ENTITY styleUnderlineCmd.key "U">
|
||||
<!ENTITY styleStrikeThruCmd.label "Strikethrough">
|
||||
<!ENTITY stylestrikethru.accesskey "k">
|
||||
<!ENTITY styleStrikeThruCmd.accesskey "k">
|
||||
<!ENTITY styleSuperscriptCmd.label "Superscript">
|
||||
<!ENTITY stylesuperscript.accesskey "p">
|
||||
<!ENTITY styleSuperscriptCmd.accesskey "p">
|
||||
<!ENTITY styleSubscriptCmd.label "Subscript">
|
||||
<!ENTITY stylesubscript.accesskey "S">
|
||||
<!ENTITY styleSubscriptCmd.accesskey "S">
|
||||
<!ENTITY styleNonbreakingCmd.label "Nonbreaking">
|
||||
<!ENTITY stylenonbreaking.accesskey "N">
|
||||
<!ENTITY styleNonbreakingCmd.accesskey "N">
|
||||
<!ENTITY styleEm.label "Emphasis">
|
||||
<!ENTITY styleEm.accesskey "e">
|
||||
<!ENTITY styleEm.accesskey "E">
|
||||
<!ENTITY styleStrong.label "Stronger Emphasis">
|
||||
<!ENTITY styleStrong.accesskey "t">
|
||||
<!ENTITY styleCite.label "Citation">
|
||||
<!ENTITY styleCite.accesskey "c">
|
||||
<!ENTITY styleCite.accesskey "C">
|
||||
<!ENTITY styleAbbr.label "Abbreviation">
|
||||
<!ENTITY styleAbbr.accesskey "A">
|
||||
<!ENTITY styleAcronym.label "Acronym">
|
||||
|
@ -305,67 +303,63 @@
|
|||
<!ENTITY styleSamp.label "Sample Output">
|
||||
<!ENTITY styleSamp.accesskey "m">
|
||||
<!ENTITY styleVar.label "Variable">
|
||||
<!ENTITY styleVar.accesskey "v">
|
||||
<!ENTITY styleVar.accesskey "V">
|
||||
|
||||
<!ENTITY formatFontColor.label "Text Color…">
|
||||
<!ENTITY formatfontcolor.accesskey "c">
|
||||
<!ENTITY formatFontColor.accesskey "C">
|
||||
<!ENTITY tableOrCellColor.label "Table or Cell Background Color…">
|
||||
<!ENTITY tableOrCellColor.accesskey "B">
|
||||
|
||||
<!ENTITY formatremovestyles.keybinding "y">
|
||||
<!ENTITY formatremovelinks.keybinding "k">
|
||||
<!ENTITY formatRemoveStyles.key "Y">
|
||||
<!ENTITY formatRemoveLinks.key "K">
|
||||
<!ENTITY formatRemoveNamedAnchors.label "Remove Named Anchors">
|
||||
<!ENTITY formatRemoveNamedAnchors.accesskey "R">
|
||||
<!ENTITY formatremovenamedanchors.keybinding "a">
|
||||
<!ENTITY formatRemoveNamedAnchors.key "A">
|
||||
|
||||
<!ENTITY formatindent.keybinding "]">
|
||||
<!ENTITY formatoutdent.keybinding "[">
|
||||
<!ENTITY paragraphMenu.label "Paragraph">
|
||||
<!ENTITY formatparagraphmenu.accesskey "P">
|
||||
<!ENTITY paragraphMenu.accesskey "P">
|
||||
<!ENTITY paragraphParagraphCmd.label "Paragraph">
|
||||
<!ENTITY paragraphparagraph.accesskey "P">
|
||||
<!ENTITY paragraphParagraphCmd.accesskey "P">
|
||||
<!ENTITY heading1Cmd.label "Heading 1">
|
||||
<!ENTITY heading1.accesskey "1">
|
||||
<!ENTITY heading1Cmd.accesskey "1">
|
||||
<!ENTITY heading2Cmd.label "Heading 2">
|
||||
<!ENTITY heading2.accesskey "2">
|
||||
<!ENTITY heading2Cmd.accesskey "2">
|
||||
<!ENTITY heading3Cmd.label "Heading 3">
|
||||
<!ENTITY heading3.accesskey "3">
|
||||
<!ENTITY heading3Cmd.accesskey "3">
|
||||
<!ENTITY heading4Cmd.label "Heading 4">
|
||||
<!ENTITY heading4.accesskey "4">
|
||||
<!ENTITY heading4Cmd.accesskey "4">
|
||||
<!ENTITY heading5Cmd.label "Heading 5">
|
||||
<!ENTITY heading5.accesskey "5">
|
||||
<!ENTITY heading5Cmd.accesskey "5">
|
||||
<!ENTITY heading6Cmd.label "Heading 6">
|
||||
<!ENTITY heading6.accesskey "6">
|
||||
<!ENTITY heading6Cmd.accesskey "6">
|
||||
<!ENTITY paragraphAddressCmd.label "Address">
|
||||
<!ENTITY paragraphaddress.accesskey "a">
|
||||
<!ENTITY paragraphAddressCmd.accesskey "A">
|
||||
<!ENTITY paragraphPreformatCmd.label "Preformat">
|
||||
<!ENTITY paragraphpreformat.accesskey "f">
|
||||
<!ENTITY paragraphBlockquoteCmd.label "Blockquote">
|
||||
<!ENTITY paragraphblockquote.accesskey "b">
|
||||
<!ENTITY paragraphPreformatCmd.accesskey "f">
|
||||
|
||||
<!-- List menu items -->
|
||||
<!ENTITY formatlistMenu.label "List">
|
||||
<!ENTITY formatlistmenu.accesskey "l">
|
||||
<!ENTITY formatlistMenu.accesskey "L">
|
||||
<!ENTITY noneCmd.label "None">
|
||||
<!ENTITY none.accesskey "N">
|
||||
<!ENTITY noneCmd.accesskey "N">
|
||||
<!ENTITY listBulletCmd.label "Bulleted">
|
||||
<!ENTITY listbullet.accesskey "b">
|
||||
<!ENTITY listBulletCmd.accesskey "B">
|
||||
<!ENTITY listNumberedCmd.label "Numbered">
|
||||
<!ENTITY listnumbered.accesskey "m">
|
||||
<!ENTITY listNumberedCmd.accesskey "m">
|
||||
<!ENTITY listTermCmd.label "Term">
|
||||
<!ENTITY listterm.accesskey "t">
|
||||
<!ENTITY listTermCmd.accesskey "T">
|
||||
<!ENTITY listDefinitionCmd.label "Definition">
|
||||
<!ENTITY listdefinition.accesskey "d">
|
||||
<!ENTITY listProps.label "List Properties…">
|
||||
<!ENTITY listprops.accesskey "l">
|
||||
<!ENTITY listDefinitionCmd.accesskey "D">
|
||||
<!ENTITY listPropsCmd.label "List Properties…">
|
||||
<!ENTITY listPropsCmd.accesskey "L">
|
||||
|
||||
<!ENTITY ParagraphSelect.tooltip "Choose a paragraph format">
|
||||
<!-- Shared in Paragraph, and Toolbar menulist -->
|
||||
<!ENTITY bodyTextCmd.label "Body Text">
|
||||
<!ENTITY bodytext.accesskey "T">
|
||||
<!ENTITY bodyTextCmd.accesskey "T">
|
||||
<!-- isn't used in menu now, but may be added in future -->
|
||||
<!ENTITY advancedPropertiesCmd.label "Advanced Properties">
|
||||
<!ENTITY advancedproperties.accesskey "v">
|
||||
<!ENTITY advancedPropertiesCmd.accesskey "v">
|
||||
|
||||
<!ENTITY NormalAbbr.label "Text">
|
||||
<!ENTITY ParagraphAbbr.label "P">
|
||||
|
@ -379,24 +373,20 @@
|
|||
<!ENTITY AddressAbbr.label "Addr.">
|
||||
<!ENTITY PreformatAbbr.label "Pre.">
|
||||
|
||||
<!-- Style Sheet submenu NOT IMPLEMENTED -->
|
||||
<!ENTITY stylesheetMenu.label "Apply Style Sheet">
|
||||
<!ENTITY formatstylesheetmenu.accesskey "y">
|
||||
|
||||
<!-- Align menu items -->
|
||||
<!ENTITY alignMenu.label "Align">
|
||||
<!ENTITY formatalignmenu.accesskey "a">
|
||||
<!ENTITY alignMenu.accesskey "A">
|
||||
<!ENTITY alignLeft.label "Left">
|
||||
<!ENTITY alignleft.accesskey "l">
|
||||
<!ENTITY alignLeft.accesskey "L">
|
||||
<!ENTITY alignLeft.tooltip "Align Left">
|
||||
<!ENTITY alignCenter.label "Center">
|
||||
<!ENTITY aligncenter.accesskey "c">
|
||||
<!ENTITY alignCenter.accesskey "C">
|
||||
<!ENTITY alignCenter.tooltip "Align Center">
|
||||
<!ENTITY alignRight.label "Right">
|
||||
<!ENTITY alignright.accesskey "r">
|
||||
<!ENTITY alignRight.accesskey "R">
|
||||
<!ENTITY alignRight.tooltip "Align Right">
|
||||
<!ENTITY alignJustify.label "Justify">
|
||||
<!ENTITY alignjustify.accesskey "j">
|
||||
<!ENTITY alignJustify.accesskey "J">
|
||||
<!ENTITY alignJustify.tooltip "Align Justified">
|
||||
|
||||
<!-- Layer toolbar items -->
|
||||
|
@ -405,87 +395,85 @@
|
|||
<!ENTITY layerBringToFront.tooltip "Bring to Front">
|
||||
|
||||
<!ENTITY increaseIndent.label "Increase Indent">
|
||||
<!ENTITY increaseindent.accesskey "i">
|
||||
<!ENTITY increaseindentkb "=">
|
||||
<!ENTITY increaseIndent.accesskey "I">
|
||||
<!ENTITY increaseIndent.key "]">
|
||||
<!ENTITY decreaseIndent.label "Decrease Indent">
|
||||
<!ENTITY decreaseindent.accesskey "D">
|
||||
<!ENTITY decreaseindentkb "-">
|
||||
<!ENTITY decreaseIndent.accesskey "D">
|
||||
<!ENTITY decreaseIndent.key "[">
|
||||
|
||||
<!ENTITY grid.label "Positioning grid">
|
||||
<!ENTITY grid.accesskey "t">
|
||||
|
||||
<!ENTITY pageProperties.label "Page Title and Properties…">
|
||||
<!ENTITY pageproperties.accesskey "g">
|
||||
<!ENTITY pageProperties.accesskey "g">
|
||||
<!ENTITY colorsAndBackground.label "Page Colors and Background…">
|
||||
<!ENTITY colorsandbackground.accesskey "u">
|
||||
<!ENTITY colorsAndBackground.accesskey "u">
|
||||
|
||||
<!-- Table Menu -->
|
||||
<!ENTITY tableMenu.label "Table">
|
||||
<!ENTITY tablemenu.accesskey "b">
|
||||
<!ENTITY tableMenu.accesskey "b">
|
||||
|
||||
<!-- Select Submenu -->
|
||||
<!ENTITY tableSelectMenu.label "Select">
|
||||
<!ENTITY tableselectmenu.accesskey "s">
|
||||
<!ENTITY tableSelectMenu.accesskey "S">
|
||||
|
||||
<!ENTITY tableSelectMenu2.label "Table Select">
|
||||
<!ENTITY tableSelectMenu2.accesskey "S">
|
||||
<!ENTITY tableInsertMenu2.label "Table Insert">
|
||||
<!ENTITY tableInsertMenu2.accesskey "I">
|
||||
<!ENTITY tableDeleteMenu2.label "Table Delete">
|
||||
<!ENTITY tableDeleteMenu2.accesskey "D">
|
||||
|
||||
<!-- Insert SubMenu -->
|
||||
<!ENTITY tableInsertMenu.label "Insert">
|
||||
<!ENTITY tableinsertmenu.accesskey "i">
|
||||
<!ENTITY tableInsertMenu.accesskey "I">
|
||||
<!ENTITY tableTable.label "Table">
|
||||
<!ENTITY tabletable.accesskey "t">
|
||||
<!ENTITY tableTable.accesskey "T">
|
||||
<!ENTITY tableRow.label "Row">
|
||||
<!ENTITY tableRows.label "Row(s)">
|
||||
<!ENTITY tablerow.accesskey "r">
|
||||
<!ENTITY tableRow.accesskey "R">
|
||||
<!ENTITY tableRowAbove.label "Row Above">
|
||||
<!-- uses tablerow.accesskey -->
|
||||
<!ENTITY tableRowAbove.accesskey "R">
|
||||
<!ENTITY tableRowBelow.label "Row Below">
|
||||
<!ENTITY tablerowbelow.accesskey "b">
|
||||
<!ENTITY tableRowBelow.accesskey "B">
|
||||
<!ENTITY tableColumn.label "Column">
|
||||
<!ENTITY tableColumns.label "Column(s)">
|
||||
<!ENTITY tablecolumn.accesskey "o">
|
||||
<!ENTITY tableColumn.accesskey "o">
|
||||
<!ENTITY tableColumnBefore.label "Column Before">
|
||||
<!-- uses tablecolumn.accesskey -->
|
||||
<!ENTITY tableColumnBefore.accesskey "o">
|
||||
<!ENTITY tableColumnAfter.label "Column After">
|
||||
<!ENTITY tablecolumnafter.accesskey "a">
|
||||
<!ENTITY tableColumnAfter.accesskey "A">
|
||||
<!ENTITY tableCell.label "Cell">
|
||||
<!ENTITY tableCells.label "Cell(s)">
|
||||
<!ENTITY tablecell.accesskey "c">
|
||||
<!ENTITY tableCell.accesskey "C">
|
||||
<!ENTITY tableCellContents.label "Cell Contents">
|
||||
<!ENTITY tablecellcontents.accesskey "n">
|
||||
<!ENTITY tableCellContents.accesskey "n">
|
||||
<!ENTITY tableAllCells.label "All Cells">
|
||||
<!ENTITY tableAllCells.accesskey "A">
|
||||
<!ENTITY tableCellBefore.label "Cell Before">
|
||||
<!ENTITY tableallcells.accesskey "a">
|
||||
<!-- uses tablecell.accesskey -->
|
||||
<!ENTITY tableCellBefore.accesskey "C">
|
||||
<!ENTITY tableCellAfter.label "Cell After">
|
||||
<!ENTITY tablecellafter.accesskey "f">
|
||||
<!ENTITY tableCellAfter.accesskey "f">
|
||||
<!-- Delete SubMenu -->
|
||||
<!ENTITY tableDeleteMenu.label "Delete">
|
||||
<!ENTITY tabledeletemenu.accesskey "D">
|
||||
<!ENTITY tableDeleteMenu.accesskey "D">
|
||||
|
||||
<!ENTITY tableFix.label "Fix Table Layout">
|
||||
<!ENTITY tablefix.accesskey "f">
|
||||
<!ENTITY tableFix.accesskey "F">
|
||||
<!-- text for "Join Cells" is in editor.properties
|
||||
("JoinSelectedCells" and "JoinCellToRight")
|
||||
the access key must exist in both of those strings
|
||||
But value must be set here for accesskey to draw properly
|
||||
-->
|
||||
<!ENTITY tableJoinCells.label "j">
|
||||
<!ENTITY tablejoincells.accesskey "j">
|
||||
<!ENTITY tableJoinCells.accesskey "j">
|
||||
<!ENTITY tableSplitCell.label "Split Cell">
|
||||
<!ENTITY tablesplitcell.accesskey "c">
|
||||
<!ENTITY tableSplitCell.accesskey "C">
|
||||
<!ENTITY convertToTable.label "Create Table from Selection">
|
||||
<!ENTITY converttotable.accesskey "r">
|
||||
<!ENTITY convertToTable.accesskey "r">
|
||||
<!ENTITY tableProperties.label "Table Properties…">
|
||||
<!ENTITY tableProperties.accesskey "o">
|
||||
|
||||
<!-- Tools menu -->
|
||||
<!ENTITY toolsmenu.accesskey "l">
|
||||
<!ENTITY toolbrowser.accesskey "b">
|
||||
<!ENTITY toolplaineditor.accesskey "p">
|
||||
<!ENTITY toolsetfocus.accesskey "f">
|
||||
|
||||
<!-- Toolbar-only items -->
|
||||
<!ENTITY menuBar.tooltip "Menu Bar">
|
||||
<!ENTITY compositionToolbar.tooltip "Composition Toolbar">
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<!ENTITY authorName.accesskey "u">
|
||||
<!ENTITY pageColorHeader "Default Page Appearance">
|
||||
|
||||
<!ENTITY defaultColorsRadio.label "Reader's default colors (Don't set colors in page)">
|
||||
<!ENTITY defaultColors.label "Reader's default colors (Don't set colors in page)">
|
||||
<!ENTITY defaultColors.accesskey "d">
|
||||
<!ENTITY customColorsRadio.label "Use custom colors:">
|
||||
<!ENTITY customColors.label "Use custom colors:">
|
||||
<!ENTITY customColors.accesskey "c">
|
||||
|
||||
<!ENTITY normalText.label "Normal text">
|
||||
|
|
|
@ -55,24 +55,24 @@
|
|||
<script type="application/x-javascript" src="chrome://editor/content/ComposerCommands.js"/>
|
||||
|
||||
<keyset id="editorKeys">
|
||||
<key id="boldkb" key="&stylebold.keybinding;" observes="cmd_bold" modifiers="accel"/>
|
||||
<key id="italickb" key="&styleitalic.keybinding;" observes="cmd_italic" modifiers="accel"/>
|
||||
<key id="underlinekb" key="&styleunderline.keybinding;" observes="cmd_underline" modifiers="accel"/>
|
||||
<key id="fixedwidthkb" key="&formatfontfixed.keybinding;" observes="cmd_tt" modifiers="accel"/>
|
||||
<key id="boldkb" key="&styleBoldCmd.key;" observes="cmd_bold" modifiers="accel"/>
|
||||
<key id="italickb" key="&styleItalicCmd.key;" observes="cmd_italic" modifiers="accel"/>
|
||||
<key id="underlinekb" key="&styleUnderlineCmd.key;" observes="cmd_underline" modifiers="accel"/>
|
||||
<key id="fixedwidthkb" key="&fontFixedWidth.key;" observes="cmd_tt" modifiers="accel"/>
|
||||
|
||||
<key id="increaseindentkb" key="&formatindent.keybinding;" observes="cmd_indent" modifiers="accel"/>
|
||||
<key id="decreaseindentkb" key="&formatoutdent.keybinding;" observes="cmd_outdent" modifiers="accel"/>
|
||||
<key id="increaseindentkb" key="&increaseIndent.key;" observes="cmd_indent" modifiers="accel"/>
|
||||
<key id="decreaseindentkb" key="&decreaseIndent.key;" observes="cmd_outdent" modifiers="accel"/>
|
||||
|
||||
<key id="removestyleskb" key="&formatremovestyles.keybinding;" observes="cmd_removeStyles" modifiers="accel, shift"/>
|
||||
<key id="removestyleskb" key="&formatRemoveStyles.key;" observes="cmd_removeStyles" modifiers="accel, shift"/>
|
||||
<key id="removestyleskb2" key=" " observes="cmd_removeStyles" modifiers="accel"/>
|
||||
<key id="removelinkskb" key="&formatremovelinks.keybinding;" observes="cmd_removeLinks" modifiers="accel, shift"/>
|
||||
<key id="removenamedanchorskb" key="&formatremovenamedanchors.keybinding;" observes="cmd_removeNamedAnchors" modifiers="accel, shift"/>
|
||||
<key id="decreasefontsizekb" key="&decreaseFontSize.keybinding;" observes="cmd_decreaseFont" modifiers="accel"/>
|
||||
<key id="increasefontsizekb" key="&increaseFontSize.keybinding;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
<key key="&increaseFontSize.keybinding;" observes="cmd_increaseFont" modifiers="accel,shift"/>
|
||||
<key key="&increaseFontSize.keybinding2;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
<key id="removelinkskb" key="&formatRemoveLinks.key;" observes="cmd_removeLinks" modifiers="accel, shift"/>
|
||||
<key id="removenamedanchorskb" key="&formatRemoveNamedAnchors.key;" observes="cmd_removeNamedAnchors" modifiers="accel, shift"/>
|
||||
<key id="decreasefontsizekb" key="&decreaseFontSize.key;" observes="cmd_decreaseFont" modifiers="accel"/>
|
||||
<key id="increasefontsizekb" key="&increaseFontSize.key;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
<key key="&increaseFontSize.key;" observes="cmd_increaseFont" modifiers="accel,shift"/>
|
||||
<key key="&increaseFontSize.key2;" observes="cmd_increaseFont" modifiers="accel"/>
|
||||
|
||||
<key id="insertlinkkb" key="&insertlink.keybinding;" observes="cmd_link" modifiers="accel"/>
|
||||
<key id="insertlinkkb" key="&insertLinkCmd.key;" observes="cmd_link" modifiers="accel"/>
|
||||
</keyset>
|
||||
|
||||
<!-- commands updated when the editor gets created -->
|
||||
|
@ -81,7 +81,7 @@
|
|||
events="create"
|
||||
oncommandupdate="goUpdateComposerMenuItems(this)">
|
||||
<command id="cmd_open" oncommand="goDoCommand('cmd_open')"/>
|
||||
<command id="cmd_openRemote" label="&openremoteCmd.label;" oncommand="goDoCommand('cmd_openRemote')"/>
|
||||
<command id="cmd_openRemote" label="&openRemoteCmd.label;" oncommand="goDoCommand('cmd_openRemote')"/>
|
||||
<command id="cmd_printSetup" oncommand="goDoCommand('cmd_printSetup')"/>
|
||||
<command id="cmd_print" oncommand="goDoCommand('cmd_print')"/>
|
||||
<command id="cmd_quit" oncommand="goDoCommand('cmd_quit')"/>
|
||||
|
@ -143,7 +143,7 @@
|
|||
<command id="cmd_revert" label="&fileRevert.label;" oncommand="goDoCommand('cmd_revert')"/>
|
||||
<command id="cmd_preview" oncommand="goDoCommand('cmd_preview')"/>
|
||||
<command id="cmd_editSendPage" label="&sendPageCmd.label;"
|
||||
accesskey="&sendPage.accesskey;" oncommand="goDoCommand('cmd_editSendPage')"/>
|
||||
accesskey="&sendPageCmd.accesskey;" oncommand="goDoCommand('cmd_editSendPage')"/>
|
||||
</commandset>
|
||||
|
||||
|
||||
|
@ -160,10 +160,12 @@
|
|||
<command id="cmd_findNext" oncommand="goDoCommand('cmd_findNext')" label="&findAgainCmd.label;"/>
|
||||
<command id="cmd_findPrev" oncommand="goDoCommand('cmd_findPrev')" label="&findPrevCmd.label;"/>
|
||||
<command id="cmd_spelling" oncommand="goDoCommand('cmd_spelling')"/>
|
||||
<command id="cmd_validate" label="&validateCmd.label;" accesskey="&validate.accesskey;" oncommand="goDoCommand('cmd_validate')"/>
|
||||
<command id="cmd_validate" label="&validateCmd.label;" accesskey="&validateCmd.accesskey;"
|
||||
oncommand="goDoCommand('cmd_validate')"/>
|
||||
<command id="cmd_checkLinks" oncommand="goDoCommand('cmd_checkLinks')"/>
|
||||
<command id="cmd_pasteQuote" oncommand="goDoCommand('cmd_pasteQuote')" label="&pasteAsQuotationCmd.label;"/>
|
||||
<command id="cmd_publishSettings" label="&publishSettings.label;" accesskey="&publishSettings.accesskey;" oncommand="goDoCommand('cmd_publishSettings')"/>
|
||||
<command id="cmd_publishSettings" label="&publishSettings.label;" accesskey="&publishSettings.accesskey;"
|
||||
oncommand="goDoCommand('cmd_publishSettings')"/>
|
||||
</commandset>
|
||||
|
||||
<!-- style related commands that update on creation, and on selection change -->
|
||||
|
@ -284,22 +286,44 @@
|
|||
</broadcasterset>
|
||||
|
||||
<!-- Insert menu for PlainText editor -->
|
||||
<menu id="insertMenuPlainText" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;">
|
||||
<menu id="insertMenuPlainText" label="&insertMenu.label;" accesskey="&insertMenu.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" />
|
||||
<menuitem accesskey="&insertCharsCmd.accesskey;" observes="cmd_insertChars"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Insert menu -->
|
||||
<menu id="insertMenu" label="&insertMenu.label;" accesskey="&insertmenu.accesskey;">
|
||||
<menu id="insertMenu" label="&insertMenu.label;" accesskey="&insertMenu.accesskey;">
|
||||
<menupopup id="insertMenuPopup">
|
||||
<menuitem id="insertImage" accesskey="&insertimage.accesskey;" observes="cmd_image" label="&insertImageCmd.label;"/>
|
||||
<menuitem id="insertTable" accesskey="&inserttable.accesskey;" observes="cmd_InsertTable" label="&insertTableCmd.label;"/>
|
||||
<menuitem id="insertLink" accesskey="&insertlink.accesskey;" observes="cmd_link" label="&insertLinkCmd.label;" key="insertlinkkb"/>
|
||||
<menuitem id="insertAnchor" accesskey="&insertanchor.accesskey;" observes="cmd_anchor" label="&insertAnchorCmd.label;"/>
|
||||
<menuitem id="insertHline" accesskey="&inserthline.accesskey;" observes="cmd_hline" label="&insertHLineCmd.label;"/>
|
||||
<menuitem id="insertHTMLSource" accesskey="&insertHTMLCmd.accesskey;" observes="cmd_insertHTMLWithDialog" key="inserthtmlkb"/>
|
||||
<menuitem accesskey="&insertchars.accesskey;" observes="cmd_insertChars" id="insertChars"/>
|
||||
<menuitem id="insertImage"
|
||||
label="&insertImageCmd.label;"
|
||||
accesskey="&insertImageCmd.accesskey;"
|
||||
observes="cmd_image"/>
|
||||
<menuitem id="insertTable"
|
||||
label="&insertTableCmd.label;"
|
||||
accesskey="&insertTableCmd.accesskey;"
|
||||
observes="cmd_InsertTable"/>
|
||||
<menuitem id="insertLink"
|
||||
label="&insertLinkCmd.label;"
|
||||
accesskey="&insertLinkCmd.accesskey;"
|
||||
key="insertlinkkb"
|
||||
observes="cmd_link"/>
|
||||
<menuitem id="insertAnchor"
|
||||
label="&insertAnchorCmd.label;"
|
||||
accesskey="&insertAnchorCmd.accesskey;"
|
||||
observes="cmd_anchor"/>
|
||||
<menuitem id="insertHline"
|
||||
label="&insertHLineCmd.label;"
|
||||
accesskey="&insertHLineCmd.accesskey;"
|
||||
observes="cmd_hline"/>
|
||||
<menuitem id="insertHTMLSource"
|
||||
accesskey="&insertHTMLCmd.accesskey;"
|
||||
key="inserthtmlkb"
|
||||
observes="cmd_insertHTMLWithDialog"/>
|
||||
<menuitem id="insertChars"
|
||||
accesskey="&insertCharsCmd.accesskey;"
|
||||
observes="cmd_insertChars"/>
|
||||
|
||||
<menu id="insertTOC" label="&tocMenu.label;" accesskey="&tocMenu.accesskey;">
|
||||
<menupopup onpopupshowing="InitTOCMenu()">
|
||||
<menuitem id="insertTOCMenuitem"
|
||||
|
@ -317,78 +341,195 @@
|
|||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator id="insertMenuSeparator"/>
|
||||
<menuitem id="insertBreakAll" accesskey="&insertbreakall.accesskey;" observes="cmd_insertBreakAll" label="&insertBreakAllCmd.label;"/>
|
||||
<menuitem id="insertBreakAll" accesskey="&insertBreakAllCmd.accesskey;" observes="cmd_insertBreakAll" label="&insertBreakAllCmd.label;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Format Menu -->
|
||||
<menupopup id="formatMenuPopup" onpopupshowing="EditorInitFormatMenu()">
|
||||
<!-- Font face submenu -->
|
||||
<menu id="fontFaceMenu" label="&fontfaceMenu.label;" accesskey="&formatfontmenu.accesskey;"
|
||||
<menu id="fontFaceMenu" label="&fontfaceMenu.label;" accesskey="&fontfaceMenu.accesskey;"
|
||||
position="1">
|
||||
<menupopup oncommand="if (event.target.localName == 'menuitem')
|
||||
doStatefulCommand('cmd_fontFace', event.target.getAttribute('value'));"
|
||||
onpopupshowing="initFontFaceMenu(this);">
|
||||
<menuitem label="&fontVarWidth.label;" accesskey="&fontvarwidth.accesskey;" value="" type="radio" name="1" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontFixedWidth.label;" accesskey="&fontfixedwidth.accesskey;" value="tt" type="radio" name="1" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontVarWidth.label;"
|
||||
accesskey="&fontVarWidth.accesskey;"
|
||||
value=""
|
||||
type="radio"
|
||||
name="1"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontFixedWidth.label;"
|
||||
accesskey="&fontFixedWidth.accesskey;"
|
||||
value="tt"
|
||||
type="radio"
|
||||
name="1"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&fontHelveticaFont.label;" accesskey="&fonthelvetica.accesskey;" value="Helvetica, Arial, sans-serif" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontTimes.label;" accesskey="&fonttimes.accesskey;" value="Times New Roman, Times, serif" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontCourier.label;" accesskey="&fontcourier.accesskey;" value="Courier New, Courier, monospace" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontHelvetica.label;"
|
||||
accesskey="&fontHelvetica.accesskey;"
|
||||
value="Helvetica, Arial, sans-serif"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontTimes.label;"
|
||||
accesskey="&fontTimes.accesskey;"
|
||||
value="Times New Roman, Times, serif"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&fontCourier.label;"
|
||||
accesskey="&fontCourier.accesskey;"
|
||||
value="Courier New, Courier, monospace"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuseparator/>
|
||||
<!-- Local font face items added here by initLocalFontFaceMenu() -->
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Font size submenu -->
|
||||
<menu id="fontSizeMenu" label="&fontsizeMenu.label;"
|
||||
accesskey="&formatsizemenu.accesskey;"
|
||||
<menu id="fontSizeMenu" label="&fontSizeMenu.label;"
|
||||
accesskey="&fontSizeMenu.accesskey;"
|
||||
position="2">
|
||||
<menupopup onpopupshowing="initFontSizeMenu(this)">
|
||||
<menuitem label="&decreaseFontSize.label;" accesskey="&decreasefontsize.accesskey;" observes="cmd_decreaseFont" type="radio" name="1" key="decreasefontsizekb"/>
|
||||
<menuitem label="&increaseFontSize.label;" accesskey="&increasefontsize.accesskey;" observes="cmd_increaseFont" type="radio" name="1" key="increasefontsizekb"/>
|
||||
<menuitem label="&decreaseFontSize.label;"
|
||||
accesskey="&decreaseFontSize.accesskey;"
|
||||
key="decreasefontsizekb"
|
||||
observes="cmd_decreaseFont"
|
||||
type="radio"
|
||||
name="1"/>
|
||||
<menuitem label="&increaseFontSize.label;"
|
||||
accesskey="&increaseFontSize.accesskey;"
|
||||
key="increasefontsizekb"
|
||||
observes="cmd_increaseFont"
|
||||
type="radio"
|
||||
name="1"/>
|
||||
<menuseparator/>
|
||||
<!-- Not supported in current font size implementation
|
||||
<menuitem label="&size-xx-smallCmd.label;" accesskey="&size-xx-small.accesskey;" oncommand="EditorSetFontSize('xx-small')" type="radio" name="2" />
|
||||
<menuitem label="&size-xx-smallCmd.label;" accesskey="&size-xx-smallCmd.accesskey;" oncommand="EditorSetFontSize('xx-small')" type="radio" name="2"/>
|
||||
-->
|
||||
<menuitem label="&size-x-smallCmd.label;" accesskey="&size-x-small.accesskey;" oncommand="EditorSetFontSize('x-small')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-smallCmd.label;" accesskey="&size-small.accesskey;" oncommand="EditorSetFontSize('small')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-mediumCmd.label;" accesskey="&size-medium.accesskey;" oncommand="EditorSetFontSize('medium')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-largeCmd.label;" accesskey="&size-large.accesskey;" oncommand="EditorSetFontSize('large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-x-largeCmd.label;" accesskey="&size-x-large.accesskey;" oncommand="EditorSetFontSize('x-large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-xx-largeCmd.label;" accesskey="&size-xx-large.accesskey;" oncommand="EditorSetFontSize('xx-large')" type="radio" name="2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-x-smallCmd.label;"
|
||||
accesskey="&size-x-smallCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('x-small')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-smallCmd.label;"
|
||||
accesskey="&size-smallCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('small')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-mediumCmd.label;"
|
||||
accesskey="&size-mediumCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('medium')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-largeCmd.label;"
|
||||
accesskey="&size-largeCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('large')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-x-largeCmd.label;"
|
||||
accesskey="&size-x-largeCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('x-large')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem label="&size-xx-largeCmd.label;"
|
||||
accesskey="&size-xx-largeCmd.accesskey;"
|
||||
oncommand="EditorSetFontSize('xx-large')"
|
||||
type="radio"
|
||||
name="2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Font style submenu -->
|
||||
<menu id="fontStyleMenu" label="&fontStyleMenu.label;"
|
||||
accesskey="&formatstylemenu.accesskey;"
|
||||
accesskey="&fontStyleMenu.accesskey;"
|
||||
position="3">
|
||||
<menupopup onpopupshowing="initFontStyleMenu(this)">
|
||||
<menuitem label="&styleBoldCmd.label;" accesskey="&stylebold.accesskey;" observes="cmd_bold" type="checkbox" key="boldkb"/>
|
||||
<menuitem label="&styleItalicCmd.label;" accesskey="&styleitalic.accesskey;" observes="cmd_italic" type="checkbox" key="italickb" />
|
||||
<menuitem label="&styleUnderlineCmd.label;" accesskey="&styleunderline.accesskey;" observes="cmd_underline" type="checkbox" key="underlinekb"/>
|
||||
<menuitem label="&styleStrikeThruCmd.label;" accesskey="&stylestrikethru.accesskey;" observes="cmd_strikethrough" type="checkbox"/>
|
||||
<menuitem label="&styleSuperscriptCmd.label;" accesskey="&stylesuperscript.accesskey;" observes="cmd_superscript" type="checkbox"/>
|
||||
<menuitem label="&styleSubscriptCmd.label;" accesskey="&stylesubscript.accesskey;" observes="cmd_subscript" type="checkbox"/>
|
||||
<menuitem label="&fontFixedWidth.label;" accesskey="&fontfixedwidth.accesskey;" observes="cmd_tt" type="checkbox" key="fixedwidthkb"/>
|
||||
<menuitem label="&styleNonbreakingCmd.label;" accesskey="&stylenonbreaking.accesskey;" observes="cmd_nobreak" type="checkbox"/>
|
||||
<menuitem label="&styleBoldCmd.label;"
|
||||
accesskey="&styleBoldCmd.accesskey;"
|
||||
observes="cmd_bold"
|
||||
type="checkbox"
|
||||
key="boldkb"/>
|
||||
<menuitem label="&styleItalicCmd.label;"
|
||||
accesskey="&styleItalicCmd.accesskey;"
|
||||
observes="cmd_italic"
|
||||
type="checkbox"
|
||||
key="italickb"/>
|
||||
<menuitem label="&styleUnderlineCmd.label;"
|
||||
accesskey="&styleUnderlineCmd.accesskey;"
|
||||
observes="cmd_underline"
|
||||
type="checkbox"
|
||||
key="underlinekb"/>
|
||||
<menuitem label="&styleStrikeThruCmd.label;"
|
||||
accesskey="&styleStrikeThruCmd.accesskey;"
|
||||
observes="cmd_strikethrough"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleSuperscriptCmd.label;"
|
||||
accesskey="&styleSuperscriptCmd.accesskey;"
|
||||
observes="cmd_superscript"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleSubscriptCmd.label;"
|
||||
accesskey="&styleSubscriptCmd.accesskey;"
|
||||
observes="cmd_subscript"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&fontFixedWidth.label;"
|
||||
accesskey="&fontFixedWidth.accesskey;"
|
||||
observes="cmd_tt"
|
||||
type="checkbox"
|
||||
key="fixedwidthkb"/>
|
||||
<menuitem label="&styleNonbreakingCmd.label;"
|
||||
accesskey="&styleNonbreakingCmd.accesskey;"
|
||||
observes="cmd_nobreak"
|
||||
type="checkbox"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&styleEm.label;" accesskey="&styleEm.accesskey;" observes="cmd_em" type="checkbox"/>
|
||||
<menuitem label="&styleStrong.label;" accesskey="&styleStrong.accesskey;" observes="cmd_strong" type="checkbox"/>
|
||||
<menuitem label="&styleCite.label;" accesskey="&styleCite.accesskey;" observes="cmd_cite" type="checkbox"/>
|
||||
<menuitem label="&styleAbbr.label;" accesskey="&styleAbbr.accesskey;" observes="cmd_abbr" type="checkbox"/>
|
||||
<menuitem label="&styleAcronym.label;" accesskey="&styleAcronym.accesskey;" observes="cmd_acronym" type="checkbox"/>
|
||||
<menuitem label="&styleCode.label;" accesskey="&styleCode.accesskey;" observes="cmd_code" type="checkbox"/>
|
||||
<menuitem label="&styleSamp.label;" accesskey="&styleSamp.accesskey;" observes="cmd_samp" type="checkbox"/>
|
||||
<menuitem label="&styleVar.label;" accesskey="&styleVar.accesskey;" observes="cmd_var" type="checkbox"/>
|
||||
<menuitem label="&styleEm.label;"
|
||||
accesskey="&styleEm.accesskey;"
|
||||
observes="cmd_em"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleStrong.label;"
|
||||
accesskey="&styleStrong.accesskey;"
|
||||
observes="cmd_strong"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleCite.label;"
|
||||
accesskey="&styleCite.accesskey;"
|
||||
observes="cmd_cite"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleAbbr.label;"
|
||||
accesskey="&styleAbbr.accesskey;"
|
||||
observes="cmd_abbr"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleAcronym.label;"
|
||||
accesskey="&styleAcronym.accesskey;"
|
||||
observes="cmd_acronym"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleCode.label;"
|
||||
accesskey="&styleCode.accesskey;"
|
||||
observes="cmd_code"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleSamp.label;"
|
||||
accesskey="&styleSamp.accesskey;"
|
||||
observes="cmd_samp"
|
||||
type="checkbox"/>
|
||||
<menuitem label="&styleVar.label;"
|
||||
accesskey="&styleVar.accesskey;"
|
||||
observes="cmd_var"
|
||||
type="checkbox"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- Note: "cmd_fontColor" only monitors color state, it doesn't execute the command
|
||||
(We should use "cmd_fontColorState" and "cmd_backgroundColorState" ?) -->
|
||||
<menuitem id="fontColor" label="&formatFontColor.label;"
|
||||
accesskey="&formatfontcolor.accesskey;"
|
||||
accesskey="&formatFontColor.accesskey;"
|
||||
observes="cmd_fontColor"
|
||||
oncommand="EditorSelectColor('Text', null);"
|
||||
position="4"/>
|
||||
|
@ -414,52 +555,172 @@
|
|||
-->
|
||||
<!-- Paragraph Style submenu -->
|
||||
<menu id="paragraphMenu" label="¶graphMenu.label;"
|
||||
accesskey="&formatparagraphmenu.accesskey;"
|
||||
accesskey="¶graphMenu.accesskey;"
|
||||
position="10" onpopupshowing="InitParagraphMenu()">
|
||||
<menupopup oncommand="doStatefulCommand('cmd_paragraphState', event.target.getAttribute('value'))">
|
||||
<menuitem id="menu_bodyText" type="radio" name="1" label="&bodyTextCmd.label;" accesskey="&bodytext.accesskey;" value="" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_p" type="radio" name="1" label="¶graphParagraphCmd.label;" accesskey="¶graphparagraph.accesskey;" value="p" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h1" type="radio" name="1" label="&heading1Cmd.label;" accesskey="&heading1.accesskey;" value="h1" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h2" type="radio" name="1" label="&heading2Cmd.label;" accesskey="&heading2.accesskey;" value="h2" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h3" type="radio" name="1" label="&heading3Cmd.label;" accesskey="&heading3.accesskey;" value="h3" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h4" type="radio" name="1" label="&heading4Cmd.label;" accesskey="&heading4.accesskey;" value="h4" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h5" type="radio" name="1" label="&heading5Cmd.label;" accesskey="&heading5.accesskey;" value="h5" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h6" type="radio" name="1" label="&heading6Cmd.label;" accesskey="&heading6.accesskey;" value="h6" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_address" type="radio" name="1" label="¶graphAddressCmd.label;" accesskey="¶graphaddress.accesskey;" value="address" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_pre" type="radio" name="1" label="¶graphPreformatCmd.label;" accesskey="¶graphpreformat.accesskey;" value="pre" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_bodyText"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&bodyTextCmd.label;"
|
||||
accesskey="&bodyTextCmd.accesskey;"
|
||||
value=""
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_p"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="¶graphParagraphCmd.label;"
|
||||
accesskey="¶graphParagraphCmd.accesskey;"
|
||||
value="p"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h1"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading1Cmd.label;"
|
||||
accesskey="&heading1Cmd.accesskey;"
|
||||
value="h1"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h2"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading2Cmd.label;"
|
||||
accesskey="&heading2Cmd.accesskey;"
|
||||
value="h2"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h3"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading3Cmd.label;"
|
||||
accesskey="&heading3Cmd.accesskey;"
|
||||
value="h3"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h4"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading4Cmd.label;"
|
||||
accesskey="&heading4Cmd.accesskey;"
|
||||
value="h4"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h5"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading5Cmd.label;"
|
||||
accesskey="&heading5Cmd.accesskey;"
|
||||
value="h5"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_h6"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&heading6Cmd.label;"
|
||||
accesskey="&heading6Cmd.accesskey;"
|
||||
value="h6"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_address"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="¶graphAddressCmd.label;"
|
||||
accesskey="¶graphAddressCmd.accesskey;"
|
||||
value="address"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_pre"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="¶graphPreformatCmd.label;"
|
||||
accesskey="¶graphPreformatCmd.accesskey;"
|
||||
value="pre"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<!-- List Style submenu -->
|
||||
<menu id="listMenu" label="&formatlistMenu.label;"
|
||||
accesskey="&formatlistmenu.accesskey;"
|
||||
accesskey="&formatlistMenu.accesskey;"
|
||||
position="11" onpopupshowing="InitListMenu()">
|
||||
<menupopup>
|
||||
<menuitem id="menu_noList" type="radio" name="1" label="&noneCmd.label;" accesskey="&none.accesskey;" observes="cmd_removeList"/>
|
||||
<menuitem id="menu_ul" type="radio" name="1" label="&listBulletCmd.label;" accesskey="&listbullet.accesskey;" observes="cmd_ul"/>
|
||||
<menuitem id="menu_ol" type="radio" name="1" label="&listNumberedCmd.label;" accesskey="&listnumbered.accesskey;" observes="cmd_ol"/>
|
||||
<menuitem id="menu_dt" type="radio" name="1" label="&listTermCmd.label;" accesskey="&listterm.accesskey;" observes="cmd_dt"/>
|
||||
<menuitem id="menu_dd" type="radio" name="1" label="&listDefinitionCmd.label;" accesskey="&listdefinition.accesskey;" observes="cmd_dd"/>
|
||||
<menuitem id="menu_noList"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&noneCmd.label;"
|
||||
accesskey="&noneCmd.accesskey;"
|
||||
observes="cmd_removeList"/>
|
||||
<menuitem id="menu_ul"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listBulletCmd.label;"
|
||||
accesskey="&listBulletCmd.accesskey;"
|
||||
observes="cmd_ul"/>
|
||||
<menuitem id="menu_ol"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listNumberedCmd.label;"
|
||||
accesskey="&listNumberedCmd.accesskey;"
|
||||
observes="cmd_ol"/>
|
||||
<menuitem id="menu_dt"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listTermCmd.label;"
|
||||
accesskey="&listTermCmd.accesskey;"
|
||||
observes="cmd_dt"/>
|
||||
<menuitem id="menu_dd"
|
||||
type="radio"
|
||||
name="1"
|
||||
label="&listDefinitionCmd.label;"
|
||||
accesskey="&listDefinitionCmd.accesskey;"
|
||||
observes="cmd_dd"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="listProps" label="&listProps.label;" accesskey="&listprops.accesskey;" observes="cmd_listProperties"/>
|
||||
<menuitem id="listProps"
|
||||
label="&listPropsCmd.label;"
|
||||
accesskey="&listPropsCmd.accesskey;"
|
||||
observes="cmd_listProperties"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator id="identingSep" position="12"/>
|
||||
|
||||
<menuitem id="increaseIndent" label="&increaseIndent.label;" accesskey="&increaseindent.accesskey;" key="increaseindentkb"
|
||||
observes="cmd_indent" position="13"/>
|
||||
<menuitem id="decreaseIndent" label="&decreaseIndent.label;" accesskey="&decreaseindent.accesskey;" key="decreaseindentkb"
|
||||
observes="cmd_outdent" position="14"/>
|
||||
<menuitem id="increaseIndent"
|
||||
label="&increaseIndent.label;"
|
||||
accesskey="&increaseIndent.accesskey;"
|
||||
key="increaseindentkb"
|
||||
observes="cmd_indent"
|
||||
position="13"/>
|
||||
<menuitem id="decreaseIndent"
|
||||
label="&decreaseIndent.label;"
|
||||
accesskey="&decreaseIndent.accesskey;"
|
||||
key="decreaseindentkb"
|
||||
observes="cmd_outdent"
|
||||
position="14"/>
|
||||
|
||||
<menu id="alignMenu" label="&alignMenu.label;" accesskey="&formatalignmenu.accesskey;"
|
||||
<menu id="alignMenu" label="&alignMenu.label;" accesskey="&alignMenu.accesskey;"
|
||||
onpopupshowing="InitAlignMenu()"
|
||||
position="15">
|
||||
<!-- Align submenu -->
|
||||
<menupopup oncommand="doStatefulCommand('cmd_align', event.target.getAttribute('value'))">
|
||||
<menuitem id="menu_left" label="&alignLeft.label;" accesskey="&alignleft.accesskey;" type="radio" name="1" value="left" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_center" label="&alignCenter.label;" accesskey="&aligncenter.accesskey;" type="radio" name="1" value="center" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_right" label="&alignRight.label;" accesskey="&alignright.accesskey;" type="radio" name="1" value="right" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_justify" label="&alignJustify.label;" accesskey="&alignjustify.accesskey;" type="radio" name="1" value="justify" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_left"
|
||||
label="&alignLeft.label;"
|
||||
accesskey="&alignLeft.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="left"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_center"
|
||||
label="&alignCenter.label;"
|
||||
accesskey="&alignCenter.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="center"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_right"
|
||||
label="&alignRight.label;"
|
||||
accesskey="&alignRight.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="right"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="menu_justify"
|
||||
label="&alignJustify.label;"
|
||||
accesskey="&alignJustify.accesskey;"
|
||||
type="radio"
|
||||
name="1"
|
||||
value="justify"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator id="tableSep" position="16"/>
|
||||
|
@ -474,54 +735,123 @@
|
|||
<!-- label and accesskey filled in during menu creation -->
|
||||
<menuitem id="objectProperties" oncommand="goDoCommand('cmd_objectProperties')" observes="cmd_renderedHTMLEnabler"/>
|
||||
<!-- Dont use 'observes', must call command correctly -->
|
||||
<menuitem id="pageProperties" label="&pageProperties.label;" accesskey="&pageproperties.accesskey;"
|
||||
oncommand="goDoCommand('cmd_pageProperties')" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="colorsAndBackground" label="&colorsAndBackground.label;" accesskey="&colorsandbackground.accesskey;"
|
||||
oncommand="goDoCommand('cmd_colorProperties')" observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="pageProperties"
|
||||
label="&pageProperties.label;"
|
||||
accesskey="&pageProperties.accesskey;"
|
||||
oncommand="goDoCommand('cmd_pageProperties')"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
<menuitem id="colorsAndBackground"
|
||||
label="&colorsAndBackground.label;"
|
||||
accesskey="&colorsAndBackground.accesskey;"
|
||||
oncommand="goDoCommand('cmd_colorProperties')"
|
||||
observes="cmd_renderedHTMLEnabler"/>
|
||||
|
||||
<menu id="tableMenu" label="&tableMenu.label;" accesskey="&tablemenu.accesskey;">
|
||||
<menu id="tableMenu" label="&tableMenu.label;" accesskey="&tableMenu.accesskey;">
|
||||
<menupopup onpopupshowing="EditorInitTableMenu()">
|
||||
<!-- From EditorCommandOverlay.xul (shared with context popup) -->
|
||||
<menu id="tableInsertMenu" label="&tableInsertMenu.label;" accesskey="&tableinsertmenu.accesskey;">
|
||||
<menu id="tableInsertMenu" label="&tableInsertMenu.label;" accesskey="&tableInsertMenu.accesskey;">
|
||||
<menupopup>
|
||||
<menuitem label="&insertTableCmd.label;" accesskey="&tabletable.accesskey;" observes="cmd_InsertTable"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableRowAbove.label;" accesskey="&tablerow.accesskey;" observes="cmd_InsertRowAbove"/>
|
||||
<menuitem label="&tableRowBelow.label;" accesskey="&tablerowbelow.accesskey;" observes="cmd_InsertRowBelow"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableColumnBefore.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_InsertColumnBefore"/>
|
||||
<menuitem label="&tableColumnAfter.label;" accesskey="&tablecolumnafter.accesskey;" observes="cmd_InsertColumnAfter"/>
|
||||
<menuseparator />
|
||||
<menuitem label="&tableCellBefore.label;" accesskey="&tablecell.accesskey;" observes="cmd_InsertCellBefore"/>
|
||||
<menuitem label="&tableCellAfter.label;" accesskey="&tablecellafter.accesskey;" observes="cmd_InsertCellAfter"/>
|
||||
<menuitem label="&insertTableCmd.label;"
|
||||
accesskey="&insertTableCmd.accesskey;"
|
||||
observes="cmd_InsertTable"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&tableRowAbove.label;"
|
||||
accesskey="&tableRowAbove.accesskey;"
|
||||
observes="cmd_InsertRowAbove"/>
|
||||
<menuitem label="&tableRowBelow.label;"
|
||||
accesskey="&tableRowBelow.accesskey;"
|
||||
observes="cmd_InsertRowBelow"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&tableColumnBefore.label;"
|
||||
accesskey="&tableColumnBefore.accesskey;"
|
||||
observes="cmd_InsertColumnBefore"/>
|
||||
<menuitem label="&tableColumnAfter.label;"
|
||||
accesskey="&tableColumnAfter.accesskey;"
|
||||
observes="cmd_InsertColumnAfter"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&tableCellBefore.label;"
|
||||
accesskey="&tableCellBefore.accesskey;"
|
||||
observes="cmd_InsertCellBefore"/>
|
||||
<menuitem label="&tableCellAfter.label;"
|
||||
accesskey="&tableCellAfter.accesskey;"
|
||||
observes="cmd_InsertCellAfter"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="tableSelectMenu" label="&tableSelectMenu.label;" accesskey="&tableselectmenu.accesskey;">
|
||||
<menu id="tableSelectMenu"
|
||||
label="&tableSelectMenu.label;"
|
||||
accesskey="&tableSelectMenu.accesskey;" >
|
||||
<menupopup id="tableSelectPopup">
|
||||
<menuitem id="menu_SelectTable" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_SelectTable" />
|
||||
<menuitem id="menu_SelectRow" label="&tableRow.label;" accesskey="&tablerow.accesskey;" observes="cmd_SelectRow" />
|
||||
<menuitem id="menu_SelectColumn" label="&tableColumn.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_SelectColumn" />
|
||||
<menuitem id="menu_SelectCell" label="&tableCell.label;" accesskey="&tablecell.accesskey;" observes="cmd_SelectCell" />
|
||||
<menuitem id="menu_SelectAllCells" label="&tableAllCells.label;" accesskey="&tableallcells.accesskey;" observes="cmd_SelectAllCells" />
|
||||
<menuitem id="menu_SelectTable"
|
||||
label="&tableTable.label;"
|
||||
accesskey="&tableTable.accesskey;"
|
||||
observes="cmd_SelectTable"/>
|
||||
<menuitem id="menu_SelectRow"
|
||||
label="&tableRow.label;"
|
||||
accesskey="&tableRow.accesskey;"
|
||||
observes="cmd_SelectRow"/>
|
||||
<menuitem id="menu_SelectColumn"
|
||||
label="&tableColumn.label;"
|
||||
accesskey="&tableColumn.accesskey;"
|
||||
observes="cmd_SelectColumn"/>
|
||||
<menuitem id="menu_SelectCell"
|
||||
label="&tableCell.label;"
|
||||
accesskey="&tableCell.accesskey;"
|
||||
observes="cmd_SelectCell"/>
|
||||
<menuitem id="menu_SelectAllCells"
|
||||
label="&tableAllCells.label;"
|
||||
accesskey="&tableAllCells.accesskey;"
|
||||
observes="cmd_SelectAllCells"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="tableDeleteMenu" label="&tableDeleteMenu.label;" accesskey="&tabledeletemenu.accesskey;">
|
||||
<menu id="tableDeleteMenu"
|
||||
label="&tableDeleteMenu.label;"
|
||||
accesskey="&tableDeleteMenu.accesskey;">
|
||||
<menupopup id="tableDeletePopup">
|
||||
<menuitem id="menu_DeleteTable" label="&tableTable.label;" accesskey="&tabletable.accesskey;" observes="cmd_DeleteTable"/>
|
||||
<menuitem id="menu_DeleteRow" label="&tableRows.label;" accesskey="&tablerow.accesskey;" observes="cmd_DeleteRow"/>
|
||||
<menuitem id="menu_DeleteColumn" label="&tableColumns.label;" accesskey="&tablecolumn.accesskey;" observes="cmd_DeleteColumn"/>
|
||||
<menuitem id="menu_DeleteCell" label="&tableCells.label;" accesskey="&tablecell.accesskey;" observes="cmd_DeleteCell"/>
|
||||
<menuitem id="menu_DeleteCellContents" label="&tableCellContents.label;" accesskey="&tablecellcontents.accesskey;" observes="cmd_DeleteCellContents"/>
|
||||
<menuitem id="menu_DeleteTable"
|
||||
label="&tableTable.label;"
|
||||
accesskey="&tableTable.accesskey;"
|
||||
observes="cmd_DeleteTable"/>
|
||||
<menuitem id="menu_DeleteRow"
|
||||
label="&tableRows.label;"
|
||||
accesskey="&tableRow.accesskey;"
|
||||
observes="cmd_DeleteRow"/>
|
||||
<menuitem id="menu_DeleteColumn"
|
||||
label="&tableColumns.label;"
|
||||
accesskey="&tableColumn.accesskey;"
|
||||
observes="cmd_DeleteColumn"/>
|
||||
<menuitem id="menu_DeleteCell"
|
||||
label="&tableCells.label;"
|
||||
accesskey="&tableCell.accesskey;"
|
||||
observes="cmd_DeleteCell"/>
|
||||
<menuitem id="menu_DeleteCellContents"
|
||||
label="&tableCellContents.label;"
|
||||
accesskey="&tableCellContents.accesskey;"
|
||||
observes="cmd_DeleteCellContents"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator />
|
||||
<menuseparator/>
|
||||
<!-- menu label is set in InitTableMenu -->
|
||||
<menuitem id="menu_JoinTableCells" label="&tableJoinCells.label;" accesskey="&tablejoincells.accesskey;" observes="cmd_JoinTableCells"/>
|
||||
<menuitem id="menu_SlitTableCell" label="&tableSplitCell.label;" accesskey="&tablesplitcell.accesskey;" observes="cmd_SplitTableCell"/>
|
||||
<menuitem id="menu_ConvertToTable" label="&convertToTable.label;" accesskey="&converttotable.accesskey;" observes="cmd_ConvertToTable"/>
|
||||
<menuseparator />
|
||||
<menuitem id="menu_TableOrCellColor" label="&tableOrCellColor.label;" accesskey="&tableOrCellColor.accesskey;" observes="cmd_TableOrCellColor"/>
|
||||
<menuitem id="menu_tableProperties" label="&tableProperties.label;" accesskey="&tableProperties.accesskey;" observes="cmd_editTable"/>
|
||||
<menuitem id="menu_JoinTableCells"
|
||||
label="&tableJoinCells.label;"
|
||||
accesskey="&tableJoinCells.accesskey;"
|
||||
observes="cmd_JoinTableCells"/>
|
||||
<menuitem id="menu_SlitTableCell"
|
||||
label="&tableSplitCell.label;"
|
||||
accesskey="&tableSplitCell.accesskey;"
|
||||
observes="cmd_SplitTableCell"/>
|
||||
<menuitem id="menu_ConvertToTable"
|
||||
label="&convertToTable.label;"
|
||||
accesskey="&convertToTable.accesskey;"
|
||||
observes="cmd_ConvertToTable"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="menu_TableOrCellColor"
|
||||
label="&tableOrCellColor.label;"
|
||||
accesskey="&tableOrCellColor.accesskey;"
|
||||
observes="cmd_TableOrCellColor"/>
|
||||
<menuitem id="menu_tableProperties"
|
||||
label="&tableProperties.label;"
|
||||
accesskey="&tableProperties.accesskey;"
|
||||
observes="cmd_editTable"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
@ -546,7 +876,7 @@
|
|||
|
||||
<!-- InsertPopupButton is used by messengercompose.xul -->
|
||||
<toolbarbutton type="menu" id="InsertPopupButton" observes="cmd_renderedHTMLEnabler"
|
||||
tooltiptext="&InsertPopupButton.tooltip;">
|
||||
tooltiptext="&InsertPopupButton.tooltip;">
|
||||
<menupopup id="InsertPopup">
|
||||
<menuitem id="InsertLinkItem" class="menuitem-iconic" observes="cmd_link"
|
||||
oncommand="goDoCommand('cmd_link')" label="&linkToolbarCmd.label;"
|
||||
|
@ -597,7 +927,7 @@
|
|||
tooltiptext="&printToolbarCmd.tooltip;"
|
||||
oncommand="if (event.target==this) goDoCommand('cmd_print');">
|
||||
<menupopup id="printMenu">
|
||||
<menuitem id="printMenuItemToolbar" accesskey="&fileprint.accesskey;" label="&printCmd.label;" default="true"
|
||||
<menuitem id="printMenuItemToolbar" accesskey="&printCmd.accesskey;" label="&printCmd.label;" default="true"
|
||||
oncommand="goDoCommand('cmd_print');"/>
|
||||
<!-- 'printSetupToolbar' is merged in here from platformGlobalOverlay.xul -->
|
||||
</menupopup>
|
||||
|
@ -627,7 +957,7 @@
|
|||
|
||||
<!-- Formatting toolbar items. "value" are HTML tagnames, don't translate -->
|
||||
<menulist class="toolbar-focustarget" id="ParagraphSelect" observes="cmd_renderedHTMLEnabler"
|
||||
tooltiptext="&ParagraphSelect.tooltip;" crop="right">
|
||||
tooltiptext="&ParagraphSelect.tooltip;" crop="right">
|
||||
<observes element="cmd_paragraphState" attribute="state" onbroadcast="onParagraphFormatChange(this.parentNode, 'cmd_paragraphState')"/>
|
||||
<menupopup id="ParagraphPopup" oncommand="doStatefulCommand('cmd_paragraphState', event.target.value)">
|
||||
<menuitem label="&bodyTextCmd.label;" value=""/>
|
||||
|
@ -651,7 +981,7 @@
|
|||
<menuitem label="&fontVarWidth.label;" value=""/>
|
||||
<menuitem label="&fontFixedWidth.label;" value="tt"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&fontHelveticaFont.label;" value="Helvetica, Arial, sans-serif"/>
|
||||
<menuitem label="&fontHelvetica.label;" value="Helvetica, Arial, sans-serif"/>
|
||||
<menuitem label="&fontTimes.label;" value="Times New Roman, Times, serif"/>
|
||||
<menuitem label="&fontCourier.label;" value="Courier New, Courier, monospace"/>
|
||||
<menuseparator/>
|
||||
|
@ -768,7 +1098,7 @@
|
|||
<!-- Paste as quotation is used by mail compose,
|
||||
but in composer it has to go in the debug menu
|
||||
-->
|
||||
<menuitem id="menu_pasteQuote" accesskey="&editpastequotation.accesskey;"
|
||||
<menuitem id="menu_pasteQuote" accesskey="&pasteAsQuotationCmd.accesskey;"
|
||||
command="cmd_pasteQuote"/>
|
||||
|
||||
</overlay>
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
<menuitem value="" label="&fontVarWidth.label;"/>
|
||||
<menuitem value="tt" label="&fontFixedWidth.label;"/>
|
||||
<menuseparator/>
|
||||
<menuitem value="Helvetica, Arial, sans-serif" label="&fontHelveticaFont.label;"/>
|
||||
<menuitem value="Helvetica, Arial, sans-serif" label="&fontHelvetica.label;"/>
|
||||
<menuitem value="Times New Roman, Times, serif" label="&fontTimes.label;"/>
|
||||
<menuitem value="Courier New, Courier, monospace" label="&fontCourier.label;"/>
|
||||
<menuseparator/>
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
label="&fontFixedWidth.label;"/>
|
||||
<menuseparator/>
|
||||
<menuitem value="Helvetica, Arial, sans-serif"
|
||||
label="&fontHelveticaFont.label;"/>
|
||||
label="&fontHelvetica.label;"/>
|
||||
<menuitem value="Times New Roman, Times, serif"
|
||||
label="&fontTimes.label;"/>
|
||||
<menuitem value="Courier New, Courier, monospace"
|
||||
|
|
|
@ -65,9 +65,9 @@
|
|||
oncommand="EditorGetText()"/>
|
||||
<menuitem label="&outputHTMLCmd.label;"
|
||||
oncommand="EditorGetHTML()"/>
|
||||
<menuseparator />
|
||||
<menuseparator/>
|
||||
<menuitem label="&pasteAsQuotationCmd.label;"
|
||||
accesskey="&editpastequotation.accesskey;"
|
||||
accesskey="&pasteAsQuotationCmd.accesskey;"
|
||||
oncommand="goDoCommand('cmd_pasteQuote')"/>
|
||||
<menuitem label="&editRewrapCmd.label;"
|
||||
oncommand="try { GetCurrentEditor().rewrap(true); } catch (e) {}"/>
|
||||
|
@ -77,30 +77,30 @@
|
|||
oncommand="EditorInsertText('All good things come to those who wait. ')"/>
|
||||
<menuitem id="menu_checkLinks" observes="cmd_checkLinks"
|
||||
label="&checkLinksCmd.label;"/>
|
||||
<menuseparator />
|
||||
<menu accesskey="&insertformmenu.accesskey;" id="insertFormMenu"
|
||||
<menuseparator/>
|
||||
<menu accesskey="&insertFormMenu.accesskey;" id="insertFormMenu"
|
||||
label="&insertFormMenu.label;">
|
||||
<menupopup>
|
||||
<menuitem accesskey="&insertform.accesskey;" command="cmd_form"
|
||||
<menuitem accesskey="&insertFormCmd.accesskey;" command="cmd_form"
|
||||
label="&insertFormCmd.label;"/>
|
||||
<menuseparator/>
|
||||
<menuitem accesskey="&insertinputtag.accesskey;"
|
||||
<menuitem accesskey="&insertInputTagCmd.accesskey;"
|
||||
command="cmd_inputtag" label="&insertInputTagCmd.label;"/>
|
||||
<menuitem accesskey="&insertinputimage.accesskey;"
|
||||
<menuitem accesskey="&insertInputImageCmd.accesskey;"
|
||||
command="cmd_inputimage"
|
||||
label="&insertInputImageCmd.label;"/>
|
||||
<menuitem accesskey="&inserttextarea.accesskey;"
|
||||
<menuitem accesskey="&insertTextAreaCmd.accesskey;"
|
||||
command="cmd_textarea" label="&insertTextAreaCmd.label;"/>
|
||||
<menuitem accesskey="&insertselect.accesskey;" command="cmd_select"
|
||||
<menuitem accesskey="&insertSelectCmd.accesskey;" command="cmd_select"
|
||||
label="&insertSelectCmd.label;"/>
|
||||
<menuitem accesskey="&insertbutton.accesskey;"
|
||||
<menuitem accesskey="&insertButtonCmd.accesskey;"
|
||||
command="cmd_button" label="&insertButtonCmd.label;"/>
|
||||
<menuitem accesskey="&insertlabel.accesskey;" command="cmd_label"
|
||||
<menuitem accesskey="&insertLabelCmd.accesskey;" command="cmd_label"
|
||||
label="&insertLabelCmd.label;"/>
|
||||
<menuitem accesskey="&insertfieldset.accesskey;"
|
||||
<menuitem accesskey="&insertFieldSetCmd.accesskey;"
|
||||
command="cmd_fieldset" label="&insertFieldSetCmd.label;"/>
|
||||
<menuseparator/>
|
||||
<menuitem accesskey="&insertisindex.accesskey;"
|
||||
<menuitem accesskey="&insertIsIndexCmd.accesskey;"
|
||||
command="cmd_isindex" label="&insertIsIndexCmd.label;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
@ -116,7 +116,7 @@
|
|||
oncommand="EditorTestDocument()"/>
|
||||
<menuitem label="&runUnitTestsCmd.label;"
|
||||
oncommand="EditorUnitTests()"/>
|
||||
<menuseparator />
|
||||
<menuseparator/>
|
||||
<menuitem label="&dumpUndoStack.label;"
|
||||
oncommand="DumpUndoStack()"/>
|
||||
<menuitem label="&dumpRedoStack.label;"
|
||||
|
@ -125,16 +125,15 @@
|
|||
oncommand="ExecuteJSTransactionViaTxmgr()"/>
|
||||
<menuitem label="&executeJSTransactionViaEditor.label;"
|
||||
oncommand="ExecuteJSTransactionViaEditor()"/>
|
||||
<menuseparator />
|
||||
<menuseparator/>
|
||||
<menuitem label="&startLogCmd.label;"
|
||||
oncommand="EditorStartLog()"/>
|
||||
<menuitem label="&stopLogCmd.label;"
|
||||
oncommand="EditorStopLog()"/>
|
||||
<menuitem label="&runLogCmd.label;"
|
||||
oncommand="EditorRunLog()"/>
|
||||
<menuseparator />
|
||||
<menuseparator/>
|
||||
<menuitem label="&setFocusCmd.label;"
|
||||
accesskey="&toolsetfocus.accesskey;"
|
||||
oncommand="window.focus()"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
|
|
@ -116,7 +116,7 @@ editor.xul has these - do we need them?
|
|||
<menu id="fileMenu"/>
|
||||
<menu id="editMenu"/>
|
||||
|
||||
<menu label="&viewMenu.label;" accesskey="&viewmenu.accesskey;">
|
||||
<menu label="&viewMenu.label;" accesskey="&viewMenu.accesskey;">
|
||||
<!-- id pulls in "Show Sidebar" item from sidebarOverlay -->
|
||||
<menupopup id="menu_View_Popup">
|
||||
<menu id="viewToolbar"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче