Import PluralForm.jsm in Zotero.Intl.
PluralForm is not used directly anywhere else.
This commit is contained in:
parent
e24f3414b8
commit
2dce5f4842
2 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue