mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Always sort translators alphabetically
This commit is contained in:
parent
3510e1dda8
commit
c5a2572c91
1 changed files with 4 additions and 0 deletions
|
|
@ -416,6 +416,10 @@ function haveTranslators(translators, type) {
|
|||
translatorTestViews[type] = [];
|
||||
translatorTestViewsToRun[type] = [];
|
||||
|
||||
translators = translators.sort(function(a, b) {
|
||||
return a.label.localeCompare(b.label);
|
||||
});
|
||||
|
||||
for(var i in translators) {
|
||||
var translatorTestView = new TranslatorTestView();
|
||||
translatorTestView.initWithTranslatorAndType(translators[i], type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue