Added two sorting flags to make the translation update script generate identical output across different machines

This commit is contained in:
Leon Styhre 2025-03-01 09:35:15 +01:00
parent e769697bac
commit a2fd36a7d2

View file

@ -23,7 +23,7 @@ if [ ! $(which xgettext 2>/dev/null) ]; then
exit
fi
find ../es-app/src/ ../es-core/src -name '*.cpp' -o -name '*.h' | sort | xgettext -f - -o ../locale/es-de.pot -k_ -k_n:1,2 -k_p:1c,2 -k_np:1c,2,3 \
find ../es-app/src/ ../es-core/src -name '*.cpp' -o -name '*.h' | sort -f -d | xgettext -f - -o ../locale/es-de.pot -k_ -k_n:1,2 -k_p:1c,2 -k_np:1c,2,3 \
--no-location --copyright-holder="Northwestern Software AB" --package-name="ES-DE Frontend" --msgid-bugs-address "info@es-de.org"
sed -i "1s/.*/# ES-DE Frontend translation strings./" ../locale/es-de.pot