sr=bienvenu
This commit is contained in:
scott%scott-macgregor.org 2006-11-28 01:06:17 +00:00
Родитель 7ad2aaccf0
Коммит 7e4c73ac56
29 изменённых файлов: 687 добавлений и 470 удалений

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

@ -202,5 +202,58 @@ var gAdvancedPane = {
textbox.disabled = !document.getElementById('markAsRead').checked; textbox.disabled = !document.getElementById('markAsRead').checked;
if (!textbox.disabled && aFocusTextBox) if (!textbox.disabled && aFocusTextBox)
textbox.focus(); textbox.focus();
},
/**
* open the return receipts configuration dialog
*/
showReturnReceipts: function()
{
document.documentElement.openSubDialog("chrome://messenger/content/preferences/receipts.xul",
"", null);
},
/**
* open the connections dialog
*/
showConnections: function ()
{
document.documentElement
.openSubDialog("chrome://messenger/content/preferences/connection.xul",
"", null);
},
/**
* open the offline settings dialog
*/
showOffline: function()
{
document.documentElement
.openSubDialog("chrome://messenger/content/preferences/offline.xul",
"", null);
},
showCertificates: function ()
{
document.documentElement.openWindow("mozilla:certmanager", "chrome://pippki/content/certManager.xul",
"width=600,height=400", null);
},
showCRLs: function ()
{
document.documentElement.openWindow("Mozilla:CRLManager", "chrome://pippki/content/crlManager.xul",
"width=600,height=400", null);
},
showOCSP: function ()
{
document.documentElement.openSubDialog("chrome://mozapps/content/preferences/ocsp.xul",
"", null);
},
showSecurityDevices: function ()
{
document.documentElement.openWindow("mozilla:devicemanager", "chrome://pippki/content/device_manager.xul",
"width=600,height=400", null);
} }
}; };

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

@ -63,9 +63,6 @@
<preference id="mail.showFolderPaneColumns" name="mail.showFolderPaneColumns" type="bool"/> <preference id="mail.showFolderPaneColumns" name="mail.showFolderPaneColumns" type="bool"/>
<preference id="mailnews.reuse_message_window" name="mailnews.reuse_message_window" type="bool"/> <preference id="mailnews.reuse_message_window" name="mailnews.reuse_message_window" type="bool"/>
<preference id="mailnews.tcptimeout" name="mailnews.tcptimeout" type="int"/> <preference id="mailnews.tcptimeout" name="mailnews.tcptimeout" type="int"/>
<preference id="offline.startup_state" name="offline.startup_state" type="int"/>
<preference id="offline.send.unsent_messages" name="offline.send.unsent_messages" type="int"/>
<preference id="offline.download.download_messages" name="offline.download.download_messages" type="int"/>
<preference id="mail.prompt_purge_threshhold" name="mail.prompt_purge_threshhold" type="bool"/> <preference id="mail.prompt_purge_threshhold" name="mail.prompt_purge_threshhold" type="bool"/>
<preference id="mail.purge_threshhold" name="mail.purge_threshhold" type="int"/> <preference id="mail.purge_threshhold" name="mail.purge_threshhold" type="int"/>
<preference id="app.update.enabled" name="app.update.enabled" type="bool" <preference id="app.update.enabled" name="app.update.enabled" type="bool"
@ -81,13 +78,23 @@
<preference id="app.update.disable_button.showUpdateHistory" <preference id="app.update.disable_button.showUpdateHistory"
name="app.update.disable_button.showUpdateHistory" name="app.update.disable_button.showUpdateHistory"
type="bool"/> type="bool"/>
<preference id="security.disable_button.openCertManager"
name="security.disable_button.openCertManager"
type="bool"/>
<preference id="security.OCSP.disable_button.managecrl"
name="security.OCSP.disable_button.managecrl"
type="bool"/>
<preference id="security.disable_button.openDeviceManager"
name="security.disable_button.openDeviceManager"
type="bool"/>
</preferences> </preferences>
<tabbox id="advancedPrefs" flex="1" onselect="gAdvancedPane.tabSelectionChanged();"> <tabbox id="advancedPrefs" flex="1" onselect="gAdvancedPane.tabSelectionChanged();">
<tabs> <tabs>
<tab label="&itemGeneral.label;"/> <tab label="&itemGeneral.label;"/>
<tab id="offlineTab" label="&itemOffline.label;"/> <tab id="networkingTab" label="&itemNetworking.label;"/>
<tab label="&itemUpdate.label;"/> <tab label="&itemUpdate.label;"/>
<tab label="&itemCertificates.label;"/>
</tabs> </tabs>
<tabpanels flex="1"> <tabpanels flex="1">
@ -115,14 +122,8 @@
<hbox align="center" pack="start"> <hbox align="center" pack="start">
<checkbox id="showFolderPaneColumns" label="&showFolderColumns.label;" <checkbox id="showFolderPaneColumns" label="&showFolderColumns.label;"
accesskey="&showFolderColumns.accesskey;" preference="mail.showFolderPaneColumns"/> accesskey="&showFolderColumns.accesskey;" preference="mail.showFolderPaneColumns"/>
</hbox>
<hbox align="center" pack="start">
<label value="&connectionTimeout.label;" accesskey="&connectionTimeout.accesskey;" control="connectionTimeoutBox" />
<textbox id="connectionTimeoutBox" size="3" preference="mailnews.tcptimeout"/>
<label value="&connectionSeconds.label;"/>
</hbox> </hbox>
<separator class="thin"/> <separator class="thin"/>
<vbox> <vbox>
@ -145,43 +146,43 @@
<button id="configEditor" label="&configEdit.label;" <button id="configEditor" label="&configEdit.label;"
accesskey="&configEdit.accesskey;" oncommand="gAdvancedPane.showConfigEdit();"/> accesskey="&configEdit.accesskey;" oncommand="gAdvancedPane.showConfigEdit();"/>
</hbox> </hbox>
<hbox align="center">
<description flex="1">&returnReceiptsInfo.label;</description>
<button label="&showReturnReceipts.label;"
accesskey="&showReturnReceipts.accesskey;"
oncommand="gAdvancedPane.showReturnReceipts();"/>
</hbox>
</tabpanel> </tabpanel>
<tabpanel orient="vertical"> <tabpanel orient="vertical">
<!-- Offline --> <!-- Networking & Disk Space -->
<groupbox> <groupbox>
<caption label="&offline.label;"/> <caption label="&connectionsInfo.caption;"/>
<hbox align="center">
<description flex="1" control="catProxiesButton">&proxiesInfo.label;</description>
<button id="catProxiesButton" label="&showConnections.label;"
accesskey="&showConnections.accesskey;"
oncommand="gAdvancedPane.showConnections();"/>
</hbox>
<label value="&textStartUp;"/> <hbox align="center" pack="start">
<radiogroup id="whenStartingUp" class="indent" preference="offline.startup_state"> <label value="&connectionTimeout.label;" accesskey="&connectionTimeout.accesskey;" control="connectionTimeoutBox" />
<radio value="0" label="&radioRememberPrevState;" accesskey="&radioRememberPrevState.accesskey;"/> <textbox id="connectionTimeoutBox" size="3" preference="mailnews.tcptimeout"/>
<radio value="1" label="&radioAskMe;" accesskey="&radioAskMe.accesskey;"/> <label value="&connectionSeconds.label;"/>
<radio value="2" label="&radioAlwaysOnline;" accesskey="&radioAlwaysOnline.accesskey;"/> </hbox>
</radiogroup>
<separator class="thin"/>
<label value="&textGoingOnline;"/>
<radiogroup id="whengoingOnlinestate" orient="horizontal" class="indent"
preference ="offline.send.unsent_messages">
<radio value="1" label="&radioAutoSend;" accesskey="&radioAutoSend.accesskey;"/>
<radio value="2" label="&radioNotSend;" accesskey="&radioNotSend.accesskey;"/>
<radio value="0" label="&radioAskUnsent;" accesskey="&radioAskUnsent.accesskey;"/>
</radiogroup>
<separator class="thin"/>
<label value="&textGoingOffline;"/>
<radiogroup id="whengoingOfflinestate" orient="horizontal" class="indent"
preference="offline.download.download_messages">
<radio value="1" label="&radioAutoDownload;" accesskey="&radioAutoDownload.accesskey;"/>
<radio value="2" label="&radioNotDownload;" accesskey="&radioNotDownload.accesskey;"/>
<radio value="0" label="&radioAskDownload;" accesskey="&radioAskDownload.accesskey;"/>
</radiogroup>
</groupbox> </groupbox>
<separator class="thin"/> <groupbox>
<caption label="&offlineInfo.caption;"/>
<hbox align="center">
<description flex="1" control="offlineSettingsButton">&offlineInfo.label;</description>
<button id="offlineSettingsButton" label="&showOffline.label;"
accesskey="&showOffline.accesskey;"
oncommand="gAdvancedPane.showOffline();"/>
</hbox>
</groupbox>
<groupbox> <groupbox>
<caption label="&Diskspace;"/> <caption label="&Diskspace;"/>
<hbox align="center"> <hbox align="center">
@ -235,10 +236,27 @@
oncommand="gAdvancedPane.showUpdates();"/> oncommand="gAdvancedPane.showUpdates();"/>
</hbox> </hbox>
</tabpanel> </tabpanel>
<!-- Certificates -->
<tabpanel orient="vertical">
<description>&certificatesInfo.label;</description>
<separator class="thin"/>
<description class="indent">
<button label="&viewCertificates.label;" accesskey="&viewCertificates.accesskey;"
oncommand="gAdvancedPane.showCertificates();"
preference="security.disable_button.openCertManager"/>
<button label="&viewCRLs.label;" accesskey="&viewCRLs.accesskey;"
oncommand="gAdvancedPane.showCRLs();"
preference="security.OCSP.disable_button.managecrl"/>
<button label="&viewOCSP.label;" accesskey="&viewOCSP.accesskey;"
oncommand="gAdvancedPane.showOCSP();"/>
<button label="&viewSecurityDevices.label;" accesskey="&viewSecurityDevices.accesskey;"
oncommand="gAdvancedPane.showSecurityDevices();"
preference="security.disable_button.openDeviceManager"/>
</description>
</tabpanel>
</tabpanels> </tabpanels>
</tabbox> </tabbox>
<separator/> <separator/>
</prefpane> </prefpane>
</overlay> </overlay>

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

