Changeset 7ff4ac
- Timestamp:
- Aug 18, 2011, 1:03:57 PM (11 years ago)
- Branches:
- ng_0.6
- Children:
- 9a1967
- Parents:
- 24b0b0
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
chrome/content/v_identity/vI_prefDialog.js
r24b0b0 r7ff4ac 79 79 "VIdent_identity.smart_reply_ignoreFullName", 80 80 "VIdent_identity.autoTimestamp", 81 "VIdent_identity.autoTimeString", 82 "VIdent_identity.autoTimeFormat", 81 83 "VIdent_identity.notification_timeout", 82 84 "VIdent_identity.debug_notification", … … 239 241 }, 240 242 243 autoTimestampConstraint : function(element) { 244 var mAttr = vI_prefDialog.base.modifyAttribute; 245 mAttr("VIdent_identity.autoTimestamp.options","hidden",element.checked); 246 }, 247 241 248 storageConstraint : function(element) { 242 249 var mAttr = vI_prefDialog.base.modifyAttribute; … … 320 327 vI_prefDialog.base.smartReplyHideSignature(); 321 328 vI_prefDialog.base.storageConstraint(document.getElementById("VIdent_identity.storage")); 329 vI_prefDialog.base.autoTimestampConstraint(document.getElementById("VIdent_identity.autoTimestamp")); 322 330 vI_prefDialog.base.constraints(); 323 331 vI_prefDialog.base.menuButtonConstraints(); -
chrome/content/v_identity/vI_prefDialog.xul
r24b0b0 r7ff4ac 350 350 <caption label="&vI_prefDialog.composeDialog.caption;"/> 351 351 <checkbox id="VIdent_identity.autoTimestamp" label="&vI_prefDialog.composeDialog.autoTimestamp.label;" 352 tooltiptext="&vI_prefDialog.composeDialog.autoTimestamp.tooltiptext;" prefstring="autoTimestamp" /> 352 tooltiptext="&vI_prefDialog.composeDialog.autoTimestamp.tooltiptext;" prefstring="autoTimestamp" oncommand="vI_prefDialog.base.autoTimestampConstraint(this);"/> 353 <hbox id="VIdent_identity.autoTimestamp.options" hidden="true"><spacer class="widthS"/> 354 <vbox> 355 <hbox> 356 <description class="widthX">&vI_prefDialog.composeDialog.autoTimeFormat.label;</description> 357 <vbox><spacer flex="1"/><textbox id="VIdent_identity.autoTimeFormat" 358 prefstring="autoTimeFormat" size="20" /><spacer flex="1"/></vbox> 359 </hbox><hbox> 360 <description class="widthX">&vI_prefDialog.composeDialog.autoTimeString.label;</description> 361 <vbox><spacer flex="1"/><textbox id="VIdent_identity.autoTimeString" 362 prefstring="autoString" size="20" /><spacer flex="1"/></vbox> 363 </hbox> 364 </vbox> 365 </hbox> 353 366 <description id="VIdent_identity.HideSignature.warning" class="widthXX">&vI_prefDialog.composeDialog.HideSignature.warning.desc;</description> 354 367 <checkbox id="VIdent_identity.hide_signature" label="&vI_prefDialog.composeDialog.HideSignature.label;" disabled="true" -
chrome/content/v_identity/vI_smartIdentity.js
r24b0b0 r7ff4ac 68 68 } 69 69 70 var current_email = getCurrentIdentity().email; 71 vI_notificationBar.dump("## vI_smartIdentity: current email: " + current_email + "\n"); 72 73 var dateobj = new Date(); 74 var new_email = current_email.replace(/@/g, parseInt(dateobj.getTime()/1000)+"@"); 70 var current_email = getCurrentIdentity().email.split("@"); 71 var localpart = current_email[0]; 72 var domain = current_email[1]; 73 74 vI_notificationBar.dump("## vI_smartIdentity: current email: " + current_email[0] + "@" + current_email[1] + "\n"); 75 76 var autoString = vI_main.preferences.getCharPref("autoString"); 77 var formatString = vI_main.preferences.getCharPref("autoTimeFormat"); 78 79 var dateObj = new Date(); var dateString = ""; 80 if (formatString == "") dateString = parseInt(dateObj.getTime()/1000); 81 else try { // you never know what the formatString will be... 82 dateString = dateObj.toLocaleFormat(formatString).replace(/\s+|[\x00-\x2a]|\x2c|\x2f|[\x3a-\x40]|[\x5b-\x5d]|\x60|\x7c|[\x7f-\xff]/g,"_"); 83 } catch(e) { }; 84 85 var new_email = autoString.replace(/%l/g, localpart).replace(/%d/g, domain).replace(/%t/g,dateString); 75 86 vI_notificationBar.dump("## vI_smartIdentity: new email: " + new_email + "\n"); 76 87 -
chrome/locale/cs-CZ/v_identity/vI_prefDialog.dtd
r24b0b0 r7ff4ac 84 84 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.label "pro nové e-maily automaticky generovat identity s ÄasovÃœm razÃtkem"> 85 85 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.tooltiptext "PÅi psanà nového e-mailu, pÅidá do obvyklé adresy odesilatele Äasové razÃtko. JednoduchÃœ způsob tvorby unikátnÃch identit, ve vÃœchozÃm stavu vypnuto."> 86 <!ENTITY vI_prefDialog.composeDialog.autoTimeFormat.label "Format of Timestamp: Leave empty or use strftime() syntax ('%c')"> <!-- translate --> 87 <!ENTITY vI_prefDialog.composeDialog.autoTimeString.label "Format of Result: %l localpart, %t timestamp, %d domain. Default '%l%t@%d'"> <!-- translate --> 86 88 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "poznámka: pro aktivaci dynamického odstraÅovánà podpisu je potÅeba nainstalovat a aktivovat rozÅ¡ÃÅenà 'Signature Switch'. Nynà tato volba nenà dostupná."> 87 89 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "pÅi pouÅŸità virtuálnà identity odstranit podpis"> -
chrome/locale/de-DE/v_identity/vI_prefDialog.dtd
r24b0b0 r7ff4ac 84 84 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.label "erzeuge automatischen Zeitstempel fÌr neue mails"> 85 85 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.tooltiptext "VerÀndere die Absender-Adresse fÌr neue emails mit einem Zeitstempel. Dies ist ein einfacher Weg um automatisch neue IdentitÀten zu erzeugen."> 86 <!ENTITY vI_prefDialog.composeDialog.autoTimeFormat.label "Format des Zeitstempels: Leer lassen oder die strftime()-Syntax nutzen ('%c')"> <!-- translate --> 87 <!ENTITY vI_prefDialog.composeDialog.autoTimeString.label "Format des Absenders: %l lokaler Teil, %t Zeitstempel, %d domain. Default '%l%t@%d'"> <!-- translate --> 86 88 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "Hinweis: Zur dynamischen Abschaltung der 'Signatur' muss die Erweiterung 'Signature Switch' installiert (und aktiviert) sein. Zur Zeit steht diese Option nicht zur VerfÌgung."> 87 89 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "entferne eine 'Signatur' bei Nutzung einer Virtuellen IdentitÀt"> -
chrome/locale/en-US/v_identity/vI_prefDialog.dtd
r24b0b0 r7ff4ac 84 84 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.label "autogenerate Timestamp-Identity for new mails"> 85 85 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.tooltiptext "On composing a new email, modify your usual sender-address with a timestamp. On easy way to create unique Identities, off by default."> 86 <!ENTITY vI_prefDialog.composeDialog.autoTimeFormat.label "Format of Timestamp: Leave empty or use strftime() syntax ('%c')"> 87 <!ENTITY vI_prefDialog.composeDialog.autoTimeString.label "Format of Result: %l localpart, %t timestamp, %d domain. Default '%l%t@%d'"> 86 88 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "note: to enable dynamic deactivation of signatures you have to install (and activate) the 'Signature Switch' extension. By now this option is not available."> 87 89 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "remove any 'Signatur' while using a Virtual Identity"> -
chrome/locale/es-ES/v_identity/vI_prefDialog.dtd
r24b0b0 r7ff4ac 84 84 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.label "generar automáticamente identidades con marca de fecha para los nuevos correos"> 85 85 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.tooltiptext "Al redactar un nuevo mensaje, modifica su dirección de envÃo habitual con una marca de fecha. Una manera fácil de crear identidades únicas, desactivado por defecto."> 86 <!ENTITY vI_prefDialog.composeDialog.autoTimeFormat.label "Format of Timestamp: Leave empty or use strftime() syntax ('%c')"> <!-- translate --> 87 <!ENTITY vI_prefDialog.composeDialog.autoTimeString.label "Format of Result: %l localpart, %t timestamp, %d domain. Default '%l%t@%d'"> <!-- translate --> 86 88 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "nota: para habilitar la desactivación dinámica de firmas tiene que instalar (y activar) la extensión 'Signature Switch'. Por ahora, esta opción no está disponible."> 87 89 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "eliminar cualquier firma cuando se use una identidad virtual"> -
chrome/locale/fr/v_identity/vI_prefDialog.dtd
r24b0b0 r7ff4ac 84 84 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.label "Génération automatique d'identités avec horodatage pour les nouveaux courriers."> 85 85 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.tooltiptext "Lors de la composition d'un nouveau message, modifiez votre adresse d'expéditeur habituelle avec un horodatage"> 86 <!ENTITY vI_prefDialog.composeDialog.autoTimeFormat.label "Format of Timestamp: Leave empty or use strftime() syntax ('%c')"> <!-- translate --> 87 <!ENTITY vI_prefDialog.composeDialog.autoTimeString.label "Format of Result: %l localpart, %t timestamp, %d domain. Default '%l%t@%d'"> <!-- translate --> 86 88 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "Remarque : pour lancer la désactivation dynamique des signatures vous devez installer et activer l'extension 'Signature Switch'. Pour le moment cette option n'est pas disponible."> 87 89 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "supprimer toute 'Signature' en utilisant Virtual Identity"> -
chrome/locale/nl/v_identity/vI_prefDialog.dtd
r24b0b0 r7ff4ac 84 84 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.label "Tijdsafdrukidentiteit voor nieuwe berichten automatisch aanmaken"> 85 85 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.tooltiptext "Bij het schrijven van een nieuw bericht kunt u uw gebruikelijke afzendersadres aanpassen met een tijdsafdruk. Een eenvoudige manier om unieke identiteiten aan te maken, staat standaard uit."> 86 <!ENTITY vI_prefDialog.composeDialog.autoTimeFormat.label "Format of Timestamp: Leave empty or use strftime() syntax ('%c')"> <!-- translate --> 87 <!ENTITY vI_prefDialog.composeDialog.autoTimeString.label "Format of Result: %l localpart, %t timestamp, %d domain. Default '%l%t@%d'"> <!-- translate --> 86 88 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "Opmerking: Om dynamisch deactiveren van handtekeningen in te schakelen dient u de âSignature Switchâ extensie te installeren (en activeren). Op dit moment is deze optie niet beschikbaar."> 87 89 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "Alle handtekeningen verwijderen bij gebruik van een virtuele identiteit"> -
chrome/locale/ru-RU/v_identity/vI_prefDialog.dtd
r24b0b0 r7ff4ac 157 157 ÑППбÑеМОй)"> 158 158 <!ENTITY vI_prefDialog.composeDialog.autoTimestamp.tooltiptext "ÐÑО ÑПзЎаМОО МПвПгП ÑППбÑеМОÑ, ОзЌеМÑеÑÑÑ E-mail ПÑпÑавОÑÐµÐ»Ñ - к ÐœÐµÐŒÑ ÐŽÐŸÐ±Ð°Ð²Ð»ÑеÑÑÑ ÐŸÑЌеÑка вÑеЌеМО. ÐÑОЌеÑ: еÑлО ÐÐ°Ñ E-mail, к пÑОЌеÑÑ, name@domen.com, ÑП пПÑле вклÑÑÐµÐœÐžÑ ÐŽÐ°ÐœÐœÐŸÐ¹ ÑÑМкÑОО О пÑО ÑПÑÑавлеМОО МПвПгП пОÑÑЌа, бÑÐŽÐµÑ ÑгеМеÑОÑПваМ МПвÑй E-mail, к пÑОЌеÑÑ, name1266499936@domen.com. ÐП ÑЌПлÑÐ°ÐœÐžÑ ÐŽÐ°ÐœÐœÐ°Ñ ÑÑМкÑÐžÑ ÐŸÑклÑÑеМа."> 159 <!ENTITY vI_prefDialog.composeDialog.autoTimeFormat.label "Format of Timestamp: Leave empty or use strftime() syntax ('%c')"> <!-- translate --> 160 <!ENTITY vI_prefDialog.composeDialog.autoTimeString.label "Format of Result: %l localpart, %t timestamp, %d domain. Default '%l%t@%d'"> <!-- translate --> 159 161 <!ENTITY vI_prefDialog.composeDialog.HideSignature.warning.desc "ÐбÑаÑОÑе вМОЌаМОе: ÑÑÐŸÐ±Ñ Ð¿ÐŸÐ·Ð²ÐŸÐ»ÑÑÑ ÐŽÐžÐœÐ°ÐŒÐžÑеÑкÑÑ ÐŽÐµÐ·Ð°ÐºÑОваÑÐžÑ Ð¿ÐŸÐŽÐ¿ÐžÑей, ÐÑ ÐŽÐŸÐ»Ð¶ÐœÑ ÑÑÑаМПвОÑÑ (О акÑОвОзОÑПваÑÑ) ÑаÑÑОÑеМОе «Signature Switch». РМаÑÑПÑÑОй ÐŒÐŸÐŒÐµÐœÑ ÐŽÐ°ÐœÐœÐ°Ñ ÐŸÐ¿ÑÐžÑ ÐœÐµ ЎПÑÑÑпМа."> 160 162 <!ENTITY vI_prefDialog.composeDialog.HideSignature.label "УЎалÑÑÑ Ð»ÑбÑе пПЎпОÑО пÑО ОÑпПлÑзПваМОО вОÑÑÑалÑÐœÑÑ -
defaults/preferences/preferences.js
r24b0b0 r7ff4ac 23 23 pref("extensions.virtualIdentity.smart_detectByReceivedHeader", true); 24 24 pref("extensions.virtualIdentity.autoTimestamp", false); 25 pref("extensions.virtualIdentity.autoString", "%l%t@%d"); 26 pref("extensions.virtualIdentity.autoTimeFormat", ""); 25 27 pref("extensions.virtualIdentity.get_header_notification", true); 26 28 pref("extensions.virtualIdentity.error_console", false);
Note: See TracChangeset
for help on using the changeset viewer.