mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-08 11:27:28 +08:00
16 lines
309 B
Bash
16 lines
309 B
Bash
|
#!/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/ \
|
||
|
protocols/ themes/ \
|
||
|
> modules/luci-base/po/templates/base.pot
|
||
|
|
||
|
echo "done"
|