Update translations, more repeatable sorting
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -64,3 +64,4 @@ workspace/TS100/TS80/
|
||||
ci/artefacts/
|
||||
ci/secrets/unencrypted/
|
||||
codeship.aes
|
||||
.vscode/settings.json
|
||||
|
||||
@@ -192,7 +192,7 @@ def getLetterCounts(defs, lang):
|
||||
symbolCounts[letter] = symbolCounts.get(letter, 0) + 1
|
||||
symbolCounts = sorted(
|
||||
symbolCounts.items(),
|
||||
key=lambda kv: kv[1]) # swap to Big -> little sort order
|
||||
key=lambda kv: (kv[1],kv[0])) # swap to Big -> little sort order
|
||||
symbolCounts = list(map(lambda x: x[0], symbolCounts))
|
||||
symbolCounts.reverse()
|
||||
return symbolCounts
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user