mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-12-02 19:05:38 +00:00
Updated update_translation_strings.sh to sort the input source files so the .po files get consistently sorted as well
This commit is contained in:
parent
fbf40c177b
commit
d8e52a616c
|
@ -23,8 +23,8 @@ if [ ! $(which xgettext 2>/dev/null) ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
find ../es-app/src/ ../es-core/src -name '*.cpp' -o -name '*.h' | xgettext -f - -o ../locale/es-de.pot -k_ -k_n:1,2 -k_p:1c,2 -k_np:1c,2,3 --no-location \
|
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 \
|
||||||
--copyright-holder="Northwestern Software AB" --package-name="ES-DE Frontend" --msgid-bugs-address "info@es-de.org"
|
--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
|
sed -i "1s/.*/# ES-DE Frontend translation strings./" ../locale/es-de.pot
|
||||||
sed -i "2s/.*/# Copyright (c) 2024 Northwestern Software AB/" ../locale/es-de.pot
|
sed -i "2s/.*/# Copyright (c) 2024 Northwestern Software AB/" ../locale/es-de.pot
|
||||||
|
|
Loading…
Reference in a new issue