rem: menuItem.setAttribute("value", string); 
add: menuItem.setAttribute("label", string); 
context: function AppendStringToMenulist(menulist, string){  if (menulist)  {    var menupopup = menulist.firstChild;    // May not have any popup yet -- so create one    if (!menupopup)    {      menupopup = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menupopup");      if (menupopup)        menulist.appendChild(menupopup);      else      {        dump("Failed to create menupoup\n");        return null;      }    }    var menuItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem");    if (menuItem)    {      menuItem.setAttribute("value", string);      menupopup.appendChild(menuItem);      return menuItem;    }  }  return null;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js