4 echo "Execute as ./build/i18n-sync.sh" >&2
8 [ -n "$1" ] || .
/build
/mkbasepot.sh
10 find "${1:-.}" -name '*.pot' -and -not -name base.pot | \
12 dir
="${path%/po/templates/*}"
13 echo -n "Updating ${path#./} ... "
14 .
/build
/i18n-scan.pl
"$dir" > "$path"
19 find "$1" -path '*/templates/*.pot' -printf '%h ' | \
20 xargs -r -n 1 dirname | \
21 xargs -r -n 1 .
/build
/i18n-update.pl
23 .
/build
/i18n-update.pl