luci/build/mkbasepot.sh
Hannu Nyman 90e749c63d build/mkbasepot.sh: Fix i18n after luci-mod-admin-full split
Fix i18n sync scripts by including also the three new modules
luci-mod-{network,status,system} in base.pot.

Note: I did not remove luci.mod-admin-full in case it will ever
get some new contents.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-09-19 21:50:59 +03:00

16 lines
386 B
Bash
Executable file

#!/bin/sh
[ -d ./build ] || {
echo "Please execute as ./build/mkbasepot.sh" >&2
exit 1
}
echo -n "Updating modules/luci-base/po/templates/base.pot ... "
./build/i18n-scan.pl \
modules/luci-base/ modules/luci-mod-admin-full/ \
modules/luci-mod-network modules/luci-mod-status modules/luci-mod-system/ \
protocols/ themes/ \
> modules/luci-base/po/templates/base.pot
echo "done"