Scan for i18n strings in all modules/mod-*, libraries/lib-* folders
This commit is contained in:
parent
cafed8b7f3
commit
91355a2f8c
|
@ -1,7 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Run this script with locale as the current directory
|
||||||
set -o errexit
|
set -o errexit
|
||||||
echo ";; Recreating audacity.pot using .h, .cpp and .mm files"
|
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' |\
|
sed -E 's/\.\.\///g' |\
|
||||||
xargs xgettext \
|
xargs xgettext \
|
||||||
--default-domain=audacity \
|
--default-domain=audacity \
|
||||||
|
|
Loading…
Reference in New Issue