Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user