From 182cf67a97756481477d9faa433310b986072a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Mon, 15 May 2017 18:26:41 +0300 Subject: [PATCH] Fix wrong localization arg passing --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 18d96bbcb..82fdc6ef1 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1014,7 +1014,7 @@ Zotero.Integration.Document.prototype._getSession = Zotero.Promise.coroutine(fun 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); if(!warning) { return Zotero.Promise.reject(new Zotero.Exception.UserCancelled("document upgrade"));