Scan for i18n strings in all modules/mod-*, libraries/lib-* folders

This commit is contained in:
Paul Licameli 2020-10-07 10:26:42 -04:00
parent cafed8b7f3
commit 91355a2f8c
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
#!/bin/sh
# Run this script with locale as the current directory
set -o errexit
echo ";; Recreating audacity.pot using .h, .cpp and .mm files"
for path in ../modules/mod-script* ../modules/mod-nyq* ../include ../src ; do find $path -name \*.h -o -name \*.cpp -o -name \*.mm ; done | LANG=c sort | \
for path in ../modules/mod-* ../libraries/lib-* ../include ../src ; do
find $path -name \*.h -o -name \*.cpp -o -name \*.mm
done | LANG=c sort | \
sed -E 's/\.\.\///g' |\
xargs xgettext \
--default-domain=audacity \