Fix wrong localization arg passing
This commit is contained in:
parent
f12ae67c47
commit
182cf67a97
1 changed files with 1 additions and 1 deletions
|
@ -1014,7 +1014,7 @@ Zotero.Integration.Document.prototype._getSession = Zotero.Promise.coroutine(fun
|
||||||
data.prefs.fieldType = "ReferenceMark";
|
data.prefs.fieldType = "ReferenceMark";
|
||||||
}
|
}
|
||||||
|
|
||||||
var warning = this._doc.displayAlert(Zotero.getString("integration.upgradeWarning", Zotero.clientName, '5.0'),
|
var warning = this._doc.displayAlert(Zotero.getString("integration.upgradeWarning", [Zotero.clientName, '5.0']),
|
||||||
DIALOG_ICON_WARNING, DIALOG_BUTTONS_OK_CANCEL);
|
DIALOG_ICON_WARNING, DIALOG_BUTTONS_OK_CANCEL);
|
||||||
if(!warning) {
|
if(!warning) {
|
||||||
return Zotero.Promise.reject(new Zotero.Exception.UserCancelled("document upgrade"));
|
return Zotero.Promise.reject(new Zotero.Exception.UserCancelled("document upgrade"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue