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…
Reference in a new issue