Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike

Differential Revision: https://phabricator.services.mozilla.com/D34196
This commit is contained in:
Boris Zbarsky
2019-06-11 15:51:51 +00:00
parent 32923f10c5
commit 95de682140
153 changed files with 593 additions and 713 deletions

View File

@@ -528,8 +528,7 @@ var MigrationUtils = Object.freeze({
if (aReplacements === undefined)
return getMigrationBundle().GetStringFromName(aKey);
return getMigrationBundle().formatStringFromName(
aKey, aReplacements, aReplacements.length);
return getMigrationBundle().formatStringFromName(aKey, aReplacements);
},
_getLocalePropertyForBrowser(browserId) {