From cc1fdb18c62880f5c12bf6ff2fdb8f2c5f2dbdfc Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Sun, 5 Nov 2006 00:19:17 +0000 Subject: [PATCH] fix for bug #357143 code cleanup, suggested by dveditz. thanks to Ryan Jones for the patch. r=sspitzer git-svn-id: svn://10.0.0.236/trunk@214732 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/mozapps/update/content/updates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/toolkit/mozapps/update/content/updates.js b/mozilla/toolkit/mozapps/update/content/updates.js index 83bf346f0c2..9808f768eda 100755 --- a/mozilla/toolkit/mozapps/update/content/updates.js +++ b/mozilla/toolkit/mozapps/update/content/updates.js @@ -667,7 +667,7 @@ var gUpdatesAvailablePage = { if (severity == "major") { // for major updates, use the brandName and the version for the intro intro = gUpdates.strings.getFormattedString( - "introType_" + severity + "_app_and_version", + "introType_major_app_and_version", [gUpdates.brandName, gUpdates.update.version]); this._updateMoreInfoContent = @@ -684,7 +684,7 @@ var gUpdatesAvailablePage = { // for minor updates, do not include the version // just use the brandName for the intro intro = gUpdates.strings.getFormattedString( - "introType_" + severity + "_app", [gUpdates.brandName]); + "introType_minor_app", [gUpdates.brandName]); var updateMoreInfoURL = document.getElementById("updateMoreInfoURL"); updateMoreInfoURL.href = gUpdates.update.detailsURL;