diff --git a/chrome/content/zotero/xpcom/intl.js b/chrome/content/zotero/xpcom/intl.js index d9751a2254..8fdca3c318 100644 --- a/chrome/content/zotero/xpcom/intl.js +++ b/chrome/content/zotero/xpcom/intl.js @@ -135,7 +135,12 @@ Zotero.Intl = new function () { if (ftlString) { return ftlString; } - else if (this.strings[name]) { + // TEMP: The this.strings check prevents "TypeError: this.strings is undefined" + // from an early Zotero.getString() call, but I'm not sure why. this.strings is + // set using defineLazyGetter, but lazy doesn't mean asynchronous... + // + // https://forums.zotero.org/discussion/117812/issue-with-installing-zotero-7 + else if (this.strings && this.strings[name]) { return this.strings[name]; } else {