Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mkbasepot.sh « build - github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d59a151d6a08760d479cc97010c10444c6d45466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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-compat/ modules/luci-lua-runtime/ \
	modules/luci-mod-network modules/luci-mod-status modules/luci-mod-system/ \
	protocols/ themes/ \
> modules/luci-base/po/templates/base.pot

echo "done"