Quick fix for Localized string not available for general.warning
https://forums.zotero.org/discussion/117812/issue-with-installing-zotero-7
With Zotero data directory in cloud storage folder
Regression from af3602124
This commit is contained in:
parent
8e6c801127
commit
fe3fdac88e
1 changed files with 6 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue