Zotero.intl -> Zotero.Intl

Use upper-case namespace for consitency.
This commit is contained in:
Sylvester Keil 2018-07-30 10:00:53 +02:00
parent 38166d4e05
commit e24f3414b8
No known key found for this signature in database
GPG key ID: 878933BCEAB25A10
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@
***** END LICENSE BLOCK *****
*/
Zotero.intl = new function () {
Zotero.Intl = new function () {
let bundle;
let intlProps;
let pluralFormGet;

View file

@ -225,7 +225,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
// Browser
Zotero.browser = "g";
Zotero.intl.init();
Zotero.Intl.init();
Zotero.Prefs.init();
Zotero.Debug.init(options && options.forceDebugLog);
@ -1361,7 +1361,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
* separated by semicolons
*/
this.getString = function (name, params, num) {
return Zotero.intl.getString(...arguments);
return Zotero.Intl.getString(...arguments);
}
/**