Changeset f8ffee
- Timestamp:
- Sep 30, 2007, 11:38:58 AM (13 years ago)
- Branches:
- master
- Children:
- 45202e
- Parents:
- b1820a
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chrome/content/v_identity/vI_prefDialog.js
rb1820a rf8ffee 59 59 "VIdent_identity.warn_nonvirtual", 60 60 "VIdent_identity.warn_virtual", 61 "VIdent_identity.hide_signature"], 61 "VIdent_identity.hide_signature", 62 "VIdent_identity.aBook_use", 63 "VIdent_identity.aBook_storedefault", 64 "VIdent_identity.aBook_show_switch", 65 "VIdent_identity.aBook_warn_update", 66 "VIdent_identity.aBook_ask", 67 "VIdent_identity.aBook_ask_always", 68 "VIdent_identity.aBook_autocreate", 69 "VIdent_identity.aBook_prefer_smart_reply", 70 "VIdent_identity.aBook_ignore_smart_reply", 71 "VIdent_identity.aBook_warn_vI_replace", 72 "VIdent_identity.aBook_notification"], 62 73 63 74 init : function() { … … 128 139 vI_prefDialog.base.smartReplyResultConstraint(); 129 140 }, 141 142 aBookConstraint : function(element) { 143 var elementIDs = [ 144 "VIdent_identity.aBook_storedefault", 145 "VIdent_identity.aBook_show_switch", 146 "VIdent_identity.aBook_warn_update", 147 "VIdent_identity.aBook_ask", 148 "VIdent_identity.aBook_ask_always", 149 "VIdent_identity.aBook_autocreate", 150 "VIdent_identity.aBook_prefer_smart_reply", 151 "VIdent_identity.aBook_ignore_smart_reply", 152 "VIdent_identity.aBook_warn_vI_replace", 153 "VIdent_identity.aBook_remove_entries", 154 "aBookTab", "aBookTab1", "aBookTab2", "aBookTab3"]; 155 for( var i = 0; i < elementIDs.length; i++ ) { 156 if (element.checked) 157 document.getElementById(elementIDs[i]) 158 .removeAttribute("disabled"); 159 else 160 document.getElementById(elementIDs[i]) 161 .setAttribute("disabled", "true"); 162 } 163 vI_prefDialog.base.smartReplyResultConstraint(); 164 }, 130 165 131 166 smartReplyResultConstraint : function() { … … 141 176 }, 142 177 178 aBookResultConstraint : function() { 179 if (!document.getElementById("VIdent_identity.aBook_use").checked) return; 180 var ask = document.getElementById("VIdent_identity.aBook_ask") 181 var ask_always = document.getElementById("VIdent_identity.aBook_ask_always") 182 var autocreate = document.getElementById("VIdent_identity.aBook_autocreate") 183 var autocreate_desc = document.getElementById("VIdent_identity.aBook_autocreate.desc") 184 ask_always.setAttribute("disabled", (autocreate.checked || !ask.checked)) 185 autocreate.setAttribute("disabled", (ask.checked && ask_always.checked)) 186 autocreate_desc.setAttribute("disabled", (ask.checked && ask_always.checked)) 187 autocreate_desc.setAttribute("hidden", !ask.checked) 188 }, 189 143 190 smartReplyHeaderReset : function() { 144 191 var textfield = document.getElementById("VIdent_identity.smart_reply_headers") … … 216 263 "VIdent_identity.fccFolder", "VIdent_identity.fccFolderPickerMode" ); 217 264 vI_prefDialog.base.savePrefs(); 218 } 265 }, 266 267 openURL : function(aURL) { 268 var uri = Components.classes["@mozilla.org/network/standard-url;1"].createInstance(Components.interfaces.nsIURI); 269 var protocolSvc = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"].getService(Components.interfaces.nsIExternalProtocolService); 270 271 uri.spec = aURL; 272 protocolSvc.loadUrl(uri); 273 } 219 274 } 220 275 -
chrome/content/v_identity/vI_prefDialog.xul
rb1820a rf8ffee 59 59 prefstring="fcc_folder_picker_mode"/> 60 60 61 <label class="v_identity_logo" 62 value="&vident.compose.vidLogo.label; &vident.version;" align="right" flex="1"/> 61 <hbox> 62 <spacer flex="1" /> 63 <button class="v_identity_logo v_identity_logo_button" 64 label="&vident.compose.vidLogo.label; &vident.version;" 65 oncommand="vI_prefDialog.openURL('http://www.absorb.it/virtual-id')" tooltiptext="&vident.prefs.vidLogo.tooltiptext;" /> 66 </hbox> 63 67 64 68 <tabbox> … … 67 71 <tab label="&vident.prefs.vIdentityTab.label;" /> 68 72 <tab id="smartReplyTab" label="&vident.prefs.smartReplyTab.label;" /> 73 <tab id="aBookTab" label="&vident.prefs.aBookTab.label;" /> 69 74 <tab label="&vident.prefs.notificationTab.label;" /> 70 75 </tabs> … … 82 87 oncommand="vI_prefDialog.base.smartReplyConstraint(this);" 83 88 /> 84 < checkbox id="VIdent_identity.smart_reply_for_newsgroups" label="&vident.prefs.smartReplyNewsgroups.label;"89 <hbox><spacer width="20px"/><checkbox id="VIdent_identity.smart_reply_for_newsgroups" label="&vident.prefs.smartReplyNewsgroups.label;" 85 90 prefstring="smart_reply_for_newsgroups" /> 91 </hbox> 86 92 <checkbox id="VIdent_identity.smart_timestamp" label="&vident.prefs.smartTimestamp.label;" 87 93 prefstring="smart_timestamp" /> 94 <checkbox id="VIdent_identity.aBook_use" label="&vident.prefs.aBook.label;" 95 prefstring="aBook_use" 96 oncommand="vI_prefDialog.base.aBookConstraint(this);" 97 /> 88 98 <spacer height="10px"/> 89 99 <checkbox id="VIdent_identity.show_smtp" label="&vident.prefs.SMTP.label;" … … 229 239 prefstring="smart_reply_ask" 230 240 oncommand="vI_prefDialog.base.smartReplyResultConstraint();"/> 231 < checkbox id="VIdent_identity.smart_reply_ask_always" label="&vident.prefs.smartReply.ask_always.label;"241 <hbox><spacer width="20px"/><checkbox id="VIdent_identity.smart_reply_ask_always" label="&vident.prefs.smartReply.ask_always.label;" 232 242 prefstring="smart_reply_ask_always" 233 243 oncommand="vI_prefDialog.base.smartReplyResultConstraint();"/> 244 </hbox> 234 245 <hbox> 235 246 <vbox><spacer flex="1"/> … … 249 260 </tabbox> 250 261 </tabpanel> 262 <tabpanel orient="vertical" label="&vident.prefs.aBookTab.header;"> 263 <dialogheader title="&vident.prefs.aBookTab.header;"/> 264 <tabbox> 265 <tabs> 266 <tab id="aBookTab1" label="&vident.prefs.aBookTab.Tab1.label;" /> 267 <tab id="aBookTab2" label="&vident.prefs.aBookTab.Tab2.label;" /> 268 <tab id="aBookTab3" label="&vident.prefs.aBookTab.Tab3.label;" /> 269 </tabs> 270 <tabpanels> 271 <tabpanel orient="vertical"> 272 <groupbox> 273 <caption label="&vident.prefs.aBookCap.caption;"/> 274 <vbox align="left"> 275 <checkbox id="VIdent_identity.aBook_storedefault" label="&vident.prefs.aBook.storedefault.label;" 276 prefstring="aBook_storedefault"/> 277 <checkbox id="VIdent_identity.aBook_show_switch" label="&vident.prefs.aBook.show_switch.label;" 278 prefstring="aBook_show_switch"/> 279 <checkbox id="VIdent_identity.aBook_warn_update" label="&vident.prefs.aBook.warn_update.label;" 280 prefstring="aBook_warn_update"/> 281 </vbox> 282 </groupbox> 283 </tabpanel> 284 <tabpanel orient="vertical"> 285 <groupbox> 286 <caption label="&vident.prefs.aBookCap.caption;"/> 287 <vbox align="left"> 288 <checkbox id="VIdent_identity.aBook_ask" label="&vident.prefs.aBook.ask.label;" 289 prefstring="aBook_ask" 290 oncommand="vI_prefDialog.base.aBookResultConstraint();"/> 291 <hbox><spacer width="20px"/><checkbox id="VIdent_identity.aBook_ask_always" label="&vident.prefs.aBook.ask_always.label;" 292 prefstring="aBook_ask_always" 293 oncommand="vI_prefDialog.base.aBookResultConstraint();"/> 294 </hbox> 295 <hbox> 296 <vbox><spacer flex="1"/> 297 <checkbox id="VIdent_identity.aBook_autocreate" label="&vident.prefs.aBook.autocreate.label;" 298 prefstring="aBook_autocreate" 299 oncommand="vI_prefDialog.base.aBookResultConstraint();"/> 300 <spacer flex="1"/></vbox> 301 <vbox><spacer flex="1"/> 302 <label value="&vident.prefs.aBook.autocreate.desc;" hidden="true" 303 id="VIdent_identity.aBook_autocreate.desc" /> 304 <spacer flex="1"/></vbox> 305 </hbox> 306 <spacer height="10px"/> 307 <checkbox id="VIdent_identity.aBook_prefer_smart_reply" label="&vident.prefs.aBook.prefer_smart_reply.label;" 308 prefstring="aBook_prefer_smart_reply"/> 309 <checkbox id="VIdent_identity.aBook_ignore_smart_reply" label="&vident.prefs.aBook.ignore_smart_reply.label;" 310 prefstring="aBook_ignore_smart_reply"/> 311 </vbox> 312 </groupbox> 313 </tabpanel> 314 <tabpanel orient="vertical"> 315 <groupbox> 316 <caption label="&vident.prefs.aBookCap.caption;"/> 317 <vbox align="left"> 318 <checkbox id="VIdent_identity.aBook_warn_vI_replace" label="&vident.prefs.aBook.warn_vI_replace.label;" 319 prefstring="aBook_warn_vI_replace"/> 320 <spacer height="10px"/> 321 <vbox><description width="500px">&vident.prefs.aBook.remove_entries.desc;</description> 322 <spacer flex="1"/> 323 <hbox><spacer flex="1"/> 324 <button id="VIdent_identity.aBook_remove_entries" label="&vident.prefs.aBook.remove_entries.remove;" oncommand="vI_prefDialog.base.smartReplyHeaderReset();"/> 325 <spacer flex="1"/></hbox> 326 </vbox> 327 </vbox> 328 </groupbox> 329 </tabpanel> 330 </tabpanels> 331 </tabbox> 332 </tabpanel> 251 333 <tabpanel orient="vertical" label="&vident.prefs.notificationTab.header;"> 252 334 <dialogheader title="&vident.prefs.notificationTab.header;"/> … … 258 340 <checkbox id="VIdent_identity.smart_reply_notification" label="&vident.prefs.notifySmartIdentity.label;" 259 341 prefstring="smart_reply_notification"/> 342 <checkbox id="VIdent_identity.aBook_notification" label="&vident.prefs.notifyABook.label;" 343 prefstring="aBook_notification"/> 260 344 <hbox> 261 345 <vbox><spacer flex="1"/><label value="&vident.prefs.notifyTime.prefix.label;" /><spacer flex="1"/></vbox> -
chrome/locale/de-DE/v_identity/v_identity.dtd
rb1820a rf8ffee 1 1 <!ENTITY vident.compose.vidLogo.label "virtual identity"> 2 2 <!ENTITY vident.prefs.dlgTitle.label "Virtual Identity Einstellungen"> 3 <!ENTITY vident.prefs.vidLogo.tooltiptext "Ãffne die Webseite von Virtual Identity"> 3 4 <!ENTITY vident.prefs.commonTab.label "Allgemein"> 4 5 <!ENTITY vident.prefs.vIdentityTab.label "Virtuelle IdentitÀt"> … … 12 13 <!ENTITY vident.prefs.smartReplyNewsgroups.label "verwende Smart Reply auch bei Antworten an Newsgruppen"> 13 14 <!ENTITY vident.prefs.smartTimestamp.label "verwende Smart Timestamp"> 15 <!ENTITY vident.prefs.aBook.label "verwende Adressbuch zum Speichern Virtueller IdentitÀten"> 14 16 <!ENTITY vident.prefs.SMTP.label "zeige SMTP Auswahlmenu"> 15 17 <!ENTITY vident.prefs.menuEntry.label "fÃŒge Einstellungs-Dialog zu Menu Extras hinzu"> … … 46 48 <!ENTITY vident.prefs.smartReply.autocreate.label "ÃŒbernehme die erste IdentitÀt automatisch"> 47 49 <!ENTITY vident.prefs.smartReply.autocreate.desc "(wenn nur eine Adresse zur Auswahl steht)"> 50 <!ENTITY vident.prefs.aBookTab.label "Verwendung Adressbuch"> 51 <!ENTITY vident.prefs.aBookTab.header "Speicherung Virtueller IdentitÀten im Adressbuch"> 52 <!ENTITY vident.prefs.aBookCap.caption "Virtual Identity Adressbuch-Konfiguration"> 53 <!ENTITY vident.prefs.aBookTab.Tab1.label "1. Allgemeine Konfiguration"> 54 <!ENTITY vident.prefs.aBookTab.Tab2.label "2. Ãbernahme der Adressen"> 55 <!ENTITY vident.prefs.aBookTab.Tab3.label "3. Erweitert"> 56 <!ENTITY vident.prefs.aBook.storedefault.label "speichere Virtuelle IdentitÀten beim Senden von Emails"> 57 <!ENTITY vident.prefs.aBook.show_switch.label "zeige Schalter zum Aktivieren/Deaktivieren der Speicherung"> 58 <!ENTITY vident.prefs.aBook.warn_update.label "frage nach, bevor Virtuelle IdentitÀten im Adressbuch ÃŒberschrieben werden"> 59 <!ENTITY vident.prefs.aBookCap2.caption "Auswahl der SendeindentitÀt"> 60 <!ENTITY vident.prefs.aBook.ask.label "öffne ein Dialogfenster zur Auswahl der IdentitÀt"> 61 <!ENTITY vident.prefs.aBook.ask_always.label "auch nachfragen, wenn nur eine Adresse zur Auswahl steht"> 62 <!ENTITY vident.prefs.aBook.autocreate.label "ÃŒbernehme die erste IdentitÀt automatisch"> 63 <!ENTITY vident.prefs.aBook.autocreate.desc "(wenn nur eine Adresse zur Auswahl steht)"> 64 <!ENTITY vident.prefs.aBook.prefer_smart_reply.label "bevorzuge Smart Reply-IdentitÀten"> 65 <!ENTITY vident.prefs.aBook.ignore_smart_reply.label "ignoriere Smart Reply-IdentitÀten wenn IdentitÀten im Adressbuch gefunden werden"> 66 <!ENTITY vident.prefs.aBookCap3.caption "erweiterte Optionen"> 67 <!ENTITY vident.prefs.aBook.warn_vI_replace.label "frage nach, wenn im Sender-Feld eingetragene Virtuelle IdentitÀt ersetzt werden soll."> 68 <!ENTITY vident.prefs.aBook.remove_entries.desc "Virtual Identity speichert Informationen im Adressbuch. Hier können diese ergÀnzenden Informationen aus den Adressbuch gelöscht werden. Dies kann lange dauern."> 69 <!ENTITY vident.prefs.aBook.remove_entries.remove "entferne Informationen"> 48 70 <!ENTITY vident.prefs.notificationTab.header "Statusinformationen"> 49 71 <!ENTITY vident.prefs.notificationTab.caption "Benachrichtigungen"> 50 72 <!ENTITY vident.prefs.notifyHeaders.label "zeige Informationen ÃŒber erfasste Header"> 51 73 <!ENTITY vident.prefs.notifySmartIdentity.label "aktiviere Smart Reply / Smart Draft Statusmeldungen"> 74 <!ENTITY vident.prefs.notifyABook.label "aktiviere Adressbuch Statusmeldungen"> 52 75 <!ENTITY vident.prefs.notifyTime.prefix.label "Zeit, bis Nachrichten ausgeblendet werden (0 fÃŒr immer an)"> 53 76 <!ENTITY vident.prefs.notifyTime.postfix.label "Sekunden"> -
chrome/locale/en-US/v_identity/v_identity.dtd
rb1820a rf8ffee 1 1 <!ENTITY vident.compose.vidLogo.label "virtual identity"> 2 2 <!ENTITY vident.prefs.dlgTitle.label "Virtual Identity Settings"> 3 <!ENTITY vident.prefs.vidLogo.tooltiptext "Open Virtual Identity Homepage"> 3 4 <!ENTITY vident.prefs.commonTab.label "Main"> 4 5 <!ENTITY vident.prefs.vIdentityTab.label "Virtual Identity"> -
chrome/skin/classic/v_identity/v_identity.css
rb1820a rf8ffee 1 1 @import url("chrome://v_identity/locale/logo.css"); 2 2 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 3 4 .v_identity_logo_button { 5 -moz-appearance: toolbarbutton; 6 } 3 7 4 8 notificationbox { -
defaults/preferences/preferences.js
rb1820a rf8ffee 25 25 pref("extensions.virtualIdentity.warn_virtual", false); 26 26 pref("extensions.virtualIdentity.hide_signature", false); 27 28 27 pref("extensions.virtualIdentity.aBook_use", true); 28 pref("extensions.virtualIdentity.aBook_storedefault", false); 29 pref("extensions.virtualIdentity.aBook_show_switch", true); 30 pref("extensions.virtualIdentity.aBook_warn_update", false); 31 pref("extensions.virtualIdentity.aBook_ask", false); 32 pref("extensions.virtualIdentity.aBook_ask_always", false); 33 pref("extensions.virtualIdentity.aBook_autocreate", true); 34 pref("extensions.virtualIdentity.aBook_prefer_smart_reply", false); 35 pref("extensions.virtualIdentity.aBook_ignore_smart_reply", false); 36 pref("extensions.virtualIdentity.aBook_warn_vI_replace", false); 37 pref("extensions.virtualIdentity.aBook_notification", true); 29 38 pref("extensions.{dddd428e-5ac8-4a81-9f78-276c734f75b8}.description", "chrome://v_identity/locale/v_identity.properties");
Note: See TracChangeset
for help on using the changeset viewer.