Bug 235285 add UI for the "reply in default encoding" pref checking in on behalf of jshin@mailaps.org to make l10n freeze r=me sr=bienvenu

This commit is contained in:
neil%parkwaycc.co.uk 2004-03-10 01:49:27 +00:00
Родитель b4bfdb2aa2
Коммит f43a09c29b
6 изменённых файлов: 18 добавлений и 6098 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

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

@ -5379,9 +5379,12 @@ mistake when composing a message.</li>
Enter a number to set the right margin for text in the message
area.</li>
<li><strong>Character Encoding</strong>: Select the character encoding you want
Mail &amp; Newsgroups to use as the default for outgoing mail and
newsgroup messages.</li>
<li><strong>Character Encoding</strong>: Select the character encoding you
want Mail &amp; Newsgroups to use as the default for outgoing mail and
newsgroup messages. Note that this character encoding is <strong>not</strong>
used when replying to a message. Instead, the character encoding of the message
being replied to is used by default. Choose to use the
default character encoding for outgoing messages even when replying.</li>
<li><strong>Defaults for HTML Messages</strong>: Here you can define what
the defaults are for font, size, text and background color if you choose

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

@ -33,7 +33,7 @@
src="chrome://communicator/content/pref/pref-fonts.js"/>
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["selectLangs", "sendDefaultCharsetList", "viewDefaultCharsetList", "forceCharsetOverride"];
var _elementIDs = ["selectLangs", "sendDefaultCharsetList", "viewDefaultCharsetList", "forceCharsetOverride", "replyInDefaultCharset"];
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
observerService.notifyObservers(null, "charsetmenu-selected", "mailedit");
@ -313,6 +313,9 @@
<checkbox id="forceCharsetOverride" label="&forceCharsetOverride.label;"
prefstring="mailnews.force_charset_override"
accesskey="&forceCharsetOverride.accesskey;"/>
<checkbox id="replyInDefaultCharset" label="&replyInDefaultCharset.label;"
prefstring="mailnews.reply_in_default_charset"
accesskey="&replyInDefaultCharset.accesskey;"/>
</groupbox>
</page>

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

@ -93,3 +93,5 @@
<!ENTITY viewDefaultCharsetList.accesskey "I">
<!ENTITY forceCharsetOverride.label "Apply default to all messages (ignore character encoding specified by MIME header)">
<!ENTITY forceCharsetOverride.accesskey "d">
<!ENTITY replyInDefaultCharset.label "Always use the default character encoding in replies. (When unchecked, only new messages use the default.)">
<!ENTITY replyInDefaultCharset.accesskey "r">

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

@ -16,7 +16,7 @@
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["forwardMessageMode", "spellCheckBeforeSend", "strictlyMime",
"wrapLength", "sendDefaultCharsetList", "mailWarnOnSendAccelKey",
"wrapLength", "sendDefaultCharsetList", "replyInDefaultCharset", "mailWarnOnSendAccelKey",
"FontSelect", "fontSizeSelect", "textColor", "backgroundColor"];
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
observerService.notifyObservers(null, "charsetmenu-selected", "mailedit");
@ -116,6 +116,9 @@
</template>
</menulist>
</hbox>
<checkbox id="replyInDefaultCharset" label="&replyInDefaultCharset.label;"
prefstring="mailnews.reply_in_default_charset"
accesskey="&replyInDefaultCharset.accesskey;"/>
</groupbox>
<groupbox align="start">

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

@ -42,6 +42,8 @@ Rights Reserved.
<!ENTITY sendDefaultCharset.label "Character Encoding:">
<!ENTITY sendDefaultCharset.accesskey "r">
<!ENTITY replyInDefaultCharset.label "Always use this default character encoding in replies. (When unchecked, only new messages use this default.)">
<!ENTITY replyInDefaultCharset.accesskey "r">
<!ENTITY languagesTitle.label "Languages">
<!ENTITY defaultMessagesHeader.label "Defaults for HTML Messages">