@ -65,6 +65,8 @@ var gComposePane = {
this.enableAutocomplete(); this.enableAutocomplete();
this.initLanguageMenu(); this.initLanguageMenu();
this.populateFonts();
document.getElementById('downloadDictionaries').setAttribute('href', this.getDictionaryURL()); document.getElementById('downloadDictionaries').setAttribute('href', this.getDictionaryURL());
@ -91,12 +93,6 @@ var gComposePane = {
} }
}, },
showReturnReceipts: function()
{
document.documentElement.openSubDialog("chrome://messenger/content/preferences/receipts.xul",
"", null);
},
sendOptionsDialog: function() sendOptionsDialog: function()
{ {
document.documentElement.openSubDialog("chrome://messenger/content/preferences/sendoptions.xul","", null); document.documentElement.openSubDialog("chrome://messenger/content/preferences/sendoptions.xul","", null);
@ -400,4 +396,43 @@ var gComposePane = {
languageMenuList.selectedIndex = 0; languageMenuList.selectedIndex = 0;
}, },
populateFonts: function()
{
var fontsList = document.getElementById("FontSelect");
try
{
var enumerator = Components.classes["@mozilla.org/gfx/fontenumerator;1"]
.getService(Components.interfaces.nsIFontEnumerator);
var localFontCount = { value: 0 }
var localFonts = enumerator.EnumerateAllFonts(localFontCount);
for (var i = 0; i < localFonts.length; ++i)
{
if (localFonts[i] != "")
fontsList.appendItem(localFonts[i], localFonts[i]);
}
}
catch(e) { }
},
restoreHTMLDefaults: function()
{
// reset throws an exception if the pref value is already the default so
// work around that with some try/catch exception handling
try {
document.getElementById('msgcompose.font_face').reset();
} catch (ex) {}
try {
document.getElementById('msgcompose.font_size').reset();
} catch (ex) {}
try {
document.getElementById('msgcompose.text_color').reset();
} catch (ex) {}
try {
document.getElementById('msgcompose.background_color').reset();
} catch (ex) {}
},
}; };

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

@ -40,10 +40,12 @@
<!DOCTYPE overlay [ <!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
<!ENTITY % composeDTD SYSTEM "chrome://messenger/locale/preferences/compose.dtd"> <!ENTITY % composeDTD SYSTEM "chrome://messenger/locale/preferences/compose.dtd">
<!ENTITY % editorOverlayDTD SYSTEM "chrome://editor/locale/editorOverlay.dtd">
%brandDTD; %brandDTD;
%composeDTD; %composeDTD;
%editorOverlayDTD;
]> ]>
<overlay id="ComposePaneOverlay" <overlay id="ComposePaneOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:nc="http://home.netscape.com/NC-rdf#" xmlns:nc="http://home.netscape.com/NC-rdf#"
@ -73,17 +75,22 @@
<preference id="mail.collect_email_address_outgoing" name="mail.collect_email_address_outgoing" type="bool"/> <preference id="mail.collect_email_address_outgoing" name="mail.collect_email_address_outgoing" type="bool"/>
<preference id="mail.collect_addressbook" name="mail.collect_addressbook" type="string"/> <preference id="mail.collect_addressbook" name="mail.collect_addressbook" type="string"/>
<preference id="spellchecker.dictionary" name="spellchecker.dictionary" type="wstring"/> <preference id="spellchecker.dictionary" name="spellchecker.dictionary" type="wstring"/>
<preference id="msgcompose.font_face" name="msgcompose.font_face" type="string"/>
<preference id="msgcompose.font_size" name="msgcompose.font_size" type="string"/>
<preference id="msgcompose.text_color" name="msgcompose.text_color" type="string"/>
<preference id="msgcompose.background_color" name="msgcompose.background_color" type="string"/>
</preferences> </preferences>
<tabbox id="composePrefs" flex="1" onselect="gComposePane.tabSelectionChanged();"> <tabbox id="composePrefs" onselect="gComposePane.tabSelectionChanged();">
<tabs> <tabs>
<tab label="&itemGeneral.label;"/> <tab label="&itemGeneral.label;"/>
<tab label="&itemAutoComplete.label;"/> <tab label="&itemAutoComplete.label;"/>
<tab label="&itemSpellCheck.label;"/> <tab label="&itemSpellCheck.label;"/>
</tabs> </tabs>
<tabpanels flex="1"> <tabpanels>
<tabpanel orient="vertical"> <tabpanel orient="vertical">
<groupbox>
<hbox align="center"> <hbox align="center">
<label value="&forwardMsg.label;" accesskey="&forwardMsg.accesskey;" control="forwardMessageMode"/> <label value="&forwardMsg.label;" accesskey="&forwardMsg.accesskey;" control="forwardMessageMode"/>
<menulist id="forwardMessageMode" preference="mail.forward_message_mode"> <menulist id="forwardMessageMode" preference="mail.forward_message_mode">
@ -94,6 +101,13 @@
</menulist> </menulist>
</hbox> </hbox>
<hbox align="center" pack="start">
<checkbox id="autoSave" label="&autoSave.label;" preference="mail.compose.autosave"
accesskey="&autoSave.accesskey;"/>
<textbox id="autoSaveInterval" size="2" preference="mail.compose.autosaveinterval"/>
<label value="&autoSaveEnd.label;" accesskey="&autoSaveEnd.accesskey;" control="autoSaveInterval"/>
</hbox>
<checkbox id="strictlyMime" label="&useMIME.label;" <checkbox id="strictlyMime" label="&useMIME.label;"
preference="mail.strictly_mime" preference="mail.strictly_mime"
accesskey="&useMIME.accesskey;"/> accesskey="&useMIME.accesskey;"/>
@ -102,39 +116,62 @@
preference="mail.warn_on_send_accel_key" preference="mail.warn_on_send_accel_key"
accesskey="&warnOnSendAccelKey.accesskey;"/> accesskey="&warnOnSendAccelKey.accesskey;"/>
<hbox align="center" pack="start">
<checkbox id="autoSave" label="&autoSave.label;" preference="mail.compose.autosave"
accesskey="&autoSave.accesskey;"/>
<textbox id="autoSaveInterval" size="2" preference="mail.compose.autosaveinterval"/>
<label value="&autoSaveEnd.label;" accesskey="&autoSaveEnd.accesskey;" control="autoSaveInterval"/>
</hbox>
<hbox align="center"> <hbox align="center">
<label value="&wrapOutMsg.label;" accesskey="&wrapOutMsg.accesskey;" control="wrapLength"/> <label value="&wrapOutMsg.label;" accesskey="&wrapOutMsg.accesskey;" control="wrapLength"/>
<textbox id="wrapLength" size="3" preference="mailnews.wraplength"/> <textbox id="wrapLength" size="3" preference="mailnews.wraplength"/>
<label value="&char.label;"/> <label value="&char.label;"/>
</hbox> </hbox>
</groupbox>
<groupbox>
<caption label="&htmlComposeHeader.label;"/>
<hbox align="center"> <hbox align="center">
<description flex="1">&sendOptionsDescription.label;</description> <label control="FontSelect" value="&font.label;" accesskey="&font.accesskey;"/>
<button label="&sendOptions.label;" <menulist id="FontSelect" preference="msgcompose.font_face">
accesskey="&sendOptions.accesskey;" <menupopup>
oncommand="gComposePane.sendOptionsDialog();"/> <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>
<label control="fontSizeSelect" value="&size.label;" accesskey="&size.accesskey;"/>
<menulist id="fontSizeSelect" preference="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>
</hbox> </hbox>
<separator class="thin"/>
<hbox align="center"> <hbox align="center">
<description flex="1">&htmlComposeDescription.label;</description> <label control="textColorButton" value="&fontColor.label;" accesskey="&fontColor.accesskey;"/>
<button label="&htmlCompose.label;" <colorpicker type="button" id="textColorButton" preference="msgcompose.text_color"/>
accesskey="&htmlCompose.accesskey;" <spring/>
oncommand="gComposePane.htmlComposeDialog();"/> <label control="backgroundColorButton" value="&bgColor.label;" accesskey="&bgColor.accesskey;"/>
<colorpicker type="button" id="backgroundColorButton" preference="msgcompose.background_color"/>
<spring flex="1"/>
<button label="&restoreHTMLDefaults.label;" accesskey="&restoreHTMLDefaults.accesskey;"
oncommand="gComposePane.restoreHTMLDefaults();"/>
</hbox> </hbox>
</groupbox>
<hbox align="center">
<description flex="1">&returnReceiptsInfo.label;</description> <hbox align="center">
<button label="&showReturnReceipts.label;" <description flex="1">&sendOptionsDescription.label;</description>
accesskey="&showReturnReceipts.accesskey;" <button label="&sendOptions.label;"
oncommand="gComposePane.showReturnReceipts();"/> accesskey="&sendOptions.accesskey;"
</hbox> oncommand="gComposePane.sendOptionsDialog();"/>
</hbox>
</tabpanel> </tabpanel>
<tabpanel orient="vertical"> <tabpanel orient="vertical">
@ -185,7 +222,7 @@
<checkbox id="inlineSpellCheck" label="&spellCheckInline.label;" <checkbox id="inlineSpellCheck" label="&spellCheckInline.label;"
preference="mail.spellcheck.inline" preference="mail.spellcheck.inline"
accesskey="&spellCheckInline.accesskey;"/> accesskey="&spellCheckInline1.accesskey;"/>
<separator class="thin"/> <separator class="thin"/>

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

