Fix locale sort not to use sponge

This commit is contained in:
Jamie Curnow
2026-01-13 22:15:43 +10:00
parent b3a901bbc5
commit 9c25410331
5 changed files with 344 additions and 29 deletions

View File

@@ -31,6 +31,6 @@ for file in *.json; do
fi
echo "Sorting $file"
jq --tab --sort-keys . "$file" | sponge "$file"
tmp=$(mktemp) && jq --tab --sort-keys . "$file" > "$tmp" && mv "$tmp" "$file"
fi
done

0
frontend/src/locale/src/lang-list.json Executable file → Normal file
View File

View File

@@ -656,4 +656,4 @@
"users": {
"defaultMessage": "Gebruikers"
}
}
}

0
frontend/src/locale/src/zh.json Executable file → Normal file
View File