forked from MapComplete/MapComplete
Sort translation output files for easier merges
This commit is contained in:
parent
2717ad55b8
commit
5d81e7d792
49 changed files with 7143 additions and 7117 deletions
|
@ -91,8 +91,9 @@ class TranslationPart {
|
|||
|
||||
toJson(neededLanguage?: string): string {
|
||||
const parts = []
|
||||
|
||||
for (let key of Array.from(this.contents.keys())) {
|
||||
let keys = Array.from(this.contents.keys())
|
||||
keys = keys.sort()
|
||||
for (let key of keys) {
|
||||
let value = this.contents.get(key);
|
||||
|
||||
if (typeof value === "string") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue