summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua')
-rw-r--r--applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
index 40af624b9..b1941e15f 100644
--- a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -230,7 +230,11 @@ s.anonymous = true
for _, option in ipairs(params) do
- local o = s:option(option[1], option[2])
+ local o = s:option(
+ option[1], option[2],
+ translate("openvpn_param_%s" % option[2]),
+ translate("openvpn_param_%s_desc" % option[2])
+ )
if option[1] == DummyValue then
o.value = option[3]