From: Sebastian Moeller Date: Wed, 17 Jun 2015 19:03:33 +0000 (+0200) Subject: [SQM/luci-app-sqm] Fix SQM GUI help messages. X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=df564f39876a8b9684a1f79048a40fc9c0e99e66;p=feed%2Fpackages.git [SQM/luci-app-sqm] Fix SQM GUI help messages. Make clear that configuration options guarded by checkboxes are only effective as long as those boxes are checked. The sqm gui has giarded some advanced configuration options behind exposing checkboxes, meaning these optiopn's values were only used as long as those boxes were checked. This commit just improves the description of the checkboxes to included this useage instruction... Signed-off-by: Sebastian Moeller --- diff --git a/net/luci-app-sqm/Makefile b/net/luci-app-sqm/Makefile index b5ec1add65..494dcc5693 100644 --- a/net/luci-app-sqm/Makefile +++ b/net/luci-app-sqm/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-sqm PKG_VERSION:=3 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_LICENSE:=GPLv2 LUCI_DIR:=/usr/lib/lua/luci diff --git a/net/luci-app-sqm/files/sqm-cbi.lua b/net/luci-app-sqm/files/sqm-cbi.lua index 7633b7a1a7..f3b5802d3d 100644 --- a/net/luci-app-sqm/files/sqm-cbi.lua +++ b/net/luci-app-sqm/files/sqm-cbi.lua @@ -110,7 +110,7 @@ sc.default = "simple.qos" sc.rmempty = false sc.description = qos_desc -ad = s:taboption("tab_qdisc", Flag, "qdisc_advanced", translate("Show and Use Advanced Configuration")) +ad = s:taboption("tab_qdisc", Flag, "qdisc_advanced", translate("Show and Use Advanced Configuration. Advanced options will only be used as long as this box is checked.")) ad.default = false ad.rmempty = true @@ -142,7 +142,7 @@ eecn.default = "NOECN" eecn.rmempty = true eecn:depends("qdisc_advanced", "1") -ad2 = s:taboption("tab_qdisc", Flag, "qdisc_really_really_advanced", translate("Show and Use Dangerous Configuration")) +ad2 = s:taboption("tab_qdisc", Flag, "qdisc_really_really_advanced", translate("Show and Use Dangerous Configuration. Dangerous options will only be used as long as this box is checked.")) ad2.default = false ad2.rmempty = true ad2:depends("qdisc_advanced", "1") @@ -199,7 +199,7 @@ po:depends("linklayer", "ethernet") po:depends("linklayer", "atm") -adll = s:taboption("tab_linklayer", Flag, "linklayer_advanced", translate("Show Advanced Linklayer Options, (only needed if MTU > 1500)")) +adll = s:taboption("tab_linklayer", Flag, "linklayer_advanced", translate("Show Advanced Linklayer Options, (only needed if MTU > 1500). Advanced options will only be used as long as this box is checked.")) adll.rmempty = true adll:depends("linklayer", "ethernet") -- adll:depends("linklayer", "adsl")