mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2025-12-19 13:06:36 +05:00
Use EN language in LUCI by default
This commit is contained in:
5
xmake.sh
5
xmake.sh
@@ -158,6 +158,11 @@ function build_target {
|
|||||||
sed -i 's/msgid "Dashboard"/msgid "__dash_board__"/g' $DASHBRDPO
|
sed -i 's/msgid "Dashboard"/msgid "__dash_board__"/g' $DASHBRDPO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
LUCI_CFG=$XDIR/package/feeds/luci/luci-base/root/etc/config/luci
|
||||||
|
if [ -f $LUCI_CFG ]; then
|
||||||
|
sed -i 's/option lang auto/option lang en/g' $LUCI_CFG
|
||||||
|
fi
|
||||||
|
|
||||||
OPKG_DIR=$XDIR/files/etc/opkg
|
OPKG_DIR=$XDIR/files/etc/opkg
|
||||||
if [ -d $OPKG_DIR ]; then
|
if [ -d $OPKG_DIR ]; then
|
||||||
rm -rf $OPKG_DIR
|
rm -rf $OPKG_DIR
|
||||||
|
|||||||
Reference in New Issue
Block a user