diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-10 11:48:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-10 11:48:04 +0000 |
commit | 6bfef156f2cdcb4e01176ffbac7998625414a8e5 (patch) | |
tree | 5620069fbbcb8b9b45a57d51d33be79e24a67483 /applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua | |
parent | bfb5a53c45453fd59d5ee3eb7d370a27d6ee9147 (diff) |
* luci/app/openvpn: add translations, various improvements
Diffstat (limited to 'applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua')
-rw-r--r-- | applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 6 |
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] |