rem: var updatedVersion = element.getAttribute("availableUpdateVersion"); var statusMsg = getExtensionString("updateAvailableMsg", [updatedVersion]); 
add: var statusMsg = getExtensionString("updateAvailableMsg", [addon.version]); 
context:   onAddonUpdateEnded: function(addon, status) {    if (!document)      return;    var element = document.getElementById(PREFIX_ITEM_URI + addon.id);    element.removeAttribute("loading");    const nsIAUCL = Components.interfaces.nsIAddonUpdateCheckListener;    switch (status) {    case nsIAUCL.STATUS_UPDATE:      var updatedVersion = element.getAttribute("availableUpdateVersion");      var statusMsg = getExtensionString("updateAvailableMsg", [updatedVersion]);      this._updateFound = true;      break;    case nsIAUCL.STATUS_VERSIONINFO:      statusMsg = getExtensionString("updateCompatibilityMsg");      break;    case nsIAUCL.STATUS_FAILURE:      var name = element.getAttribute("name");      statusMsg = getExtensionString("updateErrorMessage", [name]);      break;    case nsIAUCL.STATUS_DISABLED:      name = element.getAttribute("name");      statusMsg = getExtensionString("updateDisabledMessage", [name]);      break;    case nsIAUCL.STATUS_APP_MANAGED:    case nsIAUCL.STATUS_NO_UPDATE:      statusMsg = getExtensionString("updateNoUpdateMsg");      break;    case nsIAUCL.STATUS_NOT_MANAGED:      statusMsg = getExtensionString("updateNotManagedMessage", [getBrandShortName()]);      break;    case nsIAUCL.STATUS_READ_ONLY:      statusMsg = getExtensionString("updateReadOnlyMessage");      break;    default:      statusMsg = getExtensionString("updateNoUpdateMsg");    }    element.setAttribute("updateStatus", statusMsg);    ++this._completedCount;    document.getElementById("progressStatus").value = getExtensionString("finishedUpdateCheck", [addon.name]);    document.getElementById("addonsProgress").value = Math.ceil((this._completedCount / this._totalCount) * 100);  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/8c98152cba55b1050c68ddb0164b62d7e1719558/extensions.js/buggy/toolkit/mozapps/extensions/content/extensions.js