diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 117d9728f2..c987bc1206 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -79,7 +79,7 @@ Zotero_TranslatorTesters = new function() { }; } else { strcmp = function (a, b) { - return a.localeCompare(b); + return a.toLowerCase().localeCompare(b.toLowerCase()); }; } @@ -213,12 +213,35 @@ Zotero_TranslatorTester._sanitizeItem = function(item, forSave) { item = JSON.parse(JSON.stringify(item)); } catch(e) {}; - // remove fields to be ignored - const IGNORE_FIELDS = ["complete", "accessDate", "checkFields"]; - for(var j=0, n=IGNORE_FIELDS.length; j