@ -46,11 +46,6 @@ var gDisplayPane = {
if (preference.value) if (preference.value)
document.getElementById("displayPrefs").selectedIndex = preference.value; document.getElementById("displayPrefs").selectedIndex = preference.value;
// build the charset menu list. We do this by hand instead of using the xul template
// builder because of Bug #285076,
this.createCharsetMenus(document.getElementById("viewDefaultCharset-menupopup"), "NC:DecodersRoot",
document.getElementById('mailnews.view_default_charset').value);
this.mInitialized = true; this.mInitialized = true;
this.mTagListBox = document.getElementById('tagList'); this.mTagListBox = document.getElementById('tagList');
@ -113,61 +108,6 @@ var gDisplayPane = {
"chrome,titlebar,modal", "chrome,titlebar,modal",
args); args);
}, },
addMenuItem: function(aMenuPopup, aLabel, aValue)
{
var menuItem = document.createElement('menuitem');
menuItem.setAttribute('label', aLabel);
menuItem.setAttribute('value', aValue);
aMenuPopup.appendChild(menuItem);
},
readRDFString: function(aDS,aRes,aProp)
{
var n = aDS.GetTarget(aRes, aProp, true);
return (n) ? n.QueryInterface(Components.interfaces.nsIRDFLiteral).Value : "";
},
createCharsetMenus: function(aMenuPopup, aRoot, aPreferenceValue)
{
var rdfService = Components.classes["@mozilla.org/rdf/rdf-service;1"]
.getService(Components.interfaces.nsIRDFService);
var kNC_Root = rdfService.GetResource(aRoot);
var kNC_Name = rdfService.GetResource("http://home.netscape.com/NC-rdf#Name");
var rdfDataSource = rdfService.GetDataSource("rdf:charset-menu");
var rdfContainer = Components.classes["@mozilla.org/rdf/container;1"].getService(Components.interfaces.nsIRDFContainer);
rdfContainer.Init(rdfDataSource, kNC_Root);
var charset;
var availableCharsets = rdfContainer.GetElements();
for (var i = 0; i < rdfContainer.GetCount(); i++)
{
charset = availableCharsets.getNext().QueryInterface(Components.interfaces.nsIRDFResource);
this.addMenuItem(aMenuPopup, this.readRDFString(rdfDataSource, charset, kNC_Name), charset.Value);
if (charset.Value == aPreferenceValue)
aMenuPopup.parentNode.value = charset.Value;
}
},
mCharsetMenuInitialized: false,
readDefaultCharset: function()
{
if (!this.mCharsetMenuInitialized)
{
Components.classes["@mozilla.org/observer-service;1"]
.getService(Components.interfaces.nsIObserverService)
.notifyObservers(null, "charsetmenu-selected", "mailedit");
// build the charset menu list. We do this by hand instead of using the xul template
// builder because of Bug #285076,
this.createCharsetMenus(document.getElementById("sendDefaultCharset-menupopup"), "NC:MaileditCharsetMenuRoot",
document.getElementById('mailnews.send_default_charset').value);
this.mCharsetMenuInitialized = true;
}
return undefined;
}
}; };
function addTagCallback(aName, aColor) function addTagCallback(aName, aColor)

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

@ -54,12 +54,11 @@
<preferences> <preferences>
<preference id="mail.preferences.display.selectedTabIndex" name="mail.preferences.display.selectedTabIndex" type="int"/> <preference id="mail.preferences.display.selectedTabIndex" name="mail.preferences.display.selectedTabIndex" type="int"/>
<preference id="mail.wrap_long_lines" name="mail.wrap_long_lines" type="bool"/>
<preference id="mail.display_glyph" name="mail.display_glyph" type="bool"/>
<preference id="mail.fixed_width_messages" name="mail.fixed_width_messages" type="bool"/> <preference id="mail.fixed_width_messages" name="mail.fixed_width_messages" type="bool"/>
<preference id="mail.quoted_style" name="mail.quoted_style" type="int"/> <preference id="mail.quoted_style" name="mail.quoted_style" type="int"/>
<preference id="mail.quoted_size" name="mail.quoted_size" type="int"/> <preference id="mail.quoted_size" name="mail.quoted_size" type="int"/>
<preference id="mail.citation_color" name="mail.citation_color" type="string"/> <preference id="mail.citation_color" name="mail.citation_color" type="string"/>
<preference id="mail.display_glyph" name="mail.display_glyph" type="bool"/>
<preference id="browser.display.foreground_color" name="browser.display.foreground_color" type="string"/> <preference id="browser.display.foreground_color" name="browser.display.foreground_color" type="string"/>
<preference id="browser.display.background_color" name="browser.display.background_color" type="string"/> <preference id="browser.display.background_color" name="browser.display.background_color" type="string"/>
<preference id="mailnews.labels.description.1" name="mailnews.labels.description.1" type="wstring"/> <preference id="mailnews.labels.description.1" name="mailnews.labels.description.1" type="wstring"/>
@ -72,35 +71,35 @@
<preference id="mailnews.labels.color.4" name="mailnews.labels.color.4" type="string"/> <preference id="mailnews.labels.color.4" name="mailnews.labels.color.4" type="string"/>
<preference id="mailnews.labels.description.5" name="mailnews.labels.description.5" type="wstring"/> <preference id="mailnews.labels.description.5" name="mailnews.labels.description.5" type="wstring"/>
<preference id="mailnews.labels.color.5" name="mailnews.labels.color.5" type="string"/> <preference id="mailnews.labels.color.5" name="mailnews.labels.color.5" type="string"/>
<preference id="mailnews.send_default_charset" name="mailnews.send_default_charset" type="wstring"/>
<preference id="mailnews.view_default_charset" name="mailnews.view_default_charset" type="wstring"/>
<preference id="mailnews.force_charset_override" name="mailnews.force_charset_override" type="bool"/>
<preference id="mailnews.reply_in_default_charset" name="mailnews.reply_in_default_charset" type="bool"/>
</preferences> </preferences>
<tabbox id="displayPrefs" flex="1" onselect="gDisplayPane.tabSelectionChanged();"> <tabbox id="displayPrefs" flex="1" onselect="gDisplayPane.tabSelectionChanged();">
<tabs> <tabs>
<tab label="&itemFormatting.label;"/> <tab label="&itemFormatting.label;"/>
<tab label="&itemTags.label;"/> <tab label="&itemTags.label;"/>
<tab label="&itemFonts.label;"/>
</tabs> </tabs>
<tabpanels flex="1"> <tabpanels flex="1">
<!-- Plain Text and HTML Formatting --> <!-- Plain Text and HTML Formatting -->
<tabpanel orient="vertical"> <tabpanel orient="vertical">
<groupbox> <groupbox>
<caption label="&displayWidth.label;"/> <caption label="&colors.label;"/>
<description>&viewingPlainText.label;</description> <description>&overrideColors.label;</description>
<vbox class="indent" align="start"> <hbox align="center" class="indent">
<checkbox id="wrapLongLines" label="&wrapInMsg.label;" <label value="&textColor.label;" accesskey="&textColor.accesskey;" control="foregroundtextmenu"/>
preference="mail.wrap_long_lines" accesskey="&wrapInMsg.accesskey;"/>
<checkbox id="displayGlyph" label="&convertEmoticons.label;" <colorpicker type="button" id="foregroundtextmenu" palettename="standard" preference="browser.display.foreground_color"/>
preference="mail.display_glyph" accesskey="&convertEmoticons.accesskey;"/> <spacer style="width: 25px"/>
</vbox> <label value="&backgroundColor.label;" accesskey="&backgroundColor.accesskey;" control="backgroundmenu"/>
<colorpicker type="button" id="backgroundmenu" palettename="standard" preference="browser.display.background_color"/>
<separator class="thin"/> </hbox>
</groupbox>
<groupbox>
<checkbox id="displayGlyph" label="&convertEmoticons.label;"
preference="mail.display_glyph" accesskey="&convertEmoticons.accesskey;"/>
<caption label="&displayWidth.label;"/>
<hbox align="center"> <hbox align="center">
<description>&plainText.label;</description> <description>&plainText.label;</description>
@ -138,17 +137,14 @@
</groupbox> </groupbox>
<groupbox> <groupbox>
<caption label="&htmlColors.label;"/> <caption label="&fontsAndEncodingsCaption.label;"/>
<description>&overrideSender.label;</description> <hbox align="center">
<hbox align="center" class="indent"> <description flex="1">&fontAndEncodingsDescription.label;</description>
<label value="&textColor.label;" accesskey="&textColor.accesskey;" control="foregroundtextmenu"/> <button label="&fontOptions.label;"
accesskey="&fontOptions.accesskey;"
<colorpicker type="button" id="foregroundtextmenu" palettename="standard" preference="browser.display.foreground_color"/> oncommand="gDisplayPane.fontOptionsDialog();"/>
<spacer style="width: 25px"/>
<label value="&backgroundColor.label;" accesskey="&backgroundColor.accesskey;" control="backgroundmenu"/>
<colorpicker type="button" id="backgroundmenu" palettename="standard" preference="browser.display.background_color"/>
</hbox> </hbox>
</groupbox> </groupbox>
</tabpanel> </tabpanel>
<tabpanel orient="vertical"> <tabpanel orient="vertical">
@ -163,62 +159,6 @@
</vbox> </vbox>
</hbox> </hbox>
</tabpanel> </tabpanel>
<tabpanel orient="vertical">
<groupbox>
<caption label="&fontsCaption.label;"/>
<hbox align="center">
<description flex="1">&fontsDescription.label;</description>
<button label="&fontOptions.label;"
accesskey="&fontOptions.accesskey;"
oncommand="gDisplayPane.fontOptionsDialog();"/>
</hbox>
</groupbox>
<groupbox align="start">
<caption label="&languagesTitle.label;"/>
<label value="&composingDescription.label;"/>
<separator class="thin"/>
<grid>
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row align="center" class="indent">
<label control="sendDefaultCharsetList"
value="&sendDefaultCharset.label;" accesskey="&sendDefaultCharset.accesskey;"/>
<menulist id="sendDefaultCharsetList" flex="1" preference="mailnews.send_default_charset" onsyncfrompreference="return gDisplayPane.readDefaultCharset();">
<menupopup id="sendDefaultCharset-menupopup">
</menupopup>
</menulist>
</row>
<row align="center" class="indent">
<label control="viewDefaultCharsetList"
value="&viewDefaultCharsetList.label;" accesskey="&viewDefaultCharsetList.accesskey;"/>
<menulist id="viewDefaultCharsetList" preference="mailnews.view_default_charset">
<menupopup id="viewDefaultCharset-menupopup">
</menupopup>
</menulist>
</row>
</rows>
</grid>
<separator class="thin"/>
<checkbox id="forceCharsetOverride" label="&forceCharsetOverride.label;"
preference="mailnews.force_charset_override"
accesskey="&forceCharsetOverride.accesskey;"/>
<checkbox id="replyInDefaultCharset" label="&replyInDefaultCharset.label;"
preference="mailnews.reply_in_default_charset"
accesskey="&replyInDefaultCharset.accesskey;"/>
</groupbox>
</tabpanel>
</tabpanels> </tabpanels>
</tabbox> </tabbox>
<separator/> <separator/>

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

