mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2025-12-13 10:04:29 +05:00
[make] Fix bug on patching dashboard.po
This commit is contained in:
3
xmake.sh
3
xmake.sh
@@ -160,7 +160,8 @@ function build_target {
|
|||||||
echo -e "\nCONFIG_PACKAGE_wpad-openssl=y\n" >> $CFG
|
echo -e "\nCONFIG_PACKAGE_wpad-openssl=y\n" >> $CFG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DASHBRDPO=$XDIR/feeds/luci/modules/luci-mod-dashboard/po/ru/dashboard.po
|
#DASHBRDPO=$XDIR/feeds/luci/modules/luci-mod-dashboard/po/ru/dashboard.po
|
||||||
|
DASHBRDPO=$XDIR/package/feeds/luci/luci-mod-dashboard/po/ru/dashboard.po
|
||||||
if [ -f $DASHBRDPO ]; then
|
if [ -f $DASHBRDPO ]; then
|
||||||
sed -i 's/msgid "Dashboard"/msgid "__dash_board__"/g' $DASHBRDPO
|
sed -i 's/msgid "Dashboard"/msgid "__dash_board__"/g' $DASHBRDPO
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user