1
0
forked from me/IronOS

Update translations, more repeatable sorting

This commit is contained in:
Ben V. Brown
2019-12-23 19:21:53 +11:00
parent aee37d4c5d
commit 47fb6d2cc1
3 changed files with 4706 additions and 4705 deletions

1
.gitignore vendored
View File

@@ -64,3 +64,4 @@ workspace/TS100/TS80/
ci/artefacts/
ci/secrets/unencrypted/
codeship.aes
.vscode/settings.json

View File

@@ -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