@ -48,7 +48,14 @@ const kFontSizeFmtFixed = "font.size.fixed.%LANG%";
const kFontMinSizeFmt = "font.minimum-size.%LANG%"; const kFontMinSizeFmt = "font.minimum-size.%LANG%";
var gFontsDialog = { var gFontsDialog = {
_init: function()
{
// build the charset menu list. We do this by hand instead of using the xul template
// builder because of Bug #285076,
this.createCharsetMenus(document.getElementById("viewDefaultCharset-menupopup"), "NC:DecodersRoot",
document.getElementById('mailnews.view_default_charset').value);
},
_selectLanguageGroup: function (aLanguageGroup) _selectLanguageGroup: function (aLanguageGroup)
{ {
var prefs = [{ format: kDefaultFontType, type: "string", element: "defaultFontType", fonttype: null}, var prefs = [{ format: kDefaultFontType, type: "string", element: "defaultFontType", fonttype: null},
@ -140,5 +147,59 @@ var gFontsDialog = {
{ {
var useDocumentFonts = document.getElementById("useDocumentFonts"); var useDocumentFonts = document.getElementById("useDocumentFonts");
return useDocumentFonts.checked ? 1 : 0; return useDocumentFonts.checked ? 1 : 0;
} },
addMenuItem: function(aMenuPopup, aLabel, aValue)
{
var menuItem = document.createElement('menuitem');
menuItem.setAttribute('label', aLabel);
menuItem.setAttribute('value', aValue);
aMenuPopup.appendChild(menuItem);
},
readRDFString: function(aDS,aRes,aProp)
{
var n = aDS.GetTarget(aRes, aProp, true);
return (n) ? n.QueryInterface(Components.interfaces.nsIRDFLiteral).Value : "";
},
createCharsetMenus: function(aMenuPopup, aRoot, aPreferenceValue)
{
var rdfService = Components.classes["@mozilla.org/rdf/rdf-service;1"]
.getService(Components.interfaces.nsIRDFService);
var kNC_Root = rdfService.GetResource(aRoot);
var kNC_Name = rdfService.GetResource("http://home.netscape.com/NC-rdf#Name");
var rdfDataSource = rdfService.GetDataSource("rdf:charset-menu");
var rdfContainer = Components.classes["@mozilla.org/rdf/container;1"].getService(Components.interfaces.nsIRDFContainer);
rdfContainer.Init(rdfDataSource, kNC_Root);
var charset;
var availableCharsets = rdfContainer.GetElements();
for (var i = 0; i < rdfContainer.GetCount(); i++)
{
charset = availableCharsets.getNext().QueryInterface(Components.interfaces.nsIRDFResource);
this.addMenuItem(aMenuPopup, this.readRDFString(rdfDataSource, charset, kNC_Name), charset.Value);
if (charset.Value == aPreferenceValue)
aMenuPopup.parentNode.value = charset.Value;
}
},
mCharsetMenuInitialized: false,
readDefaultCharset: function()
{
if (!this.mCharsetMenuInitialized)
{
Components.classes["@mozilla.org/observer-service;1"]
.getService(Components.interfaces.nsIObserverService)
.notifyObservers(null, "charsetmenu-selected", "mailedit");
// build the charset menu list. We do this by hand instead of using the xul template
// builder because of Bug #285076,
this.createCharsetMenus(document.getElementById("sendDefaultCharset-menupopup"), "NC:MaileditCharsetMenuRoot",
document.getElementById('mailnews.send_default_charset').value);
this.mCharsetMenuInitialized = true;
}
return undefined;
},
}; };

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

@ -47,7 +47,7 @@
<prefwindow id="FontsDialog" type="child" <prefwindow id="FontsDialog" type="child"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&fontsDialog.title;" title="&fontsAndEncodingsDialog.title;"
#ifdef XP_UNIX #ifdef XP_UNIX
#ifdef XP_MACOSX #ifdef XP_MACOSX
style="width: &window.macWidth; !important;"> style="width: &window.macWidth; !important;">
@ -59,7 +59,7 @@
#endif #endif
dlgbuttons="accept,cancel"> dlgbuttons="accept,cancel">
<prefpane id="FontsDialogPane"> <prefpane id="FontsDialogPane" onpaneload="gFontsDialog._init();">
<preferences id="fontPreferences"> <preferences id="fontPreferences">
<preference id="font.language.group" name="font.language.group" type="wstring"/> <preference id="font.language.group" name="font.language.group" type="wstring"/>
@ -67,6 +67,10 @@
name="browser.display.use_document_fonts" name="browser.display.use_document_fonts"
type="int"/> type="int"/>
<preference id="intl.charset.default" name="intl.charset.default" type="wstring"/> <preference id="intl.charset.default" name="intl.charset.default" type="wstring"/>
<preference id="mailnews.send_default_charset" name="mailnews.send_default_charset" type="wstring"/>
<preference id="mailnews.view_default_charset" name="mailnews.view_default_charset" type="wstring"/>
<preference id="mailnews.force_charset_override" name="mailnews.force_charset_override" type="bool"/>
<preference id="mailnews.reply_in_default_charset" name="mailnews.reply_in_default_charset" type="bool"/>
</preferences> </preferences>
<stringbundle id="bundlePreferences" src="chrome://messenger/locale/preferences/preferences.properties"/> <stringbundle id="bundlePreferences" src="chrome://messenger/locale/preferences/preferences.properties"/>
@ -271,6 +275,51 @@
onsynctopreference="return gFontsDialog.writeUseDocumentFonts();"/> onsynctopreference="return gFontsDialog.writeUseDocumentFonts();"/>
</hbox> </hbox>
</groupbox> </groupbox>
<groupbox align="start">
<caption label="&languagesTitle1.label;"/>
<label value="&composingDescription.label;"/>
<separator class="thin"/>
<grid>
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row align="center" class="indent">
<label control="sendDefaultCharsetList"
value="&sendDefaultCharset.label;" accesskey="&sendDefaultCharset.accesskey;"/>
<menulist id="sendDefaultCharsetList" flex="1" preference="mailnews.send_default_charset"
onsyncfrompreference="return gFontsDialog.readDefaultCharset();">
<menupopup id="sendDefaultCharset-menupopup">
</menupopup>
</menulist>
</row>
<row align="center" class="indent">
<label control="viewDefaultCharsetList"
value="&viewDefaultCharsetList.label;" accesskey="&viewDefaultCharsetList.accesskey;"/>
<menulist id="viewDefaultCharsetList" preference="mailnews.view_default_charset">
<menupopup id="viewDefaultCharset-menupopup">
</menupopup>
</menulist>
</row>
</rows>
</grid>
<separator class="thin"/>
<checkbox id="forceCharsetOverride" label="&forceCharsetOverride.label;"
preference="mailnews.force_charset_override"
accesskey="&forceCharsetOverride.accesskey;"/>
<checkbox id="replyInDefaultCharset" label="&replyInDefaultCharset.label;"
preference="mailnews.reply_in_default_charset"
accesskey="&replyInDefaultCharset.accesskey;"/>
</groupbox>
<separator/> <separator/>
</prefpane> </prefpane>
</prefwindow> </prefwindow>

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

@ -41,9 +41,10 @@ var gGeneralPane = {
init: function () init: function ()
{ {
this.mPane = document.getElementById("paneGeneral"); this.mPane = document.getElementById("paneGeneral");
this.startPageCheck(); this.startPageCheck();
this.updatePlaySound();
}, },
#ifdef HAVE_SHELL_SERVICE #ifdef HAVE_SHELL_SERVICE
@ -102,18 +103,88 @@ var gGeneralPane = {
this.mPane.userChangedValue(startPageUrlField); this.mPane.userChangedValue(startPageUrlField);
}, },
showConnections: function () customizeMailAlert: function()
{
document.documentElement
.openSubDialog("chrome://messenger/content/preferences/connection.xul",
"", null);
},
customizeNewMailBehavior: function()
{ {
document.documentElement document.documentElement
.openSubDialog("chrome://messenger/content/preferences/notifications.xul", .openSubDialog("chrome://messenger/content/preferences/notifications.xul",
"", null); "", null);
} },
convertURLToLocalFile: function(aFileURL)
{
// convert the file url into a nsILocalFile
if (aFileURL)
{
var ios = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
var fph = ios.getProtocolHandler("file").QueryInterface(Components.interfaces.nsIFileProtocolHandler);
return fph.getFileFromURLSpec(aFileURL);
}
else
return null;
},
readSoundLocation: function()
{
var soundUrlLocation = document.getElementById("soundUrlLocation");
soundUrlLocation.value = document.getElementById("mail.biff.play_sound.url").value;
if (soundUrlLocation.value)
{
soundUrlLocation.label = this.convertURLToLocalFile(soundUrlLocation.value).leafName;
soundUrlLocation.image = "moz-icon://" + soundUrlLocation.label + "?size=16";
}
return undefined;
},
previewSound: function ()
{
sound = Components.classes["@mozilla.org/sound;1"].createInstance(Components.interfaces.nsISound);
var soundLocation;
soundLocation = document.getElementById('soundType').value == 1 ?
document.getElementById('soundUrlLocation').value : "_moz_mailbeep"
if (soundLocation.indexOf("file://") == -1)
sound.playSystemSound(soundLocation);
else
{
var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
sound.play(ioService.newURI(soundLocation, null, null));
}
},
browseForSoundFile: function ()
{
const nsIFilePicker = Components.interfaces.nsIFilePicker;
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
// if we already have a sound file, then use the path for that sound file
// as the initial path in the dialog.
var localFile = this.convertURLToLocalFile(document.getElementById('soundUrlLocation').value);
if (localFile)
fp.displayDirectory = localFile;
// XXX todo, persist the last sound directory and pass it in
fp.init(window, document.getElementById("bundlePreferences").getString("soundFilePickerTitle"), nsIFilePicker.modeOpen);
fp.appendFilter("*.wav", "*.wav");
var ret = fp.show();
if (ret == nsIFilePicker.returnOK)
{
// convert the nsILocalFile into a nsIFile url
document.getElementById("mail.biff.play_sound.url").value = fp.fileURL.spec;
this.readSoundLocation(); // XXX We shouldn't have to be doing this by hand
this.updatePlaySound();
}
},
updatePlaySound: function()
{
// update the sound type radio buttons based on the state of the play sound checkbox
var soundsDisabled = !document.getElementById('newMailNotification').checked;
var soundTypeEl = document.getElementById('soundType');
soundTypeEl.disabled = soundsDisabled;
document.getElementById('browseForSound').disabled = soundsDisabled || soundTypeEl.value != 1;
document.getElementById('playSound').disabled = soundsDisabled || soundTypeEl.value != 1;
},
}; };

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

@ -61,11 +61,15 @@
<preference id="pref.general.disable_button.default_mail" <preference id="pref.general.disable_button.default_mail"
name="pref.general.disable_button.default_mail" name="pref.general.disable_button.default_mail"
type="bool"/> type="bool"/>
<preference id="mail.biff.play_sound.type" name="mail.biff.play_sound.type" type="int"/>
<preference id="mail.biff.play_sound.url" name="mail.biff.play_sound.url" type="string"/>
#ifdef XP_MACOSX #ifdef XP_MACOSX
<preference id="mail.biff.animate_dock_icon" name="mail.biff.animate_dock_icon" type="bool"/> <preference id="mail.biff.animate_dock_icon" name="mail.biff.animate_dock_icon" type="bool"/>
#endif #endif
</preferences> </preferences>
<stringbundle id="bundlePreferences" src="chrome://messenger/locale/preferences/preferences.properties"/>
#ifdef HAVE_SHELL_SERVICE #ifdef HAVE_SHELL_SERVICE
<stringbundle id="bundleShell" src="chrome://messenger/locale/shellservice.properties"/> <stringbundle id="bundleShell" src="chrome://messenger/locale/shellservice.properties"/>
<stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/> <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
@ -89,7 +93,7 @@
accesskey="&enableStartPage.accesskey;"/> accesskey="&enableStartPage.accesskey;"/>
</hbox> </hbox>
<hbox align="center"> <hbox align="center">
<label value="&location.label;" accesskey="&location.accesskey;" control="mailnewsStartPageUrl"/> <label value="&location.label;" accesskey="&location1.accesskey;" control="mailnewsStartPageUrl"/>
<textbox id="mailnewsStartPageUrl" flex="1" preference="mailnews.start_page.url"/> <textbox id="mailnewsStartPageUrl" flex="1" preference="mailnews.start_page.url"/>
<button label="&useDefault.label;" accesskey="&useDefault.accesskey;" <button label="&useDefault.label;" accesskey="&useDefault.accesskey;"
oncommand="gGeneralPane.setHomePageToDefaultPage();"> oncommand="gGeneralPane.setHomePageToDefaultPage();">
@ -101,32 +105,45 @@
<groupbox flex="1"> <groupbox flex="1">
<caption label="&newMessagesArrive.label;"/> <caption label="&newMessagesArrive.label;"/>
<checkbox id="newMailNotificationAlert" label="&showAnimatedAlert.label;" flex="1" accesskey="&showAnimatedAlert.accesskey;"
preference="mail.biff.show_alert"/>
#ifdef XP_MACOSX #ifdef XP_MACOSX
<checkbox id="newMailNotificationBounce" label="&bounceSystemDockIcon.label;" <checkbox id="newMailNotificationBounce" label="&bounceSystemDockIcon.label;"
preference="mail.biff.animate_dock_icon" preference="mail.biff.animate_dock_icon"
accesskey="&bounceSystemDockIcon.accesskey;"/> accesskey="&bounceSystemDockIcon.accesskey;"/>
#endif #else
<hbox align="center" flex="1"> <hbox align="center" flex="1">
<checkbox id="newMailNotification" accesskey="&playSound.accesskey;" <checkbox id="newMailNotificationAlert" label="&showAnimatedAlert.label;" accesskey="&showAnimatedAlert.accesskey;"
preference="mail.biff.play_sound" label="&playSound.label;" flex="1"/> preference="mail.biff.show_alert" flex="1"/>
<button id="customizeNewMailBehavior" label="&customizeNewMailBehavior.label;" accesskey="&customizeNewMailBehavior.accesskey;" <button id="customizeMailAlert" label="&customizeMailAlert.label;" accesskey="&customizeMailAlert.accesskey;"
oncommand="gGeneralPane.customizeNewMailBehavior();"/> oncommand="gGeneralPane.customizeMailAlert();"/>
</hbox> </hbox>
</groupbox> #endif
<checkbox id="newMailNotification" accesskey="&playSound1.accesskey;"
<groupbox> preference="mail.biff.play_sound" label="&playSound.label;"
<caption label="&connectionsInfo.caption;"/> oncommand="gGeneralPane.updatePlaySound();"/>
<hbox align="center">
<description flex="1" control="catProxiesButton">&proxiesInfo.label;</description>
<button id="catProxiesButton" label="&showConnections.label;"
accesskey="&showConnections.accesskey;"
oncommand="gGeneralPane.showConnections();"/>
</hbox>
</groupbox>
<radiogroup id="soundType" preference="mail.biff.play_sound.type" class="indent"
orient="vertical" oncommand="gGeneralPane.updatePlaySound();">
<radio value="0"
#ifdef XP_MACOSX
label="&systemsoundMac.label;"
#else
label="&systemsound.label;"
#endif
accesskey="&systemsound.accesskey;" id="system"/>
<radio value="1" label="&customsound.label;"
accesskey="&customsound.accesskey;" id="custom"/>
<hbox class="indent">
<filefield id="soundUrlLocation" flex="1" preference="mail.biff.play_sound.url"
preference-editable="true"
onsyncfrompreference="return gGeneralPane.readSoundLocation();"/>
<button id="browseForSound" label="&browse.label;"
accesskey="&browse.accesskey;" oncommand="gGeneralPane.browseForSoundFile();">
<observes element="soundUrlLocation" attribute="disabled"/>
</button>
<button id="playSound" label="&play.label;" accesskey="&play.accesskey;" oncommand="gGeneralPane.previewSound();"/>
</hbox>
</radiogroup>
</groupbox>
<separator/> <separator/>
</prefpane> </prefpane>
</overlay> </overlay>

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

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

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

@ -8,8 +8,6 @@ messenger.jar:
* content/messenger/preferences/compose.js * content/messenger/preferences/compose.js
* content/messenger/preferences/sendoptions.xul * content/messenger/preferences/sendoptions.xul
* content/messenger/preferences/sendoptions.js * content/messenger/preferences/sendoptions.js
* content/messenger/preferences/htmlcompose.xul
* content/messenger/preferences/htmlcompose.js
* content/messenger/preferences/privacy.xul * content/messenger/preferences/privacy.xul
* content/messenger/preferences/privacy.js * content/messenger/preferences/privacy.js
* content/messenger/preferences/viewpasswords.js * content/messenger/preferences/viewpasswords.js
@ -31,7 +29,7 @@ messenger.jar:
* content/messenger/preferences/fonts.js * content/messenger/preferences/fonts.js
* content/messenger/preferences/fonts.xul * content/messenger/preferences/fonts.xul
* content/messenger/preferences/notifications.xul * content/messenger/preferences/notifications.xul
* content/messenger/preferences/notifications.js * content/messenger/preferences/offline.xul
* content/messenger/AccountManager.xul (/mailnews/base/prefs/resources/content/AccountManager.xul) * content/messenger/AccountManager.xul (/mailnews/base/prefs/resources/content/AccountManager.xul)
content/messenger/AccountManager.js (/mailnews/base/prefs/resources/content/AccountManager.js) content/messenger/AccountManager.js (/mailnews/base/prefs/resources/content/AccountManager.js)
content/messenger/am-main.xul (/mailnews/base/prefs/resources/content/am-main.xul) content/messenger/am-main.xul (/mailnews/base/prefs/resources/content/am-main.xul)

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

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

@ -47,11 +47,10 @@
%notificationsDTD; %notificationsDTD;
]> ]>
<prefwindow id="SoundNotificationsDialog" type="child" <prefwindow id="NotificationsDialog" type="child"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
dlgbuttons="accept,cancel" dlgbuttons="accept,cancel"
style="width: &window.width; !important;" title="&notificationsDialog2.title;">
title="&notificationsDialog1.title;">
<prefpane id="NotificationsDialogPane" onpaneload="gNotificationsDialog.init();"> <prefpane id="NotificationsDialogPane" onpaneload="gNotificationsDialog.init();">
<script type="application/x-javascript" src="chrome://messenger/content/preferences/notifications.js"/> <script type="application/x-javascript" src="chrome://messenger/content/preferences/notifications.js"/>
@ -59,57 +58,13 @@
<preferences> <preferences>
<preference id="mail.biff.alert.show_preview" name="mail.biff.alert.show_preview" type="bool"/> <preference id="mail.biff.alert.show_preview" name="mail.biff.alert.show_preview" type="bool"/>
<preference id="mail.biff.alert.show_subject" name="mail.biff.alert.show_subject" type="bool"/> <preference id="mail.biff.alert.show_subject" name="mail.biff.alert.show_subject" type="bool"/>
<preference id="mail.biff.alert.show_sender" name="mail.biff.alert.show_sender" type="bool"/> <preference id="mail.biff.alert.show_sender" name="mail.biff.alert.show_sender" type="bool"/>
<preference id="mail.biff.play_sound.type" name="mail.biff.play_sound.type" type="int"/>
<preference id="mail.biff.play_sound.url" name="mail.biff.play_sound.url" type="string"/>
</preferences> </preferences>
<stringbundle id="bundlePreferences" src="chrome://messenger/locale/preferences/preferences.properties"/> <description>&alertCustomization.intro;</description>
<checkbox id="previewText" class="indent" label="&previewText.label;" accesskey="&previewText.accesskey;" preference="mail.biff.alert.show_preview"/>
#ifndef XP_MACOSX <checkbox id="subject" class="indent" label="&subject.label;" accesskey="&subject.accesskey;" preference="mail.biff.alert.show_subject"/>
<groupbox> <checkbox id="sender" class="indent" label="&sender.label;" accesskey="&sender.accesskey;" preference="mail.biff.alert.show_sender"/>
<caption label="&alertCustomization.caption;"/>
<description>&alertCustomization.intro;</description>
<checkbox id="previewText" class="indent" label="&previewText.label;" accesskey="&previewText.accesskey;" preference="mail.biff.alert.show_preview"/>
<checkbox id="subject" class="indent" label="&subject.label;" accesskey="&subject.accesskey;" preference="mail.biff.alert.show_subject"/>
<checkbox id="sender" class="indent" label="&sender.label;" accesskey="&sender.accesskey;" preference="mail.biff.alert.show_sender"/>
</groupbox>
#endif
<groupbox>
<caption label="&soundNotification1.caption;"/>
<radiogroup id="newMailNotificationType" preference="mail.biff.play_sound.type" orient="vertical" oncommand="gNotificationsDialog.systemSoundCheck();">
<radio value="0"
#ifdef XP_MACOSX
label="&systemsoundMac.label;"
#else
label="&systemsound.label;"
#endif
accesskey="&systemsound.accesskey;" id="system"/>
<radio value="1" label="&customsound.label;"
accesskey="&customsound.accesskey;" id="custom"/>
</radiogroup>
<vbox>
<spacer flex="1"/>
<hbox class="indent">
<filefield id="soundUrlLocation" flex="1" preference="mail.biff.play_sound.url"
preference-editable="true"
onsyncfrompreference="return gNotificationsDialog.readSoundLocation();"/>
<button id="browse" label="&browse.label;"
accesskey="&browse.accesskey;" oncommand="gNotificationsDialog.browseForSoundFile();">
<observes element="soundUrlLocation" attribute="disabled"/>
</button>
</hbox>
<separator class="thin"/>
<hbox align="right">
<button id="preview" label="&preview.label;" accesskey="&preview.accesskey;" oncommand="gNotificationsDialog.previewSound();"/>
</hbox>
</vbox>
</groupbox>
<separator/> <separator/>
</prefpane> </prefpane>

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

@ -0,0 +1,90 @@
<?xml version="1.0"?>
# -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Thunderbird Preferences System.
#
# The Initial Developer of the Original Code is
# Scott MacGregor.
# Portions created by the Initial Developer are Copyright (C) 2006
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Scott MacGregor <mscott@mozilla.org>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
<?xml-stylesheet href="chrome://global/skin/"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css"?>
<?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css"?>
<!DOCTYPE prefwindow [
<!ENTITY % offlineDTD SYSTEM "chrome://messenger/locale/preferences/offline.dtd">
%offlineDTD;
]>
<prefwindow id="OfflineSettingsDialog" type="child"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
dlgbuttons="accept,cancel"
title="&offlineDialog.title;">
<prefpane id="OfflineSettingsDialogPane" onpaneload="gOfflineDialog.init();">
<preferences>
<preference id="offline.startup_state" name="offline.startup_state" type="int"/>
<preference id="offline.send.unsent_messages" name="offline.send.unsent_messages" type="int"/>
<preference id="offline.download.download_messages" name="offline.download.download_messages" type="int"/>
</preferences>
<label value="&textStartUp;"/>
<radiogroup id="whenStartingUp" class="indent" preference="offline.startup_state">
<radio value="0" label="&radioRememberPrevState;" accesskey="&radioRememberPrevState.accesskey;"/>
<radio value="1" label="&radioAskMe;" accesskey="&radioAskMe.accesskey;"/>
<radio value="2" label="&radioAlwaysOnline;" accesskey="&radioAlwaysOnline.accesskey;"/>
</radiogroup>
<separator class="thin"/>
<label value="&textGoingOnline;"/>
<radiogroup id="whengoingOnlinestate" orient="horizontal" class="indent"
preference ="offline.send.unsent_messages">
<radio value="1" label="&radioAutoSend;" accesskey="&radioAutoSend.accesskey;"/>
<radio value="2" label="&radioNotSend;" accesskey="&radioNotSend.accesskey;"/>
<radio value="0" label="&radioAskUnsent;" accesskey="&radioAskUnsent.accesskey;"/>
</radiogroup>
<separator class="thin"/>
<label value="&textGoingOffline;"/>
<radiogroup id="whengoingOfflinestate" orient="horizontal" class="indent"
preference="offline.download.download_messages">
<radio value="1" label="&radioAutoDownload;" accesskey="&radioAutoDownload.accesskey;"/>
<radio value="2" label="&radioNotDownload;" accesskey="&radioNotDownload.accesskey;"/>
<radio value="0" label="&radioAskDownload;" accesskey="&radioAskDownload.accesskey;"/>
</radiogroup>
<separator/>
</prefpane>
</prefwindow>

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

@ -158,29 +158,5 @@ var gPrivacyPane = {
this.updateMasterPasswordButton(); this.updateMasterPasswordButton();
document.getElementById("setMasterPassword").focus(); document.getElementById("setMasterPassword").focus();
} }
},
showCertificates: function ()
{
document.documentElement.openWindow("mozilla:certmanager", "chrome://pippki/content/certManager.xul",
"width=600,height=400", null);
},
showCRLs: function ()
{
document.documentElement.openWindow("Mozilla:CRLManager", "chrome://pippki/content/crlManager.xul",
"width=600,height=400", null);
},
showOCSP: function ()
{
document.documentElement.openSubDialog("chrome://mozapps/content/preferences/ocsp.xul",
"", null);
},
showSecurityDevices: function ()
{
document.documentElement.openWindow("mozilla:devicemanager", "chrome://pippki/content/device_manager.xul",
"width=600,height=400", null);
} }
}; };

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

