rem: var promptText = gMessengerBundle.getFormattedString("advanceNextPrompt", [ nextFolder.name ], 1); 
add: var promptText = gMessengerBundle.getFormattedString("advanceNextPrompt", [ folder.name ], 1); 
context: function CrossFolderNavigation(type, supportsFolderPane ){  if (type != nsMsgNavigationType.nextUnreadMessage) {    // only do cross folder navigation for "next unread message"    return null;  }  var nextMode = pref.getIntPref("mailnews.nav_crosses_folders");  // 0: "next" goes to the next folder, without prompting  // 1: "next" goes to the next folder, and prompts (the default)  // 2: "next" does nothing when there are no unread messages  // not crossing folders, don't find next  if (nextMode == 2) return null;  var originalFolderURI = gDBView.msgFolder.URI;  var nextFolderURI = null;  var done = false;  var startAtURI = originalFolderURI;  var i,j;  var rootFolders;  // look for the next folder, this will only look on the current account  // and below us, in the folder pane  nextFolderURI = FindNextFolder(startAtURI);  // if nothing in the current account, start with the next account (below)  // and try until we hit the bottom of the folder pane  if (!nextFolderURI) {    // start at the account after the current account    rootFolders = GetRootFoldersInFolderPaneOrder();    for (i=0;i<rootFolders.length;i++) {      if (rootFolders[i].URI == gDBView.msgFolder.server.serverURI)        break;    }    for (j=i+1; j<rootFolders.length; j++) {      nextFolderURI = FindNextFolder(rootFolders[j].URI);      if (nextFolderURI)        break;    }     // if nothing from the current account down to the bottom    // (of the folder pane), start again at the top.    if (!nextFolderURI) {      for (j=0; j<rootFolders.length; j++) {        nextFolderURI = FindNextFolder(rootFolders[j].URI);        if (nextFolderURI)          break;      }    }  }  if (nextFolderURI && (originalFolderURI != nextFolderURI)) {    var nextFolderResource = RDF.GetResource(nextFolderURI);    var nextFolder = nextFolderResource.QueryInterface(Components.interfaces.nsIMsgFolder);    switch (nextMode) {      case 0:        // do this unconditionally        gNextMessageAfterLoad = type;        if (supportsFolderPane)          SelectFolder(nextFolderURI);        break;      case 1:      default:        var promptText = gMessengerBundle.getFormattedString("advanceNextPrompt", [ nextFolder.name ], 1);         if (promptService.confirm(window, promptText, promptText)) {          gNextMessageAfterLoad = type;          if (supportsFolderPane)            SelectFolder(nextFolderURI);        }        break;    }  }  return nextFolderURI;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a5bb53fbf340a039327f6d674880b7c1a74c3991/msgViewNavigation.js/buggy/mailnews/base/resources/content/msgViewNavigation.js