meta: Add translation ordering pre commit check
This commit is contained in:
7
check-translation-ordering.sh
Executable file
7
check-translation-ordering.sh
Executable file
@@ -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 -
|
||||
Reference in New Issue
Block a user