diff options
Diffstat (limited to 'ext/js')
-rw-r--r-- | ext/js/language/translator.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/language/translator.js b/ext/js/language/translator.js index ddbd01e6..b18e9dd0 100644 --- a/ext/js/language/translator.js +++ b/ext/js/language/translator.js @@ -1402,6 +1402,10 @@ class Translator { if (i !== 0) { return i; } } + // Sort by definition count + i = v2.definitions.length - v1.definitions.length; + if (i !== 0) { return i; } + // Sort by dictionary order i = v1.dictionaryIndex - v2.dictionaryIndex; return i; |