@ -81,15 +81,6 @@
<preference id="pref.privacy.disable_button.view_passwords" <preference id="pref.privacy.disable_button.view_passwords"
name="pref.privacy.disable_button.view_passwords" name="pref.privacy.disable_button.view_passwords"
type="bool"/> type="bool"/>
<preference id="security.disable_button.openCertManager"
name="security.disable_button.openCertManager"
type="bool"/>
<preference id="security.OCSP.disable_button.managecrl"
name="security.OCSP.disable_button.managecrl"
type="bool"/>
<preference id="security.disable_button.openDeviceManager"
name="security.disable_button.openDeviceManager"
type="bool"/>
</preferences> </preferences>
<tabbox id="privacyPrefs" flex="1" onselect="gPrivacyPane.tabSelectionChanged();"> <tabbox id="privacyPrefs" flex="1" onselect="gPrivacyPane.tabSelectionChanged();">
@ -98,7 +89,6 @@
<tab label="&itemPhishing.label;"/> <tab label="&itemPhishing.label;"/>
<tab label="&itemAntiVirus.label;"/> <tab label="&itemAntiVirus.label;"/>
<tab label="&itemPasswords.label;"/> <tab label="&itemPasswords.label;"/>
<tab label="&itemSecurity.label;"/>
</tabs> </tabs>
<tabpanels flex="1"> <tabpanels flex="1">
@ -182,25 +172,6 @@
preference="pref.privacy.disable_button.view_passwords"/> preference="pref.privacy.disable_button.view_passwords"/>
</hbox> </hbox>
</tabpanel> </tabpanel>
<!-- Security -->
<tabpanel orient="vertical">
<description>&certificatesInfo.label;</description>
<separator class="thin"/>
<description class="indent">
<button label="&viewCertificates.label;" accesskey="&viewCertificates.accesskey;"
oncommand="gPrivacyPane.showCertificates();"
preference="security.disable_button.openCertManager"/>
<button label="&viewCRLs.label;" accesskey="&viewCRLs.accesskey;"
oncommand="gPrivacyPane.showCRLs();"
preference="security.OCSP.disable_button.managecrl"/>
<button label="&viewOCSP.label;" accesskey="&viewOCSP.accesskey;"
oncommand="gPrivacyPane.showOCSP();"/>
<button label="&viewSecurityDevices.label;" accesskey="&viewSecurityDevices.accesskey;"
oncommand="gPrivacyPane.showSecurityDevices();"
preference="security.disable_button.openDeviceManager"/>
</description>
</tabpanel>
</tabpanels> </tabpanels>
</tabbox> </tabbox>

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

