luci/build/i18n-sync.sh
Hannu Nyman 36b1c60efc luci-app-statistics: remove old deprecated rrdtool po files
Remove old rrdtool.po* files that have been deprecated already
in 2011-2015.

Also remove reference to them from i18n-sync.pl

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-11 18:10:46 +02:00

18 lines
332 B
Bash
Executable file

#!/bin/sh
[ -d ./build ] || {
echo "Execute as ./build/i18n-sync.sh" >&2
exit 1
}
./build/mkbasepot.sh
find . -name '*.pot' -and -not -name base.pot | \
while read path; do
dir="${path%/po/templates/*}"
echo -n "Updating ${path#./} ... "
./build/i18n-scan.pl "$dir" > "$path"
echo "done"
done
./build/i18n-update.pl