mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 275629 - incorrect text in extension installation prompt. r=bsmedberg, ui-review=beltzner
This commit is contained in:
parent
57355a4ba2
commit
2fb93b9130
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user