Changeset 00e70a


Ignore:
Timestamp:
Sep 29, 2007, 10:08:19 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
8ff3e1
Parents:
4974ff
Message:

added option to warn if virtual Identity is used

Files:
14 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_prefDialog.js

    r4974ff r00e70a  
    5858                "VIdent_identity.debug_notification",
    5959                "VIdent_identity.warn_nonvirtual",
     60                "VIdent_identity.warn_virtual",
    6061                "VIdent_identity.hide_signature"],
    6162   
  • chrome/content/v_identity/vI_prefDialog.xul

    r4974ff r00e70a  
    9494            <checkbox id="VIdent_identity.warn_nonvirtual" label="&vident.prefs.warnNonvirtual.label;"
    9595                prefstring="warn_nonvirtual" />
     96            <checkbox id="VIdent_identity.warn_virtual" label="&vident.prefs.warnVirtual.label;"
     97                prefstring="warn_virtual" />
    9698        </groupbox>
    9799    </tabpanel>
  • chrome/content/v_identity/v_identity.js

    r4974ff r00e70a  
    136136       
    137137        GenericSendMessage: function (msgType) {
     138            var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
     139                .getService(Components.interfaces.nsIPromptService);
    138140            vI_notificationBar.dump("## v_identity: VIdentity_GenericSendMessage\n");
    139141            vI.msgType = msgType;
     
    162164
    163165                //Get the bundled string file.
    164                 var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
    165                     .getService(Components.interfaces.nsIPromptService);
    166166                if (promptService.confirm(window,"Error",vI.elements.strings.getString("vident.sendLater.warning") +
    167167                    vI.elements.strings.getString("vident.sendLater.prefix") +
     
    173173                else { return; }
    174174            }
    175             else {
     175            else if ( !vI.preferences.getBoolPref("warn_virtual") ||
     176                promptService.confirm(window,"Warning",vI.elements.strings.getString("vident.sendVirtual.warning")) ) {
    176177                // just to be sure to use the recent settings if account was left by cancelled Send Operation
    177178                vI.Cleanup_Account();
     
    296297        if (GenericSendMessage == vI.replacement_functions.GenericSendMessage) {
    297298            GenericSendMessage = function (msgType) {
    298                 vI.msgType = msgType; if (vI.warning()) vI.original_functions.GenericSendMessage(msgType); }
     299                vI.msgType = msgType; if (vI.warning(msgType)) vI.original_functions.GenericSendMessage(msgType); }
    299300            vI_notificationBar.dump("## v_identity: restored GenericSendMessage (Virtual Identity deactivated)\n");
    300301        }
  • chrome/locale/cs-CZ/v_identity/v_identity.dtd

    r4974ff r00e70a  
    1515<!ENTITY vident.prefs.menuEntry.label "přidat poloÅŸku do dialogu MoÅŸnosti v nabídce Nástroje">
    1616<!ENTITY vident.prefs.warnNonvirtual.label "warn on any usage of non-virtual Identities">
     17<!ENTITY vident.prefs.warnVirtual.label "warn on any usage of virtual Identities">
    1718<!ENTITY vident.prefs.vIdentityTab.header "Nastavení virtuálních identit">
    1819<!ENTITY vident.prefs.vIdentityTab.valueTab.label "vlastnosti ke zkopírování">
  • chrome/locale/cs-CZ/v_identity/v_identity.properties

    r4974ff r00e70a  
    1010vident.getHeader.headerFound= hlaviček nalezeno:
    1111vident.sendNonvirtual.warning= You are going to send this email with a permanently stored Identity. Is this really what you are going to do?
     12vident.sendVirtual.warning= You are going to send this email with a virtual Identity. Is this really what you are going to do?
    1213extensions.{dddd428e-5ac8-4a81-9f78-276c734f75b8}.description= Umoşňuje vám za chodu změnit nastavení identity pro jeden e-mail.
  • chrome/locale/de-DE/v_identity/v_identity.dtd

    r4974ff r00e70a  
    1515<!ENTITY vident.prefs.menuEntry.label "fÃŒge Einstellungs-Dialog zu Menu Extras hinzu">
    1616<!ENTITY vident.prefs.warnNonvirtual.label "warne bei jeder Verwendung einer dauerhaft gespeicherten IdentitÀt">
     17<!ENTITY vident.prefs.warnVirtual.label "warne bei jeder Verwendung einer Virtuellen IdentitÀt">
    1718<!ENTITY vident.prefs.vIdentityTab.header "Eigenschaften der Virtuellen IdentitÀt">
    1819<!ENTITY vident.prefs.vIdentityTab.valueTab.label "zu kopierende Einstellungen">
  • chrome/locale/de-DE/v_identity/v_identity.properties

    r4974ff r00e70a  
    1010vident.getHeader.headerFound= Kopfzeile(n) gefunden:
    1111vident.sendNonvirtual.warning= Diese Email wird mit einer dauerhaft gespeicherten IdentitÀt gesendet. Ist das wirklich was sie wollen?
     12vident.sendVirtual.warning= Diese Email wird mit einer virtuellen IdentitÀt gesendet. Ist das wirklich was sie wollen?
    1213extensions.{dddd428e-5ac8-4a81-9f78-276c734f75b8}.description= Erlaubt die VerÀnderung von IdentitÀten wÀhrend dem Schreiben von Mails.
  • chrome/locale/en-US/v_identity/v_identity.dtd

    r4974ff r00e70a  
    1515<!ENTITY vident.prefs.menuEntry.label "add entry for Settings-Dialog to Tools menu">
    1616<!ENTITY vident.prefs.warnNonvirtual.label "warn on any usage of non-virtual Identities">
     17<!ENTITY vident.prefs.warnVirtual.label "warn on any usage of virtual Identities">
    1718<!ENTITY vident.prefs.vIdentityTab.header "Properties of Virtual Identities">
    1819<!ENTITY vident.prefs.vIdentityTab.valueTab.label "attributes to copy">
  • chrome/locale/en-US/v_identity/v_identity.properties

    r4974ff r00e70a  
    1010vident.getHeader.headerFound= header(s) found:
    1111vident.sendNonvirtual.warning= You are going to send this email with a permanently stored Identity. Is this really what you are going to do?
     12vident.sendVirtual.warning= You are going to send this email with a virtual Identity. Is this really what you are going to do?
    1213extensions.{dddd428e-5ac8-4a81-9f78-276c734f75b8}.description= Allows you to modify your Identity settings for a single Mail on the fly.
  • chrome/locale/es-ES/v_identity/v_identity.dtd

    r4974ff r00e70a  
    1515<!ENTITY vident.prefs.menuEntry.label "añadir entrada para el cuadro de opciones al menú Herramientas">
    1616<!ENTITY vident.prefs.warnNonvirtual.label "warn on any usage of non-virtual Identities">
     17<!ENTITY vident.prefs.warnVirtual.label "warn on any usage of virtual Identities">
    1718<!ENTITY vident.prefs.vIdentityTab.header "Propiedades de las identidades virtuales">
    1819<!ENTITY vident.prefs.vIdentityTab.valueTab.label "atributos a copiar">
  • chrome/locale/es-ES/v_identity/v_identity.properties

    r4974ff r00e70a  
    1010vident.getHeader.headerFound=cabeceras encontradas:
    1111vident.sendNonvirtual.warning= You are going to send this email with a permanently stored Identity. Is this really what you are going to do?
     12vident.sendVirtual.warning= You are going to send this email with a virtual Identity. Is this really what you are going to do?
    1213extensions.{dddd428e-5ac8-4a81-9f78-276c734f75b8}.description=Permite modificar la identidad directamente al mandar un correo.
  • chrome/locale/nl-NL/v_identity/v_identity.dtd

    r4974ff r00e70a  
    1515<!ENTITY vident.prefs.menuEntry.label "Onderdeel voor Instellingen-dialoogvenster aan Extra menu toevoegen">
    1616<!ENTITY vident.prefs.warnNonvirtual.label "warn on any usage of non-virtual Identities">
     17<!ENTITY vident.prefs.warnVirtual.label "warn on any usage of virtual Identities">
    1718<!ENTITY vident.prefs.vIdentityTab.header "Eigenschappen van virtuele identiteiten">
    1819<!ENTITY vident.prefs.vIdentityTab.valueTab.label "Te kopiëren eigenschappen">
  • chrome/locale/nl-NL/v_identity/v_identity.properties

    r4974ff r00e70a  
    1010vident.getHeader.headerFound=koptekst(en) gevonden:
    1111vident.sendNonvirtual.warning= You are going to send this email with a permanently stored Identity. Is this really what you are going to do?
     12vident.sendVirtual.warning= You are going to send this email with a virtual Identity. Is this really what you are going to do?
    1213extensions.{dddd428e-5ac8-4a81-9f78-276c734f75b8}.description=Maakt het mogelijk om uw identiteits-instellingen voor een enkel bericht rechtstreeks te wijzigen.
  • defaults/preferences/preferences.js

    r4974ff r00e70a  
    2323pref("extensions.virtualIdentity.notification_timeout", 5);
    2424pref("extensions.virtualIdentity.warn_nonvirtual", false);
     25pref("extensions.virtualIdentity.warn_virtual", false);
    2526pref("extensions.virtualIdentity.hide_signature", false);
    2627
Note: See TracChangeset for help on using the changeset viewer.