rem: priorityString = props.GetStringFromName('mediumPriority'); 
add: priorityString = calGetString('calendar', 'mediumPriority'); 
context: function getPreviewForTask( toDoItem ){  if( toDoItem )  {    const vbox = document.createElement( "vbox" );    boxInitializeHeaderGrid(vbox);    var hasHeader = false;             if (toDoItem.title)    {      boxAppendLabeledText(vbox, "tooltipTitle", toDoItem.title);      hasHeader = true;    }    var location = toDoItem.getProperty("LOCATION");    if (location)    {      boxAppendLabeledText(vbox, "tooltipLocation", location);      hasHeader = true;    }       if (toDoItem.entryDate && toDoItem.entryDate.isValid)    {      boxAppendLabeledDateTime(vbox, "tooltipStart", toDoItem.entryDate);      hasHeader = true;    }       if (toDoItem.dueDate && toDoItem.dueDate.isValid)    {      boxAppendLabeledDateTime(vbox, "tooltipDue", toDoItem.dueDate);      hasHeader = true;    }       if (toDoItem.priority && toDoItem.priority != 0)    {      var priorityInteger = parseInt(toDoItem.priority);      var priorityString;      var sbs = Components.classes["@mozilla.org/intl/stringbundle;1"]                          .getService(Components.interfaces.nsIStringBundleService);      var props = sbs.createBundle("chrome://calendar/locale/calendar.properties");      // These cut-offs should match calendar-event-dialog.js      if (priorityInteger >= 1 && priorityInteger <= 4) {           priorityString = props.GetStringFromName('highPriority'); // high priority      } else if (priorityInteger == 5) {          priorityString = props.GetStringFromName('mediumPriority'); // medium priority      } else {          priorityString = props.GetStringFromName('lowPriority'); // low priority      }      boxAppendLabeledText(vbox, "tooltipPriority", priorityString);      hasHeader = true;    }    if (toDoItem.status && toDoItem.status != "NONE")    {      var status = getToDoStatusString(toDoItem);      boxAppendLabeledText(vbox, "tooltipStatus", status);      hasHeader = true;    }    if (toDoItem.percentComplete != 0 && toDoItem.percentComplete != 100)    {      boxAppendLabeledText(vbox, "tooltipPercent", String(toDoItem.percentComplete)+"%");      hasHeader = true;    } else if (toDoItem.percentComplete == 100)    {      if (toDoItem.completedDate == null) {        boxAppendLabeledText(vbox, "tooltipPercent", "100%");      } else {         boxAppendLabeledDateTime(vbox, "tooltipCompleted", toDoItem.completedDate);      }       hasHeader = true;    }    var description = toDoItem.getProperty("DESCRIPTION");    if (description)    {      // display up to 4 description lines like body of message below headers      if (hasHeader)        boxAppendText(vbox, "");       boxAppendLines(vbox, description, 4);    }          return ( vbox );  }   else  {    return null;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d8f8ebee0128d5fbebb6fd54cdafa721e3e427d9/mouseoverPreviews.js/clean/calendar/resources/content/mouseoverPreviews.js