mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 11:36:50 +03:00
fix: sort input files before processing in xgettext.sh to ensure consistent POT generation
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user