diff --git a/chrome/content/zotero/xpcom/intl.js b/chrome/content/zotero/xpcom/intl.js index 4236c994be..783891e4c7 100644 --- a/chrome/content/zotero/xpcom/intl.js +++ b/chrome/content/zotero/xpcom/intl.js @@ -30,6 +30,8 @@ Zotero.Intl = new function () { // Get settings from language pack (extracted by zotero-build/locale/merge_mozilla_files) this.init = function () { + Components.utils.import("resource://gre/modules/PluralForm.jsm"); + bundle = Services.strings.createBundle('chrome://zotero/locale/zotero.properties'); intlProps = Services.strings.createBundle('chrome://zotero/locale/mozilla/intl.properties'); diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 5e42da555e..14c4de739d 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -28,7 +28,6 @@ Components.utils.import("resource://zotero/config.js"); Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); Components.utils.import("resource://gre/modules/Services.jsm"); Components.utils.import("resource://gre/modules/osfile.jsm"); -Components.utils.import("resource://gre/modules/PluralForm.jsm"); Components.classes["@mozilla.org/net/osfileconstantsservice;1"] .getService(Components.interfaces.nsIOSFileConstantsService) .init();