Bug 40759 - Mail prefs dialog: implement mnemonics, patch by Stefan Borggraefe (Stefan.Borggraefe@gmx.de), r=neil, sr=bz

This commit is contained in:
mconnor%myrealbox.com 2004-02-29 18:48:11 +00:00
Родитель e9c22449c4
Коммит 1a3205e7e5
11 изменённых файлов: 71 добавлений и 77 удалений

Просмотреть файл

@ -38,6 +38,7 @@
<hbox align="center"> <hbox align="center">
<checkbox id="emailCollectionOutgoing" <checkbox id="emailCollectionOutgoing"
label="&emailCollectionPicker.label;" label="&emailCollectionPicker.label;"
accesskey="&emailCollectionPicker.accesskey;"
prefstring="mail.collect_email_address_outgoing"/> prefstring="mail.collect_email_address_outgoing"/>
<menulist id="localDirectoriesList" flex="1" <menulist id="localDirectoriesList" flex="1"
preftype="string" preftype="string"

Просмотреть файл

@ -18,32 +18,17 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!ENTITY window.title "Addressing"> <!ENTITY pane.title "Addressing">
<!ENTITY pane.title "Addressing"> <!ENTITY emailCollectiontitle.label "Email Address Collection">
<!ENTITY pane.description "Settings for addressing messages"> <!ENTITY emailCollectionPicker.label "Add email addresses to my:">
<!ENTITY pinpoint.label "Pinpoint Addressing"> <!ENTITY emailCollectionPicker.accesskey "A">
<!ENTITY lookFor.label "Look for addresses in the following:"> <!ENTITY emailCollectiontext.label "Email addresses from outgoing messages can be automatically added to a local address book.">
<!ENTITY padCheck.label "Address Books">
<!ENTITY padCheck.accesskey "a">
<!ENTITY dirCheck.label "Directory Server">
<!ENTITY dirCheck.accesskey "d">
<!ENTITY mulFound.label "When there are multiple addresses found:">
<!ENTITY showList.label "Show me a list of choices">
<!ENTITY showList.accesskey "s">
<!ENTITY acceptList.label "Accept what I have typed">
<!ENTITY acceptList.accesskey "c">
<!ENTITY oneMatch.label "If there is one match in your personal address books:">
<!ENTITY useAddress.label "Use the address and do not search in the directory">
<!ENTITY useAddress.accesskey "u">
<!ENTITY emailCollectiontitle.label "Email Address Collection">
<!ENTITY emailCollectionPicker.label "Add email addresses to my:">
<!ENTITY emailCollectiontext.label "Email addresses from outgoing messages can be automatically added to a local address book.">
<!-- Autocompletion --> <!-- Autocompletion -->
<!ENTITY addressingTitle.label "Address Autocompletion"> <!ENTITY addressingTitle.label "Address Autocompletion">
<!-- LOCALIZATION NOTE (addressingText.label) : do not translate "LDAP" in below line --> <!-- LOCALIZATION NOTE (addressingText.label) : do not translate "LDAP" in below line -->
<!ENTITY addressingEnable.label "Local Address Books"> <!ENTITY addressingEnable.label "Local Address Books">
<!ENTITY addressingEnable.accesskey "A"> <!ENTITY addressingEnable.accesskey "L">
<!ENTITY autocompleteText.label "When addressing messages, look for matching entries in:"> <!ENTITY autocompleteText.label "When addressing messages, look for matching entries in:">
<!ENTITY directories.label "Directory Server:"> <!ENTITY directories.label "Directory Server:">
<!ENTITY directories.accesskey "D"> <!ENTITY directories.accesskey "D">

Просмотреть файл

@ -96,21 +96,21 @@ Contributor(s):
<caption label="&toolbarIntro.label;"/> <caption label="&toolbarIntro.label;"/>
<vbox> <vbox>
<checkbox id="fileButton" <checkbox id="fileButton"
label="&fileButton.label;" label="&fileButton.label;" accesskey="&fileButton.accesskey;"
prefstring="mail.toolbars.showbutton.file"/> prefstring="mail.toolbars.showbutton.file"/>
<checkbox id="nextButton" <checkbox id="nextButton"
label="&nextButton.label;" label="&nextButton.label;" accesskey="&nextButton.accesskey;"
prefstring="mail.toolbars.showbutton.next"/> prefstring="mail.toolbars.showbutton.next"/>
<checkbox id="printButton" <checkbox id="printButton"
label="&printButton.label;" label="&printButton.label;" accesskey="&printButton.accesskey;"
prefstring="mail.toolbars.showbutton.print"/> prefstring="mail.toolbars.showbutton.print"/>
</vbox> </vbox>
<vbox> <vbox>
<checkbox id="stopButton" <checkbox id="stopButton"
label="&stopButton.label;" label="&stopButton.label;" accesskey="&stopButton.accesskey;"
prefstring="mail.toolbars.showbutton.stop"/> prefstring="mail.toolbars.showbutton.stop"/>
<checkbox id="junkMailButton" <checkbox id="junkMailButton"
label="&junkMailButton.label;" label="&junkMailButton.label;" accesskey="&junkMailButton.accesskey;"
prefstring="mail.toolbars.showbutton.junk"/> prefstring="mail.toolbars.showbutton.junk"/>
</vbox> </vbox>
</groupbox> </groupbox>

Просмотреть файл

@ -58,8 +58,10 @@ Contributor(s):
<hbox align="center" class="indent"> <hbox align="center" class="indent">
<radiogroup id="newMailNotificationType" prefstring="mail.biff.play_sound.type" orient="vertical"> <radiogroup id="newMailNotificationType" prefstring="mail.biff.play_sound.type" orient="vertical">
<radio class="iconic" value="0" oncommand="PlaySoundCheck()" label="&systemsound.label;" id="system"/> <radio id="system" class="iconic" value="0" oncommand="PlaySoundCheck()"
<radio class="iconic" value="1" oncommand="PlaySoundCheck()" label="&customsound.label;" id="custom"/> label="&systemsound.label;" accesskey="&systemsound.accesskey;"/>
<radio id="custom" class="iconic" value="1" oncommand="PlaySoundCheck()"
label="&customsound.label;" accesskey="&customsound.accesskey;"/>
</radiogroup> </radiogroup>
</hbox> </hbox>

Просмотреть файл

@ -64,25 +64,33 @@
<label value="&textStartUp;"/> <label value="&textStartUp;"/>
<radiogroup id="whenStartingUp" <radiogroup id="whenStartingUp"
prefstring="offline.startup_state"> prefstring="offline.startup_state">
<radio value="0" label="&radioRememberPrevState;"/> <radio value="0" label="&radioRememberPrevState;"
<radio value="1" label="&radioAskMe;"/> accesskey="&radioRememberPrevState.accesskey;"/>
<radio value="1" label="&radioAskMe;"
accesskey="&radioAskMe.accesskey;"/>
</radiogroup> </radiogroup>
<separator class="thin"/> <separator class="thin"/>
<label value="&textGoingOnline;"/> <label value="&textGoingOnline;"/>
<radiogroup id="whengoingOnlinestate" <radiogroup id="whengoingOnlinestate"
prefstring="offline.send.unsent_messages"> prefstring="offline.send.unsent_messages">
<radio value="0" label="&radioAskUnsent;"/> <radio value="0" label="&radioAskUnsent;"
<radio value="1" label="&radioAutoSend;"/> accesskey="&radioAskUnsent.accesskey;"/>
<radio value="2" label="&radioNotSend;"/> <radio value="1" label="&radioAutoSend;"
accesskey="&radioAutoSend.accesskey;"/>
<radio value="2" label="&radioNotSend;"
accesskey="&radioNotSend.accesskey;"/>
</radiogroup> </radiogroup>
<separator class="thin"/> <separator class="thin"/>
<label value="&textGoingOffline;"/> <label value="&textGoingOffline;"/>
<radiogroup id="whengoingOfflinestate" <radiogroup id="whengoingOfflinestate"
prefstring="offline.download.download_messages"> prefstring="offline.download.download_messages">
<radio value="0" label="&radioAskDownload;"/> <radio value="0" label="&radioAskDownload;"
<radio value="1" label="&radioAutoDownload;"/> accesskey="&radioAskDownload.accesskey;"/>
<radio value="2" label="&radioNotDownload;"/> <radio value="1" label="&radioAutoDownload;"
accesskey="&radioAutoDownload.accesskey;"/>
<radio value="2" label="&radioNotDownload;"
accesskey="&radioNotDownload.accesskey;"/>
</radiogroup> </radiogroup>
</groupbox> </groupbox>

Просмотреть файл

@ -37,7 +37,12 @@ Rights Reserved.
<!ENTITY rememberLastMsg.accesskey "e"> <!ENTITY rememberLastMsg.accesskey "e">
<!ENTITY toolbarIntro.label "Select the buttons you want to see in the toolbar"> <!ENTITY toolbarIntro.label "Select the buttons you want to see in the toolbar">
<!ENTITY fileButton.label "File"> <!ENTITY fileButton.label "File">
<!ENTITY fileButton.accesskey "F">
<!ENTITY nextButton.label "Next"> <!ENTITY nextButton.label "Next">
<!ENTITY nextButton.accesskey "N">
<!ENTITY junkMailButton.label "Junk"> <!ENTITY junkMailButton.label "Junk">
<!ENTITY junkMailButton.accesskey "J">
<!ENTITY printButton.label "Print"> <!ENTITY printButton.label "Print">
<!ENTITY stopButton.label "Stop"> <!ENTITY printButton.accesskey "P">
<!ENTITY stopButton.label "Stop">
<!ENTITY stopButton.accesskey "S">

Просмотреть файл

@ -27,7 +27,9 @@ Rights Reserved.
<!ENTITY preview.label "Preview"> <!ENTITY preview.label "Preview">
<!ENTITY preview.accesskey "v"> <!ENTITY preview.accesskey "v">
<!ENTITY systemsound.label "System New Mail Sound"> <!ENTITY systemsound.label "System New Mail Sound">
<!ENTITY systemsound.accesskey "M">
<!ENTITY customsound.label "Custom .wav file"> <!ENTITY customsound.label "Custom .wav file">
<!ENTITY customsound.accesskey "C">
<!ENTITY browse.label "Browse..."> <!ENTITY browse.label "Browse...">
<!ENTITY browse.accesskey "B"> <!ENTITY browse.accesskey "B">
<!ENTITY browse.title "Choose file"> <!ENTITY browse.title "Choose file">

Просмотреть файл

@ -1,21 +1,28 @@
<!-- extracted from content/pref-offline.xul --> <!-- extracted from content/pref-offline.xul -->
<!--LOCALIZATION NOTE : FILE The 'Offline' preferences dialog --> <!--LOCALIZATION NOTE : FILE The 'Offline' preferences dialog -->
<!ENTITY window.title "Offline &amp; Disk Space">
<!ENTITY boxHeader "Offline &amp; Disk Space"> <!ENTITY boxHeader "Offline &amp; Disk Space">
<!ENTITY rHeader "Offline"> <!ENTITY rHeader "Offline">
<!ENTITY textStartUp "When starting up:"> <!ENTITY textStartUp "When starting up:">
<!ENTITY radioRememberPrevState "Remember previous online state"> <!ENTITY radioRememberPrevState "Remember previous online state">
<!ENTITY radioRememberPrevState.accesskey "R">
<!ENTITY radioAskMe "Ask me for online state at startup"> <!ENTITY radioAskMe "Ask me for online state at startup">
<!ENTITY radioAskMe.accesskey "A">
<!ENTITY textGoingOnline "When going online:"> <!ENTITY textGoingOnline "When going online:">
<!ENTITY radioAskUnsent "Ask me if I want to send my unsent messages"> <!ENTITY radioAskUnsent "Ask me if I want to send my unsent messages">
<!ENTITY radioAskUnsent.accesskey "s">
<!ENTITY radioAutoSend "Automatically send my unsent messages"> <!ENTITY radioAutoSend "Automatically send my unsent messages">
<!ENTITY radioAutoSend.accesskey "u">
<!ENTITY radioNotSend "Do not send my unsent messages"> <!ENTITY radioNotSend "Do not send my unsent messages">
<!ENTITY radioNotSend.accesskey "D">
<!ENTITY textGoingOffline "When going offline:"> <!ENTITY textGoingOffline "When going offline:">
<!ENTITY radioAskDownload "Ask me if I want to download messages for offline use"> <!ENTITY radioAskDownload "Ask me if I want to download messages for offline use">
<!ENTITY radioAskDownload.accesskey "k">
<!ENTITY radioAutoDownload "Automatically download messages for offline use"> <!ENTITY radioAutoDownload "Automatically download messages for offline use">
<!ENTITY radioAutoDownload.accesskey "o">
<!ENTITY radioNotDownload "Do not download messages for offline use"> <!ENTITY radioNotDownload "Do not download messages for offline use">
<!ENTITY radioNotDownload.accesskey "n">
<!ENTITY Diskspace "Disk Space"> <!ENTITY Diskspace "Disk Space">
<!ENTITY offlineCompact.label "Compact folders when it will save over"> <!ENTITY offlineCompact.label "Compact folders when it will save over">
<!ENTITY offlineCompact.accesskey "c"> <!ENTITY offlineCompact.accesskey "C">
<!ENTITY kb.label "KB"> <!ENTITY kb.label "KB">

Просмотреть файл

@ -24,31 +24,23 @@ Rights Reserved.
<!ENTITY requestReceipt.label "When sending messages, always request a return receipt"> <!ENTITY requestReceipt.label "When sending messages, always request a return receipt">
<!ENTITY requestReceipt.accesskey "W"> <!ENTITY requestReceipt.accesskey "W">
<!-- LOCALIZATION NOTE dsn.label: don't translate "DSN" --> <!-- LOCALIZATION NOTE dsn.label: don't translate "DSN" -->
<!ENTITY dsn.label "A delivery receipt from the receiving server (DSN)">
<!ENTITY dsn.accesskey "d">
<!ENTITY mdn.label "A read receipt, notifying me when recipients display the message (MDN)">
<!ENTITY mdn.accesskey "m">
<!ENTITY both.label "Both types of receipt">
<!ENTITY both.accesskey "b">
<!ENTITY receiptArrive.label "When a receipt arrives:"> <!ENTITY receiptArrive.label "When a receipt arrives:">
<!ENTITY leaveIt.label "Leave it in my Inbox"> <!ENTITY leaveIt.label "Leave it in my Inbox">
<!ENTITY leaveIt.accesskey "i"> <!ENTITY leaveIt.accesskey "I">
<!-- LOCALIZATION NOTE moveToSent.label Translate: 'Sent' according to Netscape glossary --> <!-- LOCALIZATION NOTE moveToSent.label Translate: 'Sent' according to Netscape glossary -->
<!ENTITY moveToSent.label "Move it to my &quot;Sent&quot; folder"> <!ENTITY moveToSent.label "Move it to my &quot;Sent&quot; folder">
<!ENTITY moveToSent.accesskey "m"> <!ENTITY moveToSent.accesskey "M">
<!ENTITY requestMDN.label "When I receive a request for a return receipt:"> <!ENTITY requestMDN.label "When I receive a request for a return receipt:">
<!ENTITY returnSome.label "Allow return receipts for some messages"> <!ENTITY returnSome.label "Allow return receipts for some messages">
<!ENTITY returnSome.accesskey "r"> <!ENTITY returnSome.accesskey "e">
<!ENTITY never.label "Never send a return receipt"> <!ENTITY never.label "Never send a return receipt">
<!ENTITY never.accesskey "n"> <!ENTITY never.accesskey "N">
<!ENTITY custom.label "Customize...">
<!ENTITY custom.accesskey "c">
<!ENTITY notInToCc.label "If I'm not in the To or Cc of the message:"> <!ENTITY notInToCc.label "If I'm not in the To or Cc of the message:">
<!ENTITY notInToCc.accesskey "f"> <!ENTITY notInToCc.accesskey "T">
<!ENTITY outsideDomain.label "If the sender is outside my domain:"> <!ENTITY outsideDomain.label "If the sender is outside my domain:">
<!ENTITY outsideDomain.accesskey "t"> <!ENTITY outsideDomain.accesskey "s">
<!ENTITY otherCases.label "In all other cases:"> <!ENTITY otherCases.label "In all other cases:">
<!ENTITY otherCases.accesskey "a"> <!ENTITY otherCases.accesskey "o">
<!ENTITY askMe.label "Ask me"> <!ENTITY askMe.label "Ask me">
<!ENTITY alwaysSend.label "Always send"> <!ENTITY alwaysSend.label "Always send">
<!ENTITY neverSend.label "Never send"> <!ENTITY neverSend.label "Never send">

Просмотреть файл

@ -122,7 +122,7 @@
<caption label="&defaultMessagesHeader.label;"/> <caption label="&defaultMessagesHeader.label;"/>
<vbox> <vbox>
<hbox align="center"> <hbox align="center">
<label value="&font.label;"/> <label control="FontSelect" value="&font.label;" accesskey="&font.accesskey;"/>
<menulist id="FontSelect" preftype="string" prefstring="msgcompose.font_face"> <menulist id="FontSelect" preftype="string" prefstring="msgcompose.font_face">
<menupopup> <menupopup>
<menuitem value="" label="&fontVarWidth.label;"/> <menuitem value="" label="&fontVarWidth.label;"/>
@ -136,7 +136,7 @@
</menulist> </menulist>
</hbox> </hbox>
<hbox align="center"> <hbox align="center">
<label value="&size.label;"/> <label control="fontSizeSelect" value="&size.label;" accesskey="&size.accesskey;"/>
<menulist id="fontSizeSelect" preftype="string" prefstring="msgcompose.font_size"> <menulist id="fontSizeSelect" preftype="string" prefstring="msgcompose.font_size">
<menupopup> <menupopup>
<menuitem value="x-small" label="&size-x-smallCmd.label;"/> <menuitem value="x-small" label="&size-x-smallCmd.label;"/>
@ -147,10 +147,10 @@
<menuitem value="xx-large" label="&size-xx-largeCmd.label;"/> <menuitem value="xx-large" label="&size-xx-largeCmd.label;"/>
</menupopup> </menupopup>
</menulist> </menulist>
<label value="&fontColor.label;"/> <label control="textColorButton" value="&fontColor.label;" accesskey="&fontColor.accesskey;"/>
<colorpicker type="button" id="textColorButton" onchange="setColorWell(this)"/> <colorpicker type="button" id="textColorButton" onchange="setColorWell(this)"/>
<data id="textColor" preftype="color" prefstring="msgcompose.text_color" prefattribute="value" wsm_attributes="value"/> <data id="textColor" preftype="color" prefstring="msgcompose.text_color" prefattribute="value" wsm_attributes="value"/>
<label value="&bgColor.label;"/> <label control="backgroundColorButton" value="&bgColor.label;" accesskey="&bgColor.accesskey;"/>
<colorpicker type="button" id="backgroundColorButton" onchange="setColorWell(this)"/> <colorpicker type="button" id="backgroundColorButton" onchange="setColorWell(this)"/>
<data id="backgroundColor" preftype="color" prefstring="msgcompose.background_color" prefattribute="value" wsm_attributes="value"/> <data id="backgroundColor" preftype="color" prefstring="msgcompose.background_color" prefattribute="value" wsm_attributes="value"/>
</hbox> </hbox>

Просмотреть файл

@ -19,47 +19,39 @@ Rights Reserved.
--> -->
<!ENTITY pane.title "Composition"> <!ENTITY pane.title "Composition">
<!ENTITY pane.description "Composing mail messages">
<!ENTITY forwardReply.label "Forwarding Messages"> <!ENTITY forwardReply.label "Forwarding Messages">
<!ENTITY forwardMsg.label "Forward messages:"> <!ENTITY forwardMsg.label "Forward messages:">
<!ENTITY forwardMsg.accesskey "f"> <!ENTITY forwardMsg.accesskey "F">
<!ENTITY inline.label "Inline"> <!ENTITY inline.label "Inline">
<!ENTITY inline.accesskey "I"> <!ENTITY inline.accesskey "I">
<!ENTITY quoted.label "Quoted">
<!ENTITY quoted.accesskey "q">
<!ENTITY asAttachment.label "As Attachment"> <!ENTITY asAttachment.label "As Attachment">
<!ENTITY asAttachment.accesskey "A"> <!ENTITY asAttachment.accesskey "A">
<!ENTITY warnOnSendAccelKey.label "Confirm when using keyboard shortcut to send message"> <!ENTITY warnOnSendAccelKey.label "Confirm when using keyboard shortcut to send message">
<!ENTITY warnOnSendAccelKey.accesskey "C"> <!ENTITY warnOnSendAccelKey.accesskey "k">
<!ENTITY readingMessagesHeader.label "For incoming messages">
<!ENTITY messageWrapping.label "Message Wrapping">
<!ENTITY wrapInMsg.label "Wrap plain text messages to fit window width">
<!ENTITY wrapInMsg.accesskey "w">
<!ENTITY sendingMessagesHeader.label "Composing Messages"> <!ENTITY sendingMessagesHeader.label "Composing Messages">
<!ENTITY spellCheck.label "Check spelling before sending"> <!ENTITY spellCheck.label "Check spelling before sending">
<!ENTITY spellCheck.accesskey "c"> <!ENTITY spellCheck.accesskey "C">
<!-- LOCALIZATION NOTE (wrapOutMsg.label): This will concatenate with "xxx characters", using a number and (char.label). --> <!-- LOCALIZATION NOTE (wrapOutMsg.label): This will concatenate with "xxx characters", using a number and (char.label). -->
<!ENTITY wrapOutMsg.label "Wrap plain text messages at"> <!ENTITY wrapOutMsg.label "Wrap plain text messages at">
<!ENTITY wrapOutMsg.accesskey "l"> <!ENTITY wrapOutMsg.accesskey "W">
<!ENTITY char.label "characters"> <!ENTITY char.label "characters">
<!ENTITY use8Bits.label "Send messages that use 8-bit characters">
<!ENTITY asIs.label "As is (does not work well with some mail servers)">
<!ENTITY asIs.accesskey "t">
<!ENTITY useMIME.label "For messages that contain 8-bit characters, use 'quoted printable' MIME encoding. Leave unchecked to send the messages as is."> <!ENTITY useMIME.label "For messages that contain 8-bit characters, use 'quoted printable' MIME encoding. Leave unchecked to send the messages as is.">
<!ENTITY useMIME.accesskey "o"> <!ENTITY useMIME.accesskey "o">
<!ENTITY sendDefaultCharset.label "Character Encoding:"> <!ENTITY sendDefaultCharset.label "Character Encoding:">
<!ENTITY sendDefaultCharset.accesskey "h"> <!ENTITY sendDefaultCharset.accesskey "r">
<!ENTITY languagesTitle.label "Languages"> <!ENTITY languagesTitle.label "Languages">
<!ENTITY languagesText.label "Use the following character encoding as the default for composing messages:">
<!ENTITY defaultMessagesHeader.label "Defaults for HTML Messages"> <!ENTITY defaultMessagesHeader.label "Defaults for HTML Messages">
<!ENTITY font.label "Font:"> <!ENTITY font.label "Font:">
<!ENTITY font.accesskey "n">
<!ENTITY size.label "Size:"> <!ENTITY size.label "Size:">
<!ENTITY size.accesskey "S">
<!ENTITY fontColor.label "Text:"> <!ENTITY fontColor.label "Text:">
<!ENTITY fontColor.accesskey "T">
<!ENTITY bgColor.label "Background:"> <!ENTITY bgColor.label "Background:">
<!ENTITY bgColor.accesskey "B">
<!-- Tooltips --> <!-- Tooltips -->