Add Zotero.intl namespace
Move `Zotero.getString()` and intl init code to `Zotero.intl` to make it easier to re-use. Link `Zotero.getString()` to `Zotero.intl.getString()`. Do not expose `getStringFromBundle`, `pluralFormGet`, and `pluralFormNumForms` because they are not used.
This commit is contained in:
parent
e8cd4c9338
commit
38166d4e05
3 changed files with 137 additions and 92 deletions
|
@ -33,6 +33,7 @@ const Ci = Components.interfaces;
|
|||
/** XPCOM files to be loaded for all modes **/
|
||||
const xpcomFilesAll = [
|
||||
'zotero',
|
||||
'intl',
|
||||
'prefs',
|
||||
'dataDirectory',
|
||||
'date',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue