RetroZilla/mailnews/compose/prefs/resources/content/pref-composing_messages.xul

130 lines
5.7 KiB
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<!DOCTYPE page [
<!ENTITY % pref-composing_messagesDTD SYSTEM "chrome://messenger/locale/messengercompose/pref-composing_messages.dtd" >
%pref-composing_messagesDTD;
<!ENTITY % editorOverlayDTD SYSTEM "chrome://editor/locale/editorOverlay.dtd" >
%editorOverlayDTD;
]>
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="PopulateFonts();parent.initPanel('chrome://messenger/content/messengercompose/pref-composing_messages.xul');"
headertitle="&pref.composing.messages.title;">
<stringbundle id="languageBundle" src="chrome://global/locale/languageNames.properties"/>
<stringbundle id="regionBundle" src="chrome://global/locale/regionNames.properties"/>
<script type="application/x-javascript" src="chrome://messenger/content/messengercompose/pref-composing_messages.js"/>
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["forwardMessageMode", "autoSave", "autoSaveInterval",
"spellCheckBeforeSend", "inlineSpellCheck", "languageMenuList",
"mailWarnOnSendAccelKey", "wrapLength", "fontSelect",
"fontSizeSelect", "textColor", "backgroundColor"];
]]>
</script>
<groupbox>
<caption label="&generalComposing.label;"/>
<radiogroup id="forwardMessageMode" orient="horizontal" align="center"
prefstring="mail.forward_message_mode">
<label value="&forwardMsg.label;"/>
<radio value="2" label="&inline.label;" accesskey="&inline.accesskey;"/>
<radio value="0" label="&asAttachment.label;"
accesskey="&asAttachment.accesskey;"/>
</radiogroup>
<hbox align="center">
<checkbox id="autoSave" label="&autoSave.label;"
prefstring="mail.compose.autosave"
accesskey="&autoSave.accesskey;"
oncommand="EnableTextbox(this, gAutoSaveInterval, false);"/>
<textbox id="autoSaveInterval" size="2" preftype="int"
prefstring="mail.compose.autosaveinterval"/>
<label value="&autoSaveEnd.label;"/>
</hbox>
<checkbox id="mailWarnOnSendAccelKey" label="&warnOnSendAccelKey.label;"
prefstring="mail.warn_on_send_accel_key"
accesskey="&warnOnSendAccelKey.accesskey;" />
<hbox align="center">
<label value="&wrapOutMsg.label;" accesskey="&wrapOutMsg.accesskey;" control="wrapLength"/>
<textbox id="wrapLength" size="3" preftype="int"
prefstring="mailnews.wraplength" prefattribute="value"/>
<label value="&char.label;"/>
</hbox>
</groupbox>
<!-- Composing Mail -->
<groupbox id="spellingGroup" align="start">
<caption label="&spellingHeader.label;"/>
<vbox align="start">
<checkbox id="spellCheckBeforeSend" label="&spellCheck.label;"
prefstring="mail.SpellCheckBeforeSend"
accesskey="&spellCheck.accesskey;"/>
<checkbox id="inlineSpellCheck" label="&spellCheckInline.label;"
prefstring="mail.spellcheck.inline"
accesskey="&spellCheckInline.accesskey;"/>
</vbox>
<separator class="thin"/>
<hbox align="center" pack="start">
<label value="&languagePopup.label;" control="languageMenuList"
accesskey="&languagePopup.accessKey;"/>
<menulist id="languageMenuList" oncommand="SelectLanguage(event.target)"
preftype="localizedstring" prefstring="spellchecker.dictionary">
<menupopup onpopupshowing="InitLanguageMenu();">
<!-- dynamic content populated by JS -->
<menuseparator/>
<menuitem value="more-cmd" label="&moreDictionaries.label;"/>
</menupopup>
</menulist>
<spring flex="1"/>
</hbox>
</groupbox>
<groupbox align="start">
<caption label="&defaultMessagesHeader.label;"/>
<vbox>
<hbox align="center">
<label control="fontSelect" value="&font.label;" accesskey="&font.accesskey;"/>
<menulist id="fontSelect" preftype="string" prefstring="msgcompose.font_face">
<menupopup>
<menuitem value="" label="&fontVarWidth.label;"/>
<menuitem value="tt" label="&fontFixedWidth.label;"/>
<menuseparator/>
<menuitem value="Helvetica, Arial, sans-serif" label="&fontHelveticaFont.label;"/>
<menuitem value="Times New Roman, Times, serif" label="&fontTimes.label;"/>
<menuitem value="Courier New, Courier, monospace" label="&fontCourier.label;"/>
<menuseparator/>
</menupopup>
</menulist>
</hbox>
<hbox align="center">
<label control="fontSizeSelect" value="&size.label;" accesskey="&size.accesskey;"/>
<menulist id="fontSizeSelect" preftype="string" prefstring="msgcompose.font_size">
<menupopup>
<menuitem value="x-small" label="&size-x-smallCmd.label;"/>
<menuitem value="small" label="&size-smallCmd.label;"/>
<menuitem value="medium" label="&size-mediumCmd.label;"/>
<menuitem value="large" label="&size-largeCmd.label;"/>
<menuitem value="x-large" label="&size-x-largeCmd.label;"/>
<menuitem value="xx-large" label="&size-xx-largeCmd.label;"/>
</menupopup>
</menulist>
<label control="textColor" value="&fontColor.label;" accesskey="&fontColor.accesskey;"/>
<colorpicker type="button" id="textColor" prefstring="msgcompose.text_color"/>
<label control="backgroundColor" value="&bgColor.label;" accesskey="&bgColor.accesskey;"/>
<colorpicker type="button" id="backgroundColor" prefstring="msgcompose.background_color"/>
</hbox>
</vbox>
</groupbox>
</page>