rem: var text = getFormattedString("gdata", "loginDialogText", [aCalendarName]); 
add:  var text; try {  text = getFormattedString("necko", "EnterUserPasswordFor", [aCalendarName], "necko"); } catch (e) {  text = getFormattedString("prompts", "EnterUserPasswordFor", [aCalendarName], "global"); } 
context: function getCalendarCredentials(aCalendarName,                                aUsername,                                aPassword,                                aSavePassword) {    if (typeof aUsername != "object" ||        typeof aPassword != "object" ||        typeof aSavePassword != "object") {        throw new Components.Exception("", Cr.NS_ERROR_XPC_NEED_OUT_OBJECT);    }    var watcher = Cc["@mozilla.org/embedcomp/window-watcher;1"].                  getService(Ci.nsIWindowWatcher);    var prompter = watcher.getNewPrompter(null);    // Retrieve strings from properties file    var title = getFormattedString("gdata", "loginDialogTitle");    var text = getFormattedString("gdata", "loginDialogText", [aCalendarName]);    // Only show the save password box if we are supposed to.    var savepassword = (getPrefSafe("signon.rememberSignons", true) ?                        getFormattedString("gdata", "loginDialogCheckText") :                        null);    return prompter.promptUsernameAndPassword(title,                                              text,                                              aUsername,                                              aPassword,                                              savepassword,                                              aSavePassword);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/919c58506a1502db07eea15e76b42780eff314d2/calGoogleUtils.js/clean/calendar/providers/gdata/components/calGoogleUtils.js