Accesskeys on print preview toolbar buttons.

b=133506; r=caillon; sr=blake
This commit is contained in:
sgehani%netscape.com 2006-07-29 05:35:18 +00:00
parent f188a73f4e
commit 388d37728e
2 changed files with 31 additions and 27 deletions

View File

@ -50,9 +50,10 @@
</resources>
<content>
<xul:button label="&print.label;" oncommand="BrowserPrint();"/>
<xul:button label="&print.label;" accesskey="&print.accesskey;"
oncommand="BrowserPrint();"/>
<xul:button label="&pageSetup.label;"
<xul:button label="&pageSetup.label;" accesskey="&pageSetup.accesskey;"
oncommand="doPageSetup();"/>
<xul:vbox align="center" pack="center">
@ -117,7 +118,7 @@
<xul:toolbarseparator/>
<xul:toolbarseparator class="toolbarseparator-primary"/>
<xul:button label="&close.label;"
<xul:button label="&close.label;" accesskey="&close.accesskey;"
oncommand="BrowserExitPrintPreview();"/>
<xul:data value="&customPrompt.title;"/>
</content>

View File

@ -35,27 +35,30 @@
-
- ***** END LICENSE BLOCK ***** -->
<!ENTITY print.label "Print...">
<!ENTITY pageSetup.label "Page Setup...">
<!ENTITY page.label "Page:">
<!ENTITY of.label "of">
<!ENTITY scale.label "Scale:">
<!ENTITY percent.label "&#037;">
<!ENTITY portrait.label "Portrait">
<!ENTITY landscape.label "Landscape">
<!ENTITY close.label "Close">
<!ENTITY p30.label "30&#037;">
<!ENTITY p40.label "40&#037;">
<!ENTITY p50.label "50&#037;">
<!ENTITY p60.label "60&#037;">
<!ENTITY p70.label "70&#037;">
<!ENTITY p80.label "80&#037;">
<!ENTITY p90.label "90&#037;">
<!ENTITY p100.label "100&#037;">
<!ENTITY p125.label "125&#037;">
<!ENTITY p150.label "150&#037;">
<!ENTITY p175.label "175&#037;">
<!ENTITY p200.label "200&#037;">
<!ENTITY Custom.label "Custom...">
<!ENTITY ShrinkToFit.label "Shrink To Fit">
<!ENTITY customPrompt.title "Custom Scale...">
<!ENTITY print.label "Print...">
<!ENTITY print.accesskey "P">
<!ENTITY pageSetup.label "Page Setup...">
<!ENTITY pageSetup.accesskey "u">
<!ENTITY page.label "Page:">
<!ENTITY of.label "of">
<!ENTITY scale.label "Scale:">
<!ENTITY percent.label "&#037;">
<!ENTITY portrait.label "Portrait">
<!ENTITY landscape.label "Landscape">
<!ENTITY close.label "Close">
<!ENTITY close.accesskey "C">
<!ENTITY p30.label "30&#037;">
<!ENTITY p40.label "40&#037;">
<!ENTITY p50.label "50&#037;">
<!ENTITY p60.label "60&#037;">
<!ENTITY p70.label "70&#037;">
<!ENTITY p80.label "80&#037;">
<!ENTITY p90.label "90&#037;">
<!ENTITY p100.label "100&#037;">
<!ENTITY p125.label "125&#037;">
<!ENTITY p150.label "150&#037;">
<!ENTITY p175.label "175&#037;">
<!ENTITY p200.label "200&#037;">
<!ENTITY Custom.label "Custom...">
<!ENTITY ShrinkToFit.label "Shrink To Fit">
<!ENTITY customPrompt.title "Custom Scale...">