Import PluralForm.jsm in Zotero.Intl.

PluralForm is not used directly anywhere else.
This commit is contained in:
Sylvester Keil 2018-07-30 10:04:14 +02:00
parent e24f3414b8
commit 2dce5f4842
No known key found for this signature in database
GPG key ID: 878933BCEAB25A10
2 changed files with 2 additions and 1 deletions

View file

@ -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');

View file

@ -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();