Don't show "Translating undefined" for non-web translators
This commit is contained in:
parent
646b84c1d0
commit
21c466fcd6
|
@ -201,7 +201,7 @@ Zotero_TranslatorTester.prototype.fetchPageAndRunTest = function(test, testDoneC
|
|||
* @param {Function} testDoneCallback A callback to be executed when test is complete
|
||||
*/
|
||||
Zotero_TranslatorTester.prototype.runTest = function(test, doc, testDoneCallback) {
|
||||
this._debug(this, "TranslatorTester: Translating "+test.url);
|
||||
this._debug(this, "TranslatorTester: Translating"+(test.url ? " "+test.url : ""));
|
||||
|
||||
var me = this;
|
||||
var translate = Zotero.Translate.newInstance(this.type);
|
||||
|
|
Loading…
Reference in New Issue
Block a user