Fix startup error display (broken by c06aa9ed52)

This commit is contained in:
Dan Stillman 2017-09-28 12:31:33 -04:00
parent dbdbc9d64f
commit 36e7a76f27

View File

@ -4076,6 +4076,8 @@ var ZoteroPane = new function()
}
if (!errMsg) {
// Get the stringbundle manually
var src = 'chrome://zotero/locale/zotero.properties';
var stringBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"]
.getService(Components.interfaces.nsIStringBundleService);
var stringBundle = stringBundleService.createBundle(src);