Changeset f29419 for content/bindings/vI_rdfAccountMismatchDialog.xml
- Timestamp:
- Nov 26, 2011, 6:53:31 PM (11 years ago)
- Branches:
- ng_0.9
- Children:
- 826c34
- Parents:
- 99ced4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/bindings/vI_rdfAccountMismatchDialog.xml
r99ced4 rf29419 77 77 var menuitem = document.createElement("menuitem"); 78 78 menuitem.setAttribute("class", "mismatchMenuitem"); 79 menuitem.setAttribute("label", document.getElementById(" removeRelationLabel").getAttribute("value"));79 menuitem.setAttribute("label", document.getElementById("virtualIdentityExtension_removeRelationLabel").getAttribute("value")); 80 80 menuitem.setAttribute("key", ""); 81 81 document.getAnonymousElementByAttribute(this, "class", "mismatchMenupopup").appendChild(menuitem); … … 155 155 <method name="_addIdentities"> 156 156 <body><![CDATA[ 157 virtualIdentityExtension. MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addIdentities.\n");157 virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addIdentities.\n"); 158 158 var AccountManager = Components.classes["@mozilla.org/messenger/account-manager;1"] 159 159 .getService(Components.interfaces.nsIMsgAccountManager); … … 177 177 <parameter name="server" /> 178 178 <body><![CDATA[ 179 virtualIdentityExtension. MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtp.\n");179 virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtp.\n"); 180 180 const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; 181 181 var menuitem = document.createElementNS(XUL_NS, "menuitem"); // create a new XUL menuitem … … 190 190 <method name="_addSmtpServers"> 191 191 <body><![CDATA[ 192 virtualIdentityExtension. MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtpServers.\n");192 virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: _addSmtpServers.\n"); 193 193 194 194 const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; … … 196 196 menuitem.setAttribute("class", "mismatchMenuitem"); 197 197 menuitem.setAttribute("key", virtualIdentityExtension.identityData.DEFAULT_SMTP_TAG); 198 menuitem.setAttribute("label", document.getElementById("bundle_messenger").getString("defaultServerTag")); 198 199 menuitem.setAttribute("label", Components.classes["@mozilla.org/intl/stringbundle;1"] 200 .getService(Components.interfaces.nsIStringBundleService) 201 .createBundle("chrome://v_identity/locale/v_identity.properties") 202 .GetStringFromName("defaultServerTag")); 203 199 204 this.appendChild(menuitem); 200 205 … … 209 214 <constructor> 210 215 <![CDATA[ 211 virtualIdentityExtension. MyLog.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: constructor.\n");216 virtualIdentityExtension.Log.debug("rdfAccountMismatchDialog.xml mismatchID-menupopup: constructor.\n"); 212 217 const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; 213 218 this.appendChild(document.createElementNS(XUL_NS, "menuseparator")); // create a new XUL menuseparator
Note: See TracChangeset
for help on using the changeset viewer.