fix: sort input files before processing in xgettext.sh to ensure consistent POT generation

This commit is contained in:
Andrey Petelin
2025-10-07 20:12:46 +05:00
parent d6481675e0
commit a8b2001cc1

View File

@@ -12,6 +12,7 @@ if [ ${#FILES[@]} -eq 0 ]; then
exit 1
fi
mapfile -t FILES < <(printf '%s\n' "${FILES[@]}" | sort)
mkdir -p "$(dirname "$OUT_POT")"
echo "Generating POT template from JS files in $SRC_DIR"