www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 182cf67a97756481477d9faa433310b986072a0a
parent f12ae67c47d7a8e407f8ad8b7371ee8a657cf83c
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date:   Mon, 15 May 2017 18:26:41 +0300

Fix wrong localization arg passing

Diffstat:
Mchrome/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 @@ -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"));