From 98868146ec177154baa0069b99cad0c44a1cbaa0 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 28 Feb 2012 14:56:41 -0500 Subject: [PATCH] Fix code to get collation --- chrome/content/zotero/tools/testTranslators/translatorTester.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 2b5e83294..117d9728f 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -73,7 +73,7 @@ Zotero_TranslatorTesters = new function() { var results = []; if("getLocaleCollation" in Zotero) { - var collation = collationFactory.CreateCollation(localeService.getApplicationLocale()); + var collation = Zotero.getLocaleCollation(); strcmp = function(a, b) { return collation.compareString(1, a, b); };