@ -1,6 +1,7 @@
<!ENTITY itemGeneral.label "General"> <!ENTITY itemGeneral.label "General">
<!ENTITY itemUpdate.label "Update"> <!ENTITY itemUpdate.label "Update">
<!ENTITY itemOffline.label "Offline &amp; Disk Space"> <!ENTITY itemNetworking.label "Network &amp; Disk Space">
<!ENTITY itemCertificates.label "Certificates">
<!-- General Settings --> <!-- General Settings -->
@ -15,7 +16,7 @@
<!ENTITY markAsReadEnd.label "seconds before marking a message as read"> <!ENTITY markAsReadEnd.label "seconds before marking a message as read">
<!ENTITY markAsReadEnd.accesskey "d"> <!ENTITY markAsReadEnd.accesskey "d">
<!ENTITY showFolderColumns.label "Show expanded columns in the folder pane"> <!ENTITY showFolderColumns.label "Show expanded columns in the folder pane">
<!ENTITY showFolderColumns.accesskey "f"> <!ENTITY showFolderColumns.accesskey "l">
<!ENTITY rememberLastMsg.label "Remember the last selected message"> <!ENTITY rememberLastMsg.label "Remember the last selected message">
<!ENTITY rememberLastMsg.accesskey "b"> <!ENTITY rememberLastMsg.accesskey "b">
<!ENTITY openMsgIn.label "Open messages in:"> <!ENTITY openMsgIn.label "Open messages in:">
@ -29,6 +30,9 @@
<!ENTITY configEditDesc.label "Advanced Configuration"> <!ENTITY configEditDesc.label "Advanced Configuration">
<!ENTITY configEdit.label "Config Editor..."> <!ENTITY configEdit.label "Config Editor...">
<!ENTITY configEdit.accesskey "g"> <!ENTITY configEdit.accesskey "g">
<!ENTITY returnReceiptsInfo.label "Determine how &brandShortName; handles return receipts">
<!ENTITY showReturnReceipts.label "Return Receipts...">
<!ENTITY showReturnReceipts.accesskey "R">
<!-- Update --> <!-- Update -->
<!ENTITY autoCheck.label "Automatically check for updates to:"> <!ENTITY autoCheck.label "Automatically check for updates to:">
@ -43,35 +47,32 @@
<!ENTITY modeAutomatic.label "Automatically download and install the update"> <!ENTITY modeAutomatic.label "Automatically download and install the update">
<!ENTITY modeAutomatic.accesskey "m"> <!ENTITY modeAutomatic.accesskey "m">
<!ENTITY modeAutoAddonWarn.label "Warn me if this will disable any of my add-ons"> <!ENTITY modeAutoAddonWarn.label "Warn me if this will disable any of my add-ons">
<!ENTITY modeAutoAddonWarn.accesskey "W"> <!ENTITY modeAutoAddonWarn.accesskey "-">
<!ENTITY showUpdates.label "Show Update History"> <!ENTITY showUpdates.label "Show Update History">
<!ENTITY showUpdates.accesskey "U"> <!ENTITY showUpdates.accesskey "y">
<!-- Offline and Disk Space --> <!-- Networking and Disk Space -->
<!ENTITY offline.label "Offline"> <!ENTITY showConnections.label "Connection...">
<!ENTITY textStartUp "When starting up:"> <!ENTITY showConnections.accesskey "n">
<!ENTITY radioRememberPrevState "Remember previous online state"> <!ENTITY proxiesInfo.label "Determine how &brandShortName; connects to the Internet.">
<!ENTITY radioRememberPrevState.accesskey "R"> <!ENTITY connectionsInfo.caption "Connection">
<!ENTITY radioAskMe "Ask me for online state at startup"> <!ENTITY offlineInfo.caption "Offline">
<!ENTITY radioAskMe.accesskey "u"> <!ENTITY offlineInfo.label "Configure offline settings">
<!ENTITY radioAlwaysOnline "Always start up online"> <!ENTITY showOffline.label "Offline...">
<!ENTITY radioAlwaysOnline.accesskey "l"> <!ENTITY showOffline.accesskey "O">
<!ENTITY textGoingOnline "Send unsent messages when going online?">
<!ENTITY radioAutoSend "Yes">
<!ENTITY radioAutoSend.accesskey "Y">
<!ENTITY radioNotSend "No">
<!ENTITY radioNotSend.accesskey "N">
<!ENTITY radioAskUnsent "Ask me">
<!ENTITY radioAskUnsent.accesskey "s">
<!ENTITY textGoingOffline "Download messages for offline use when going offline?">
<!ENTITY radioAutoDownload "Yes">
<!ENTITY radioAutoDownload.accesskey "e">
<!ENTITY radioNotDownload "No">
<!ENTITY radioNotDownload.accesskey "o">
<!ENTITY radioAskDownload "Ask me">
<!ENTITY radioAskDownload.accesskey "a">
<!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 "v"> <!ENTITY offlineCompact.accesskey "v">
<!ENTITY kb.label "KB"> <!ENTITY kb.label "KB">
<!-- Certificates -->
<!ENTITY certificatesInfo.label "Manage certificates, revocation lists, certificate verification and security devices.">
<!ENTITY viewCertificates.label "View Certificates">
<!ENTITY viewCertificates.accesskey "a">
<!ENTITY viewCRLs.label "Revocation Lists">
<!ENTITY viewCRLs.accesskey "e">
<!ENTITY viewOCSP.label "Verification">
<!ENTITY viewOCSP.accesskey "f">
<!ENTITY viewSecurityDevices.label "Security Devices">
<!ENTITY viewSecurityDevices.accesskey "u">

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

