зеркало из https://github.com/mozilla/pjs.git
Bug #261389 --> Normal Text Size (CTRL+0) should be added to "View"-menu, like in Firefox
This commit is contained in:
Родитель
6140f67ca2
Коммит
cb98dbebb6
|
@ -116,6 +116,7 @@
|
||||||
<commandset id="viewZoomCommands">
|
<commandset id="viewZoomCommands">
|
||||||
<command id="cmd_textZoomReduce" oncommand="ZoomManager.prototype.getInstance().reduce();"/>
|
<command id="cmd_textZoomReduce" oncommand="ZoomManager.prototype.getInstance().reduce();"/>
|
||||||
<command id="cmd_textZoomEnlarge" oncommand="ZoomManager.prototype.getInstance().enlarge();"/>
|
<command id="cmd_textZoomEnlarge" oncommand="ZoomManager.prototype.getInstance().enlarge();"/>
|
||||||
|
<command id="cmd_textZoomReset" oncommand="ZoomManager.prototype.getInstance().reset();"/>
|
||||||
</commandset>
|
</commandset>
|
||||||
</commandset>
|
</commandset>
|
||||||
|
|
||||||
|
@ -360,7 +361,7 @@
|
||||||
<key id="key_textZoomReduce" key="&textZoomReduceCmd.commandkey;" command="cmd_textZoomReduce" modifiers="accel"/>
|
<key id="key_textZoomReduce" key="&textZoomReduceCmd.commandkey;" command="cmd_textZoomReduce" modifiers="accel"/>
|
||||||
<key id="key_textZoomEnlarge" key="&textZoomEnlargeCmd.commandkey;" command="cmd_textZoomEnlarge" modifiers="accel"/>
|
<key id="key_textZoomEnlarge" key="&textZoomEnlargeCmd.commandkey;" command="cmd_textZoomEnlarge" modifiers="accel"/>
|
||||||
<key key="&textZoomEnlargeCmd.commandkey2;" command="cmd_textZoomEnlarge" modifiers="accel"/>
|
<key key="&textZoomEnlargeCmd.commandkey2;" command="cmd_textZoomEnlarge" modifiers="accel"/>
|
||||||
<key key="&textZoomResetCmd.commandkey;" oncommand="ZoomManager.prototype.getInstance().reset();" modifiers="accel"/>
|
<key id="key_textZoomReset" key="&textZoomResetCmd.commandkey;" command="cmd_textZoomReset" modifiers="accel"/>
|
||||||
</keyset>
|
</keyset>
|
||||||
|
|
||||||
<!-- Tab/F6 Keys -->
|
<!-- Tab/F6 Keys -->
|
||||||
|
@ -1298,10 +1299,17 @@
|
||||||
oncommand="ToggleInlineAttachment(event.target)" type="checkbox" checked="true"/>
|
oncommand="ToggleInlineAttachment(event.target)" type="checkbox" checked="true"/>
|
||||||
<menuseparator/>
|
<menuseparator/>
|
||||||
|
|
||||||
|
<menu label="&textSize.label;" accesskey="&textSize.accesskey;">
|
||||||
|
<menupopup>
|
||||||
<menuitem key="key_textZoomEnlarge" label="&textZoomEnlargeCmd.label;" accesskey="&textZoomEnlargeCmd.accesskey;"
|
<menuitem key="key_textZoomEnlarge" label="&textZoomEnlargeCmd.label;" accesskey="&textZoomEnlargeCmd.accesskey;"
|
||||||
command="cmd_textZoomEnlarge"/>
|
command="cmd_textZoomEnlarge"/>
|
||||||
<menuitem key="key_textZoomReduce" label="&textZoomReduceCmd.label;" accesskey="&textZoomReduceCmd.accesskey;"
|
<menuitem key="key_textZoomReduce" label="&textZoomReduceCmd.label;" accesskey="&textZoomReduceCmd.accesskey;"
|
||||||
command="cmd_textZoomReduce"/>
|
command="cmd_textZoomReduce"/>
|
||||||
|
<menuseparator/>
|
||||||
|
<menuitem key="key_textZoomReset" label="&textZoomResetCmd.label;" accesskey="&textZoomResetCmd.accesskey;" command="cmd_textZoomReset"/>
|
||||||
|
</menupopup>
|
||||||
|
</menu>
|
||||||
|
|
||||||
<menu id="mailviewCharsetMenu" />
|
<menu id="mailviewCharsetMenu" />
|
||||||
<menuseparator/>
|
<menuseparator/>
|
||||||
<menuitem id="pageSourceMenuItem" label="&pageSourceCmd.label;" key="key_viewPageSource" accesskey="&pageSourceCmd.accesskey;" observes="cmd_viewPageSource"/>
|
<menuitem id="pageSourceMenuItem" label="&pageSourceCmd.label;" key="key_viewPageSource" accesskey="&pageSourceCmd.accesskey;" observes="cmd_viewPageSource"/>
|
||||||
|
|
|
@ -210,14 +210,19 @@
|
||||||
<!ENTITY reloadCmd.accesskey "R">
|
<!ENTITY reloadCmd.accesskey "R">
|
||||||
<!ENTITY stopCmd.label "Stop">
|
<!ENTITY stopCmd.label "Stop">
|
||||||
<!ENTITY stopCmd.accesskey "S">
|
<!ENTITY stopCmd.accesskey "S">
|
||||||
<!ENTITY textZoomEnlargeCmd.label "Increase Text Size">
|
<!ENTITY textZoomEnlargeCmd.label "Increase">
|
||||||
<!ENTITY textZoomEnlargeCmd.accesskey "I">
|
<!ENTITY textZoomEnlargeCmd.accesskey "I">
|
||||||
<!ENTITY textZoomEnlargeCmd.commandkey "+">
|
<!ENTITY textZoomEnlargeCmd.commandkey "+">
|
||||||
<!ENTITY textZoomEnlargeCmd.commandkey2 "="> <!-- + is above this key on many keyboards -->
|
<!ENTITY textZoomEnlargeCmd.commandkey2 "="> <!-- + is above this key on many keyboards -->
|
||||||
<!ENTITY textZoomReduceCmd.label "Decrease Text Size">
|
<!ENTITY textZoomReduceCmd.label "Decrease">
|
||||||
<!ENTITY textZoomReduceCmd.accesskey "D">
|
<!ENTITY textZoomReduceCmd.accesskey "D">
|
||||||
<!ENTITY textZoomReduceCmd.commandkey "-">
|
<!ENTITY textZoomReduceCmd.commandkey "-">
|
||||||
<!ENTITY textZoomResetCmd.commandkey "0">
|
<!ENTITY textZoomResetCmd.commandkey "0">
|
||||||
|
<!ENTITY textZoomResetCmd.label "Normal">
|
||||||
|
<!ENTITY textZoomResetCmd.accesskey "N">
|
||||||
|
<!ENTITY textSize.label "Text Size">
|
||||||
|
<!ENTITY textSize.accesskey "x">
|
||||||
|
|
||||||
<!ENTITY pageSourceCmd.label "Message Source">
|
<!ENTITY pageSourceCmd.label "Message Source">
|
||||||
<!ENTITY pageSourceCmd.accesskey "o">
|
<!ENTITY pageSourceCmd.accesskey "o">
|
||||||
<!ENTITY pageSourceCmd.key "u">
|
<!ENTITY pageSourceCmd.key "u">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче