Fix code to get collation
This commit is contained in:
parent
c245cbc867
commit
98868146ec
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue