diff --git a/luci/luci-app-qmodem-hc/Makefile b/luci/luci-app-qmodem-hc/Makefile index e91d664..689ff93 100644 --- a/luci/luci-app-qmodem-hc/Makefile +++ b/luci/luci-app-qmodem-hc/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-qmodem-hc LUCI_TITLE:=hc-g80 sim switch LUCI_PKGARCH:=all -PKG_VERSION:=2.4 +PKG_VERSION:=2.4.1 PKG_LICENSE:=GPLv3 PKG_LINCESE_FILES:=LICENSE PKG_MAINTAINER:=Tom diff --git a/luci/luci-app-qmodem-hc/luasrc/model/cbi/qmodem_hc/modem_sim.lua b/luci/luci-app-qmodem-hc/luasrc/model/cbi/qmodem_hc/modem_sim.lua index ab0d660..c9c3bfd 100644 --- a/luci/luci-app-qmodem-hc/luasrc/model/cbi/qmodem_hc/modem_sim.lua +++ b/luci/luci-app-qmodem-hc/luasrc/model/cbi/qmodem_hc/modem_sim.lua @@ -17,7 +17,7 @@ judge_time.default = 5 ping_dest = s:option(DynamicList, "ping_dest", translate("Ping Destination")) -o = s:option(ListValue, "modem_config", translate("WWAN Interface")) +o = s:option(ListValue, "modem_config", translate("Modem Config")) uci:foreach("qmodem", "modem-device", function(s) if s then diff --git a/luci/luci-app-qmodem-hc/po/zh-cn/modem_hc.po b/luci/luci-app-qmodem-hc/po/zh-cn/modem_hc.po index bb184dd..56ca08b 100644 --- a/luci/luci-app-qmodem-hc/po/zh-cn/modem_hc.po +++ b/luci/luci-app-qmodem-hc/po/zh-cn/modem_hc.po @@ -40,3 +40,6 @@ msgstr "模块配置" msgid "SIM Config" msgstr "SIM卡配置" + +msgid "Modem Config" +msgstr "模块配置" diff --git a/luci/luci-app-qmodem-hc/po/zh_Hans/modem_hc.po b/luci/luci-app-qmodem-hc/po/zh_Hans/modem_hc.po index bb184dd..56ca08b 100644 --- a/luci/luci-app-qmodem-hc/po/zh_Hans/modem_hc.po +++ b/luci/luci-app-qmodem-hc/po/zh_Hans/modem_hc.po @@ -40,3 +40,6 @@ msgstr "模块配置" msgid "SIM Config" msgstr "SIM卡配置" + +msgid "Modem Config" +msgstr "模块配置" diff --git a/luci/luci-app-qmodem-mwan/Makefile b/luci/luci-app-qmodem-mwan/Makefile index 9efc1d9..9776db6 100644 --- a/luci/luci-app-qmodem-mwan/Makefile +++ b/luci/luci-app-qmodem-mwan/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-qmodem-mwan LUCI_TITLE:=Luci qwrt modem mwan support LUCI_PKGARCH:=all -PKG_VERSION:=2.4 +PKG_VERSION:=2.4.1 PKG_LICENSE:=GPLv3 PKG_LINCESE_FILES:=LICENSE PKG_MAINTAINER:=Tom 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 ff11a59..65386bc 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 @@ -29,6 +29,8 @@ member_interface.rmempty = true member_interface.datatype = "network" member_interface.template = "cbi/network_netlist" member_interface.widget = "select" +member_interface.description = translate("Priority determines the order of member selection, while weight determines the traffic distribution ratio among members with the same priority.") + o = s:option(DynamicList, 'member_track_ip', translate('Track IP')) o.datatype = 'host' @@ -36,12 +38,15 @@ member_priority = s:option(Value, "member_priority", translate("Priority")) member_priority.rmempty = true member_priority.datatype = "uinteger" member_priority.default = 1 +member_priority.description = translate("Set the priority for the load balancing member. A higher priority value gives precedence to this member when distributing traffic. The range is from 1 to 255. 1 is the highest priority") + -- member_priority:depends("member_interface", "") member_weight = s:option(Value, "member_weight", translate("Weight")) member_weight.rmempty = true member_weight.datatype = "uinteger" member_weight.default = 1 +member_weight.description = translate("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.") -- member_weight:depends("member_interface", "") diff --git a/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po b/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po index 1a2b10b..49c01fd 100644 --- a/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po +++ b/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po @@ -24,7 +24,16 @@ msgid "Weight" msgstr "成员权重" msgid "Mwan Config" -msgstr "mwan配置" +msgstr "Mwan配置" msgid "IPV4 Config" msgstr "IPV4配置" + +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。" + +msgid "Set the priority for the load balancing member. A higher priority value gives precedence to this member when distributing traffic. The range is from 1 to 255. 1 is the highest priority" +msgstr "设置负载均衡成员的优先级。当分发流量时,优先级值越高,该成员越优先。范围是1到255。1是最高优先级。" + +msgid "Priority determines the order of member selection, while weight determines the traffic distribution ratio among members with the same priority." +msgstr "优先级决定成员选择的顺序,而权重决定具有相同优先级的成员之间流量分配比率。" 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 1a2b10b..31dbdff 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 @@ -28,3 +28,12 @@ msgstr "mwan配置" msgid "IPV4 Config" msgstr "IPV4配置" + +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。" + +msgid "Set the priority for the load balancing member. A higher priority value gives precedence to this member when distributing traffic. The range is from 1 to 255. 1 is the highest priority" +msgstr "设置负载均衡成员的优先级。当分发流量时,优先级值越高,该成员越优先。范围是1到255。1是最高优先级。" + +msgid "Priority determines the order of member selection, while weight determines the traffic distribution ratio among members with the same priority." +msgstr "优先级决定成员选择的顺序,而权重决定具有相同优先级的成员之间流量分配比率。"