Bug 275629 - incorrect text in extension installation prompt. r=bsmedberg, ui-review=beltzner

This commit is contained in:
rob_strong%exchangecode.com 2006-06-21 19:07:44 +00:00
parent 57355a4ba2
commit 2fb93b9130
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Unsigned=Unsigned
itemWarningIntroMultiple=A web site is requesting permission to install the following %S items:
itemWarningIntroSingle=A web site is requesting permission to install the following item:
itemWarnIntroMultiple=You have asked to install the following %S items:
itemWarnIntroSingle=You have asked to install the following item:
installButtonDisabledLabel=Install (%S)
installButtonLabel=Install Now

View File

@ -81,9 +81,9 @@ XPInstallConfirm.init = function ()
installItem.signed = cert ? "true" : "false";
}
var introString = bundle.getString("itemWarningIntroSingle");
var introString = bundle.getString("itemWarnIntroSingle");
if (numItemsToInstall > 4)
introString = bundle.getFormattedString("itemWarningIntroMultiple", [numItemsToInstall / 4]);
introString = bundle.getFormattedString("itemWarnIntroMultiple", [numItemsToInstall / 4]);
if (this._param.objects && this._param.objects.length)
introString = this._param.objects.queryElementAt(0, Components.interfaces.nsISupportsString).data;
var textNode = document.createTextNode(introString);