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

This commit is contained in:
Andrey Petelin
2025-10-07 18:12:46 +03:00
parent 76bb22fbf7
commit eaf95af015
+1
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"