зеркало из https://github.com/mozilla/gecko-dev.git
fixing runtime bustage
This commit is contained in:
Родитель
7019bb2260
Коммит
63451ec4ac
|
@ -259,7 +259,7 @@ function srGetStrBundle(path)
|
|||
}
|
||||
}
|
||||
|
||||
strBundle = strBundleService.CreateBundle(path);
|
||||
strBundle = strBundleService.createBundle(path);
|
||||
if (!strBundle) {
|
||||
dump("\n--** strBundle createInstance failed **--\n");
|
||||
}
|
||||
|
|
|
@ -259,7 +259,7 @@ function srGetStrBundle(path)
|
|||
}
|
||||
}
|
||||
|
||||
strBundle = strBundleService.CreateBundle(path);
|
||||
strBundle = strBundleService.createBundle(path);
|
||||
if (!strBundle) {
|
||||
dump("\n--** strBundle createInstance failed **--\n");
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
try {
|
||||
var stringBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"]
|
||||
.getService(Components.interfaces.nsIStringBundleService);
|
||||
this._bundle = stringBundleService.CreateBundle(this.src, this.appLocale);
|
||||
this._bundle = stringBundleService.createBundle(this.src, this.appLocale);
|
||||
}
|
||||
catch (e) {
|
||||
dump("Failed to get stringbundle:\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче