www

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

commit 49a0b02b060b38a739c1ddab2bc41867d2eb4f67
parent c05025f4b18b5fe3cfcff2c357941441f423465b
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date:   Tue, 31 Mar 2015 13:40:43 -0500

Log a list of translators that were found during detect*

Diffstat:
Mchrome/content/zotero/xpcom/translation/translate.js | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js @@ -1505,8 +1505,15 @@ Zotero.Translate.Base.prototype = { * Called when all translators have been collected for detection */ "_detectTranslatorsCollected":function() { - Zotero.debug("Translate: All translator detect calls and RPC calls complete"); + Zotero.debug("Translate: All translator detect calls and RPC calls complete:"); this._foundTranslators.sort(function(a, b) { return a.priority-b.priority }); + if (this._foundTranslators.length) { + this._foundTranslators.forEach(function(t) { + Zotero.debug("\t" + t.label + ": " + t.priority); + }); + } else { + Zotero.debug("\tNo suitable translators found"); + } this._runHandler("translators", this._foundTranslators); },