From 3d62ce95747a2bb341759237f3b9428e2a6720ee Mon Sep 17 00:00:00 2001 From: remittor Date: Tue, 6 Aug 2024 16:04:20 +0300 Subject: [PATCH] Use EN language in LUCI by default --- xmake.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmake.sh b/xmake.sh index 307cd6f..490468a 100755 --- a/xmake.sh +++ b/xmake.sh @@ -157,6 +157,11 @@ function build_target { if [ -f $DASHBRDPO ]; then sed -i 's/msgid "Dashboard"/msgid "__dash_board__"/g' $DASHBRDPO 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 if [ -d $OPKG_DIR ]; then