diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-13 14:13:53 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-13 14:14:26 +0100 |
commit | 1af4a0b82659288773314906c2de20bd3656f876 (patch) | |
tree | 5b68fa023931051bb871d8a0237e44a1f9d496cc /check-translation-ordering.sh | |
parent | d267913e206f5f7bfc16607c0dc058290e6b556f (diff) | |
download | Firmament-1af4a0b82659288773314906c2de20bd3656f876.tar.gz Firmament-1af4a0b82659288773314906c2de20bd3656f876.tar.bz2 Firmament-1af4a0b82659288773314906c2de20bd3656f876.zip |
meta: Add translation ordering pre commit check
Diffstat (limited to 'check-translation-ordering.sh')
-rwxr-xr-x | check-translation-ordering.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/check-translation-ordering.sh b/check-translation-ordering.sh new file mode 100755 index 0000000..ebecb7c --- /dev/null +++ b/check-translation-ordering.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe> +# +# SPDX-License-Identifier: GPL-3.0-or-later + +set -euo pipefail +jq -S --tab < translations/en_us.json | diff translations/en_us.json - |