@ -11,11 +11,23 @@
<!ENTITY asAttachment.label "As Attachment"> <!ENTITY asAttachment.label "As Attachment">
<!ENTITY asAttachment.accesskey "A"> <!ENTITY asAttachment.accesskey "A">
<!ENTITY htmlComposeHeader.label "HTML">
<!ENTITY font.label "Font:">
<!ENTITY font.accesskey "n">
<!ENTITY size.label "Size:">
<!ENTITY size.accesskey "z">
<!ENTITY fontColor.label "Text Color:">
<!ENTITY fontColor.accesskey "x">
<!ENTITY bgColor.label "Background Color:">
<!ENTITY bgColor.accesskey "B">
<!ENTITY restoreHTMLDefaults.label "Restore Defaults">
<!ENTITY restoreHTMLDefaults.accesskey "R">
<!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">
<!ENTITY spellCheckInline.label "Enable spell check as you type"> <!ENTITY spellCheckInline.label "Enable spell check as you type">
<!ENTITY spellCheckInline.accesskey "n"> <!ENTITY spellCheckInline1.accesskey "k">
<!ENTITY languagePopup.label "Language:"> <!ENTITY languagePopup.label "Language:">
<!ENTITY languagePopup.accessKey "g"> <!ENTITY languagePopup.accessKey "g">
<!ENTITY downloadDictionaries.label "Download More Dictionaries"> <!ENTITY downloadDictionaries.label "Download More Dictionaries">
@ -50,11 +62,3 @@
<!ENTITY sendOptionsDescription.label "Configure text format behavior"> <!ENTITY sendOptionsDescription.label "Configure text format behavior">
<!ENTITY sendOptions.label "Send Options..."> <!ENTITY sendOptions.label "Send Options...">
<!ENTITY sendOptions.accesskey "S"> <!ENTITY sendOptions.accesskey "S">
<!ENTITY htmlComposeDescription.label "Configure default HTML options">
<!ENTITY htmlCompose.label "HTML Options...">
<!ENTITY htmlCompose.accesskey "H">
<!ENTITY returnReceiptsInfo.label "Determine how &brandShortName; handles return receipts">
<!ENTITY showReturnReceipts.label "Return Receipts...">
<!ENTITY showReturnReceipts.accesskey "R">

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

@ -25,19 +25,16 @@
<!ENTITY variableWidth.label "Variable width font"> <!ENTITY variableWidth.label "Variable width font">
<!ENTITY variableWidth.accesskey "V"> <!ENTITY variableWidth.accesskey "V">
<!ENTITY readingMessagesHeader.label "For incoming messages"> <!ENTITY readingMessagesHeader.label "For incoming messages">
<!ENTITY messageWrapping.label "Message Wrapping"> <!ENTITY colors.label "Colors">
<!ENTITY wrapInMsg.label "Wrap text to fit window width"> <!ENTITY overrideColors.label "When displaying messages, use the following colors:">
<!ENTITY wrapInMsg.accesskey "W"> <!ENTITY textColor.label "Text Color:">
<!ENTITY textColor.accesskey "T">
<!ENTITY backgroundColor.label "Background Color:">
<!ENTITY backgroundColor.accesskey "b">
<!-- LOCALIZATION NOTE : (emoticonsAndStructs.label) 'Emoticons' are also known as 'Smileys', e.g. :-) --> <!-- LOCALIZATION NOTE : (emoticonsAndStructs.label) 'Emoticons' are also known as 'Smileys', e.g. :-) -->
<!ENTITY convertEmoticons.label "Display emoticons as graphics"> <!ENTITY convertEmoticons.label "Display emoticons as graphics">
<!ENTITY convertEmoticons.accesskey "D"> <!ENTITY convertEmoticons.accesskey "D">
<!ENTITY htmlColors.label "HTML Messages">
<!ENTITY overrideSender.label "When displaying HTML messages, use the following:">
<!ENTITY overrideSender.accesskey "n">
<!ENTITY textColor.label "Text Color:">
<!ENTITY textColor.accesskey "T">
<!ENTITY backgroundColor.label "Background Color:">
<!ENTITY backgroundColor.accesskey "b">
<!-- labels --> <!-- labels -->
<!ENTITY displayTagsText.label "Tags can be used to categorize and prioritize your messages."> <!ENTITY displayTagsText.label "Tags can be used to categorize and prioritize your messages.">
@ -49,20 +46,7 @@
<!ENTITY removeTagButton.accesskey "l"> <!ENTITY removeTagButton.accesskey "l">
<!-- Fonts --> <!-- Fonts -->
<!ENTITY fontsDescription.label "Configure the fonts used by &brandShortName;"> <!ENTITY fontAndEncodingsDescription.label "Configure the fonts and encodings used by &brandShortName;">
<!ENTITY fontsCaption.label "Fonts"> <!ENTITY fontsAndEncodingsCaption.label "Fonts &amp; Encodings">
<!ENTITY fontOptions.accesskey "F"> <!ENTITY fontOptions.accesskey "F">
<!ENTITY fontOptions.label "Fonts..."> <!ENTITY fontOptions.label "Fonts...">
<!-- Language settings -->
<!ENTITY sendDefaultCharset.label "Outgoing Mail:">
<!ENTITY sendDefaultCharset.accesskey "u">
<!ENTITY languagesTitle.label "Character encodings">
<!ENTITY composingDescription.label "Set the default character encodings for sending and receiving mail">
<!ENTITY viewDefaultCharsetList.label "Incoming Mail:">
<!ENTITY viewDefaultCharsetList.accesskey "I">
<!ENTITY forceCharsetOverride.label "Apply the default character encoding to all incoming messages">
<!ENTITY forceCharsetOverride.accesskey "p">
<!ENTITY replyInDefaultCharset.label "Use the default character encoding in replies">
<!ENTITY replyInDefaultCharset.accesskey "h">

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

@ -1,4 +1,4 @@
<!ENTITY fontsDialog.title "Fonts"> <!ENTITY fontsAndEncodingsDialog.title "Fonts &amp; Encodings">
<!ENTITY window.width "39em"> <!ENTITY window.width "39em">
<!ENTITY window.macWidth "43em"> <!ENTITY window.macWidth "43em">
<!ENTITY window.unixWidth "41em"> <!ENTITY window.unixWidth "41em">
@ -64,3 +64,16 @@
<!ENTITY useDocumentFonts.label "Allow messages to use other fonts"> <!ENTITY useDocumentFonts.label "Allow messages to use other fonts">
<!ENTITY useDocumentFonts.accesskey "o"> <!ENTITY useDocumentFonts.accesskey "o">
<!-- Language settings -->
<!ENTITY sendDefaultCharset.label "Outgoing Mail:">
<!ENTITY sendDefaultCharset.accesskey "u">
<!ENTITY languagesTitle1.label "Character Encodings">
<!ENTITY composingDescription.label "Set the default character encodings for sending and receiving mail">
<!ENTITY viewDefaultCharsetList.label "Incoming Mail:">
<!ENTITY viewDefaultCharsetList.accesskey "I">
<!ENTITY forceCharsetOverride.label "Apply the default character encoding to all incoming messages">
<!ENTITY forceCharsetOverride.accesskey "A">
<!ENTITY replyInDefaultCharset.label "Use the default character encoding in replies">
<!ENTITY replyInDefaultCharset.accesskey "h">

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

