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

git-svn-id: svn://10.0.0.236/trunk@200526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rob_strong%exchangecode.com 2006-06-21 19:07:44 +00:00
parent a65e94d6ba
commit 503467dd25
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);