rem: var DragStr = GetString(osKey)+GetString("Drag"); var ClickStr = GetString(osKey)+GetString("Click"); 
context: function EditorInitTableMenu(){  // Change text on the "Join..." item depending if we  //   are joining selected cells or just cell to right  // TODO: What to do about normal selection that crosses  //       table border? Try to figure out all cells  //       included in the selection?  var menuText;  // Use "Join selected cells if there's more than 1 cell selected  var tagNameObj = new Object;  var countObj = new Object;  if (window.editorShell.GetSelectedOrParentTableElement(tagNameObj, countObj) && countObj.value > 1)    menuText = GetString("JoinSelectedCells");  else    menuText = GetString("JoinCellToRight");  document.getElementById("menu_tableJoinCells").setAttribute("value",menuText);  // Set platform-specific hints for how to select cells  if (gIsWin) osKey = "XulKeyWin";  if (gIsMac) osKey = "XulKeyMac";  if (gIsUNIX) osKey = "XulKeyUnix";  var DragStr = GetString(osKey)+GetString("Drag");  var ClickStr = GetString(osKey)+GetString("Click");  var DelStr = GetString(gIsMac ? "Clear" : "Del");  document.getElementById("menu_DeleteCell").setAttribute("acceltext",ClickStr);  document.getElementById("menu_SelectRow").setAttribute("acceltext",DragStr);  document.getElementById("menu_SelectColumn").setAttribute("acceltext",DragStr);  document.getElementById("menu_SelectAllCells").setAttribute("acceltext",DragStr);  // And add "Del" or "Clear"  document.getElementById("menu_DeleteCellContents").setAttribute("acceltext",DelStr);  // Set enable states for all table commands  goUpdateTableMenuItems(document.getElementById("composerTableMenuItems"));}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7ebb2f90650c7a954efb829d382f75b04903c2c3/editor.js/buggy/editor/ui/composer/content/editor.js