@ -10,15 +10,11 @@
<!ENTITY checkNow.label "Check Now"> <!ENTITY checkNow.label "Check Now">
<!ENTITY checkNow.accesskey "N"> <!ENTITY checkNow.accesskey "N">
<!ENTITY windowSettings.label "Window Configuration">
<!ENTITY selectWindowLayout.label "Select the window layout you prefer for Mail.">
<!ENTITY selectWindowLayout.accesskey "S">
<!ENTITY messengerStartPage.label "&brandShortName; Start Page"> <!ENTITY messengerStartPage.label "&brandShortName; Start Page">
<!ENTITY enableStartPage.label "When &brandShortName; launches, show the Start Page in the message area"> <!ENTITY enableStartPage.label "When &brandShortName; launches, show the Start Page in the message area">
<!ENTITY enableStartPage.accesskey "W"> <!ENTITY enableStartPage.accesskey "W">
<!ENTITY location.label "Location:"> <!ENTITY location.label "Location:">
<!ENTITY location.accesskey "L"> <!ENTITY location1.accesskey "o">
<!ENTITY useDefault.label "Restore Default"> <!ENTITY useDefault.label "Restore Default">
<!ENTITY useDefault.accesskey "R"> <!ENTITY useDefault.accesskey "R">
@ -27,13 +23,19 @@
<!ENTITY newMessagesArrive.label "When new messages arrive:"> <!ENTITY newMessagesArrive.label "When new messages arrive:">
<!ENTITY playSound.label "Play a sound"> <!ENTITY playSound.label "Play a sound">
<!ENTITY playSound.accesskey "P"> <!ENTITY playSound1.accesskey "d">
<!ENTITY showAnimatedAlert.label "Show an alert"> <!ENTITY showAnimatedAlert.label "Show an alert">
<!ENTITY showAnimatedAlert.accesskey "S"> <!ENTITY showAnimatedAlert.accesskey "S">
<!ENTITY customizeNewMailBehavior.label "Advanced..."> <!ENTITY customizeMailAlert.label "Customize...">
<!ENTITY customizeNewMailBehavior.accesskey "A"> <!ENTITY customizeMailAlert.accesskey "C">
<!ENTITY showConnections.label "Connection Settings..."> <!ENTITY soundNotification1.caption "Sound">
<!ENTITY showConnections.accesskey "o"> <!ENTITY play.label "Play">
<!ENTITY proxiesInfo.label "Determine how &brandShortName; connects to the Internet."> <!ENTITY play.accesskey "P">
<!ENTITY connectionsInfo.caption "Connection"> <!ENTITY systemsound.label "Default system sound for new mail">
<!ENTITY systemsoundMac.label "System Alert Sound">
<!ENTITY systemsound.accesskey "y">
<!ENTITY customsound.label "Use the following sound file">
<!ENTITY customsound.accesskey "U">
<!ENTITY browse.label "Browse...">
<!ENTITY browse.accesskey "B">

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

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

@ -1,7 +1,6 @@
<!ENTITY notificationsDialog1.title "Customize New Mail Notifications"> <!ENTITY notificationsDialog2.title "Customize New Mail Alert">
<!ENTITY window.width "30em"> <!ENTITY window.width "30em">
<!ENTITY alertCustomization.caption "Alerts">
<!ENTITY alertCustomization.intro "Choose which fields to show in the alert notification:"> <!ENTITY alertCustomization.intro "Choose which fields to show in the alert notification:">
<!ENTITY previewText.label "Message Preview Text"> <!ENTITY previewText.label "Message Preview Text">
<!ENTITY previewText.accesskey "M"> <!ENTITY previewText.accesskey "M">
@ -9,13 +8,4 @@
<!ENTITY subject.accesskey "S"> <!ENTITY subject.accesskey "S">
<!ENTITY sender.label "Sender"> <!ENTITY sender.label "Sender">
<!ENTITY sender.accesskey "e"> <!ENTITY sender.accesskey "e">
<!ENTITY soundNotification1.caption "Sound">
<!ENTITY preview.label "Preview Sound">
<!ENTITY preview.accesskey "v">
<!ENTITY systemsound.label "System New Mail Sound">
<!ENTITY systemsoundMac.label "System Alert Sound">
<!ENTITY systemsound.accesskey "y">
<!ENTITY customsound.label "Custom .wav file">
<!ENTITY customsound.accesskey "C">
<!ENTITY browse.label "Browse...">
<!ENTITY browse.accesskey "B">

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

@ -0,0 +1,24 @@
<!ENTITY offlineDialog.title "Offline Settings">
<!ENTITY textStartUp "When starting up:">
<!ENTITY radioRememberPrevState "Remember previous online state">
<!ENTITY radioRememberPrevState.accesskey "R">
<!ENTITY radioAskMe "Ask me for online state at startup">
<!ENTITY radioAskMe.accesskey "u">
<!ENTITY radioAlwaysOnline "Always start up online">
<!ENTITY radioAlwaysOnline.accesskey "l">
<!ENTITY textGoingOnline "Send unsent messages when going online?">
<!ENTITY radioAutoSend "Yes">
<!ENTITY radioAutoSend.accesskey "Y">
<!ENTITY radioNotSend "No">
<!ENTITY radioNotSend.accesskey "N">
<!ENTITY radioAskUnsent "Ask me">
<!ENTITY radioAskUnsent.accesskey "s">
<!ENTITY textGoingOffline "Download messages for offline use when going offline?">
<!ENTITY radioAutoDownload "Yes">
<!ENTITY radioAutoDownload.accesskey "e">
<!ENTITY radioNotDownload "No">
<!ENTITY radioNotDownload.accesskey "o">
<!ENTITY radioAskDownload "Ask me">
<!ENTITY radioAskDownload.accesskey "a">

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

@ -7,6 +7,7 @@
<!ENTITY paneGeneral.title "General"> <!ENTITY paneGeneral.title "General">
<!ENTITY paneDisplay.title "Display"> <!ENTITY paneDisplay.title "Display">
<!ENTITY paneTags.title "Tags">
<!ENTITY paneComposition.title "Composition"> <!ENTITY paneComposition.title "Composition">
<!ENTITY paneAttachments.title "Attachments"> <!ENTITY paneAttachments.title "Attachments">
<!ENTITY panePrivacy.title "Privacy"> <!ENTITY panePrivacy.title "Privacy">

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

@ -2,7 +2,6 @@
<!ENTITY itemPhishing.label "E-mail Scams"> <!ENTITY itemPhishing.label "E-mail Scams">
<!ENTITY itemPasswords.label "Passwords"> <!ENTITY itemPasswords.label "Passwords">
<!ENTITY itemAntiVirus.label "Anti-Virus"> <!ENTITY itemAntiVirus.label "Anti-Virus">
<!ENTITY itemSecurity.label "Security">
<!-- Junk Mail Controls --> <!-- Junk Mail Controls -->
<!ENTITY junkMail.intro "Set your default junk mail settings. Account specific junk mail settings can be configured in Account Settings."> <!ENTITY junkMail.intro "Set your default junk mail settings. Account specific junk mail settings can be configured in Account Settings.">
@ -38,18 +37,6 @@
<!ENTITY viewPasswords.label "View Saved Passwords"> <!ENTITY viewPasswords.label "View Saved Passwords">
<!ENTITY viewPasswords.accesskey "V"> <!ENTITY viewPasswords.accesskey "V">
<!-- Security -->
<!ENTITY certificates.label "Certificates">
<!ENTITY certificatesInfo.label "Manage certificates, revocation lists, certificate verification and security devices.">
<!ENTITY viewCertificates.label "View Certificates">
<!ENTITY viewCertificates.accesskey "i">
<!ENTITY viewCRLs.label "Revocation Lists">
<!ENTITY viewCRLs.accesskey "e">
<!ENTITY viewOCSP.label "Verification">
<!ENTITY viewOCSP.accesskey "f">
<!ENTITY viewSecurityDevices.label "Security Devices">
<!ENTITY viewSecurityDevices.accesskey "u">
<!-- Anti Virus --> <!-- Anti Virus -->
<!ENTITY antiVirus.intro "&brandShortName; can make it easy for anti-virus software to analyze incoming mail messages for viruses before they are stored locally."> <!ENTITY antiVirus.intro "&brandShortName; can make it easy for anti-virus software to analyze incoming mail messages for viruses before they are stored locally.">
<!ENTITY antiVirus.label "Allow anti-virus clients to quarantine individual incoming messages"> <!ENTITY antiVirus.label "Allow anti-virus clients to quarantine individual incoming messages">

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

@ -107,7 +107,6 @@
locale/@AB_CD@/messenger/preferences/display.dtd (%chrome/messenger/preferences/display.dtd) locale/@AB_CD@/messenger/preferences/display.dtd (%chrome/messenger/preferences/display.dtd)
locale/@AB_CD@/messenger/preferences/compose.dtd (%chrome/messenger/preferences/compose.dtd) locale/@AB_CD@/messenger/preferences/compose.dtd (%chrome/messenger/preferences/compose.dtd)
locale/@AB_CD@/messenger/preferences/sendoptions.dtd (%chrome/messenger/preferences/sendoptions.dtd) locale/@AB_CD@/messenger/preferences/sendoptions.dtd (%chrome/messenger/preferences/sendoptions.dtd)
locale/@AB_CD@/messenger/preferences/htmlcompose.dtd (%chrome/messenger/preferences/htmlcompose.dtd)
locale/@AB_CD@/messenger/preferences/privacy.dtd (%chrome/messenger/preferences/privacy.dtd) locale/@AB_CD@/messenger/preferences/privacy.dtd (%chrome/messenger/preferences/privacy.dtd)
locale/@AB_CD@/messenger/preferences/junkLog.dtd (%chrome/messenger/preferences/junkLog.dtd) locale/@AB_CD@/messenger/preferences/junkLog.dtd (%chrome/messenger/preferences/junkLog.dtd)
locale/@AB_CD@/messenger/preferences/viewpasswords.dtd (%chrome/messenger/preferences/viewpasswords.dtd) locale/@AB_CD@/messenger/preferences/viewpasswords.dtd (%chrome/messenger/preferences/viewpasswords.dtd)
@ -118,6 +117,7 @@
locale/@AB_CD@/messenger/preferences/downloadactions.dtd (%chrome/messenger/preferences/downloadactions.dtd) locale/@AB_CD@/messenger/preferences/downloadactions.dtd (%chrome/messenger/preferences/downloadactions.dtd)
locale/@AB_CD@/messenger/preferences/changeaction.dtd (%chrome/messenger/preferences/changeaction.dtd) locale/@AB_CD@/messenger/preferences/changeaction.dtd (%chrome/messenger/preferences/changeaction.dtd)
locale/@AB_CD@/messenger/preferences/fonts.dtd (%chrome/messenger/preferences/fonts.dtd) locale/@AB_CD@/messenger/preferences/fonts.dtd (%chrome/messenger/preferences/fonts.dtd)
locale/@AB_CD@/messenger/preferences/offline.dtd (%chrome/messenger/preferences/offline.dtd)
locale/@AB_CD@/messenger/preferences/notifications.dtd (%chrome/messenger/preferences/notifications.dtd) locale/@AB_CD@/messenger/preferences/notifications.dtd (%chrome/messenger/preferences/notifications.dtd)
locale/@AB_CD@/messenger/preferences/preferences.properties (%chrome/messenger/preferences/preferences.properties) locale/@AB_CD@/messenger/preferences/preferences.properties (%chrome/messenger/preferences/preferences.properties)
locale/@AB_CD@/messenger/migration/migration.dtd (%chrome/messenger/migration/migration.dtd) locale/@AB_CD@/messenger/migration/migration.dtd (%chrome/messenger/migration/migration.dtd)