From e24f3414b8d24e514d3bdcf69e88c577b7c0f050 Mon Sep 17 00:00:00 2001 From: Sylvester Keil Date: Mon, 30 Jul 2018 10:00:53 +0200 Subject: [PATCH] Zotero.intl -> Zotero.Intl Use upper-case namespace for consitency. --- chrome/content/zotero/xpcom/intl.js | 2 +- chrome/content/zotero/xpcom/zotero.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/intl.js b/chrome/content/zotero/xpcom/intl.js index 16e750558a..4236c994be 100644 --- a/chrome/content/zotero/xpcom/intl.js +++ b/chrome/content/zotero/xpcom/intl.js @@ -22,7 +22,7 @@ ***** END LICENSE BLOCK ***** */ -Zotero.intl = new function () { +Zotero.Intl = new function () { let bundle; let intlProps; let pluralFormGet; diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index d608da844d..5e42da555e 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -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); } /**