From 400fb27b1b516eee41a6f57c58f87f32e8c87f78 Mon Sep 17 00:00:00 2001 From: fujr Date: Thu, 24 Oct 2024 14:59:57 +0800 Subject: [PATCH] Update qmodem_mwan.sh to add keep_failure_interval for interface --- .../luasrc/model/cbi/qmodem/mwan_config.lua | 2 +- luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua b/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua index 65386bc..4f28d96 100644 --- a/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua +++ b/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua @@ -8,7 +8,7 @@ local script_path="/usr/share/qmodem/" m = Map("qmodem_mwan") m.title = translate("Mwan Config") m.description = translate("Check and modify the mwan configuration") -s = m:section(NamedSection, "global", "global", translate("gloal Config")) +s = m:section(NamedSection, "global", "global") s.anonymous = true s.addremove = false enable_mwan = s:option(Flag, "enable_mwan", translate("Enable MWAN")) diff --git a/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po b/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po index 31dbdff..82f7024 100644 --- a/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po +++ b/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po @@ -11,8 +11,8 @@ msgstr "粘性模式" msgid "sticky timeout" msgstr "粘性超时" -msgid "track_ip" -msgstr "成员跟踪IP" +msgid "Track IP" +msgstr "跟踪IP" msgid "Interface" msgstr "成员接口" @@ -29,6 +29,9 @@ msgstr "mwan配置" msgid "IPV4 Config" msgstr "IPV4配置" +msgid "Enable MWAN" +msgstr "启用MWAN" + msgid "Set the weight for the load balancing member. A higher weight means more traffic will be assigned to this member. The default value is 1, with a range from 1 to 255." msgstr "设置负载均衡成员的权重。权重越高,该成员被分配到的流量越多。默认值为1,范围为1到255。"