1
0

mkbasepot.sh 386 B

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