Fix for bugs 79554, 80194, 82805, 82984. r=bhuvan, sr=sspitzer, a=asa@mozilla.org

This commit is contained in:
dianesun%netscape.com 2006-05-17 02:30:32 +00:00
Родитель 2e5728e823
Коммит 180920e224
3 изменённых файлов: 50 добавлений и 38 удалений

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

@ -19,7 +19,7 @@
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Contributor(s): Mohan Bhamidipati (mohanb@netscape.com)
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
@ -40,7 +40,7 @@
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["offlineStartupstate", "whengoingOnlinestate", "whengoingOfflinestate"];
var _elementIDs = ["offlineStartupstate", "whengoingOnlinestate", "whengoingOfflinestate", "offlineCompactFolder", "offlineCompactFolderMin"];
]]>
</script>
@ -49,37 +49,45 @@
<titledbox orient="vertical" class="small-margin">
<label value="&rHeader;"/>
<html> &descipt1;</html>
<text value="&textStart;"/>
<radiogroup id="offlineStartupstate" orient="vertical" autostretch="never"
pref="true" preftype="int" prefstring="offline.startup_state"
prefattribute="value">
<radio class="small-margin" group="offlineStartupstate" value="0" label="&prevRadio;"/>
<radio class="small-margin" group="offlineStartupstate" value="1" label="&askOfflineRadio;"/>
<radio class="small-margin" group="offlineStartupstate" value="0" label="&radioAskMode;"/>
<radio class="small-margin" group="offlineStartupstate" value="1" label="&radioUsePrev;"/>
</radiogroup>
</titledbox>
<titledbox orient="vertical" class="small-margin">
<label value="&header2;"/>
<separator class="thin"/>
<text value="&textGoingOnline;"/>
<radiogroup id="whengoingOnlinestate" orient="vertical" autostretch="never"
pref="true" preftype="int" prefstring="offline.send.unsent_messages"
prefattribute="value">
<radio class="small-margin" group="whengoingOnlinestate" value="0" label="&unsentAskRadio;"/>
<radio class="small-margin" group="whengoingOnlinestate" value="1" label="&unsentAutoRadio;"/>
<radio class="small-margin" group="whengoingOnlinestate" value="2" label="&unsentDoNotRadio;"/>
<radio class="small-margin" group="whengoingOnlinestate" value="0" label="&radioAskUnsent;"/>
<radio class="small-margin" group="whengoingOnlinestate" value="1" label="&radioAutoSend;"/>
<radio class="small-margin" group="whengoingOnlinestate" value="2" label="&radioNotSend;"/>
</radiogroup>
</titledbox>
<titledbox orient="vertical" class="small-margin">
<label value="&header3;"/>
<separator class="thin"/>
<text value="&textGoingOffline;"/>
<radiogroup id="whengoingOfflinestate" orient="vertical" autostretch="never"
pref="true" preftype="int" prefstring="offline.download.download_messages"
prefattribute="value">
<radio class="small-margin" group="whengoingOfflinestate" value="0" label="&unsentAskDownloadRadio;"/>
<radio class="small-margin" group="whengoingOfflinestate" value="1" label="&unsentAutoDownloadRadio;"/>
<radio class="small-margin" group="whengoingOfflinestate" value="2" label="&unsentDoNotDownloadRadio;"/>
<radio class="small-margin" group="whengoingOfflinestate" value="0" label="&radioAskDownload;"/>
<radio class="small-margin" group="whengoingOfflinestate" value="1" label="&radioAutoDownload;"/>
<radio class="small-margin" group="whengoingOfflinestate" value="2" label="&radioNotDownload;"/>
</radiogroup>
</titledbox>
<titledbox orient="vertical">
<label value="&Diskspace;"/>
<box orient="horizontal" autostretch="never">
<checkbox id="offlineCompactFolder" label="&offlineCompact.label;" accesskey="&offlineCompact.accesskey;"
pref="true" preftype="bool" prefstring="mail.prompt_purge_threshhold" prefattribute="checked"/>
<textbox id="offlineCompactFolderMin" size="5" value="100"
pref="true" preftype="int" prefstring="mail.purge_threshhold" prefattribute="value"/>
<text class="label" value="&kb.label;"/>
</box>
</titledbox>
</window>

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

@ -1,21 +1,25 @@
<!-- extracted from content/pref-offline.xul -->
<!--LOCALIZATION NOTE : FILE The 'Offline' preferences dialog -->
<!ENTITY window.title "Offline">
<!ENTITY boxHeader "Offline">
<!ENTITY rHeader "Startup Mode">
<!ENTITY descipt1 "&brandShortName; can start in either online or offline mode. When online you have full
access to your network. When offline you can only read messages that you have previously downloaded to your local computer.">
<!ENTITY prevRadio "Remember my previous mode">
<!ENTITY communRemember "&brandShortName; will remember the state it was in last and start in that mode.">
<!ENTITY askOfflineRadio "Ask me at startup">
<!ENTITY offlineStartAskEach "&brandShortName; will ask you each time you start the program.">
<!ENTITY header2 "When Going Online">
<!ENTITY unsentAskRadio "Ask me if I want to send my unsent messages">
<!ENTITY unsentAutoRadio "Automatically send my unsent messages">
<!ENTITY unsentDoNotRadio "Do not send my unsent messages">
<!ENTITY header3 "When Going Offline">
<!ENTITY unsentAskDownloadRadio "Ask me if I want to download messages for offline use">
<!ENTITY unsentAutoDownloadRadio "Automatically download messages for offline use">
<!ENTITY unsentDoNotDownloadRadio "Do not download messages for offline use">
<!ENTITY promptSynchCheck "Prompt me to synchronize my messages">
<!ENTITY window.title "Offline and Disk Space">
<!ENTITY boxHeader "Offline and Disk Space">
<!ENTITY rHeader "Offline">
<!--LOCALIZATION NOTE (textStart): Don't translate "&brandShortName;".
Place "&brandShortName;" in the phrase where the name of the application should
appear
-->
<!ENTITY textStart "When starting &brandShortName;:">
<!ENTITY radioAskMode "Ask me if I want online or offline mode">
<!ENTITY radioUsePrev "Use my previous online/offline state">
<!ENTITY textGoingOnline "When going online:">
<!ENTITY radioAskUnsent "Ask me if I want to send my unsent messages">
<!ENTITY radioAutoSend "Automatically send my unsent messages">
<!ENTITY radioNotSend "Do not send my unsent messages">
<!ENTITY textGoingOffline "When going offline:">
<!ENTITY radioAskDownload "Ask me if I want to download messages for offline use">
<!ENTITY radioAutoDownload "Automatically download messages for offline use">
<!ENTITY radioNotDownload "Do not download messages for offline use">
<!ENTITY Diskspace "Disk Space">
<!ENTITY offlineCompact.label "Compact folders when it will save over">
<!ENTITY offlineCompact.accesskey "c">
<!ENTITY kb.label "KB">

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

@ -16,7 +16,7 @@
<!ENTITY compose.label "Composer">
<!ENTITY editing.label "New Page Settings">
<!ENTITY publish.label "Publish">
<!ENTITY offline.label "Offline">
<!ENTITY offline.label "Offline and Disk Space">
<!ENTITY security.label "Privacy and Security">
<!ENTITY advance.label "Advanced">
<!ENTITY down.label "Download">