From 8fb1933bd1bb35d52cd72591c7fad31c9f34f472 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" Date: Thu, 17 Aug 2006 08:03:40 +0000 Subject: [PATCH] make Software Update Failed dialog less confusing Patch by Mike Beltzner. bug=348822 r=mconnor --- .../locales/en-US/chrome/mozapps/update/updates.properties | 2 +- toolkit/mozapps/update/src/nsUpdateService.js.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toolkit/locales/en-US/chrome/mozapps/update/updates.properties b/toolkit/locales/en-US/chrome/mozapps/update/updates.properties index 707f6b0272f..a4991cf60af 100755 --- a/toolkit/locales/en-US/chrome/mozapps/update/updates.properties +++ b/toolkit/locales/en-US/chrome/mozapps/update/updates.properties @@ -88,4 +88,4 @@ patchApplyFailure=The Update could not be installed (Patch Apply Failed) installPending=Install Pending updaterIOErrorTitle=Software Update Failed -updaterIOErrorText=One or more files could not be updated. Please make sure all other applications are closed and that you have permission to modify files, and then restart %S to try again. +updaterIOErrorMsg=The update could not be installed. Please make sure there are no other copies of %S running on your computer, and then restart %S to try again. diff --git a/toolkit/mozapps/update/src/nsUpdateService.js.in b/toolkit/mozapps/update/src/nsUpdateService.js.in index 73f6e251390..95e9faae93e 100644 --- a/toolkit/mozapps/update/src/nsUpdateService.js.in +++ b/toolkit/mozapps/update/src/nsUpdateService.js.in @@ -2642,8 +2642,8 @@ UpdatePrompt.prototype = { getService(Components.interfaces.nsIStringBundleService); var updateBundle = sbs.createBundle(URI_UPDATES_PROPERTIES); var title = updateBundle.GetStringFromName("updaterIOErrorTitle"); - var text = updateBundle.formatStringFromName("updaterIOErrorText", - [gApp.name], 1); + var text = updateBundle.formatStringFromName("updaterIOErrorMsg", + [gApp.name, gApp.name], 2); var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]. getService(Components.interfaces.nsIWindowWatcher);