diff options
author | Christian Schoenebeck <christian.schoenebeck@gmail.com> | 2015-05-14 09:02:40 +0200 |
---|---|---|
committer | Christian Schoenebeck <christian.schoenebeck@gmail.com> | 2015-05-14 09:02:40 +0200 |
commit | 754ca290e578b5a60f5d9c2b2f4abf50d68f362a (patch) | |
tree | c6611e9f7bfe330e089df8967b5d8459bafb9112 /applications/luci-app-ddns/luasrc/model/cbi/ddns | |
parent | 4cabf997e5bc68dd2604ae8cfc3149ca5d212296 (diff) | |
parent | d3b6c375ced552773ec08b8a501b7166b749f14b (diff) |
Merge pull request #382 from chris5560/master
luci-app-ddns: reflect changes on ddns-scripts
Diffstat (limited to 'applications/luci-app-ddns/luasrc/model/cbi/ddns')
-rw-r--r-- | applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua index 40a66ef152..27f9a9f264 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua @@ -1156,11 +1156,13 @@ function fu.write(self, section, value) end -- retry_count (NEW) -- ######################################################## -rc = ns:taboption("timer", Value, "retry_count", - translate("Error Retry Counter"), - translate("On Error the script will stop execution after given number of retrys") ) -rc.default = 5 -rc.rmempty = false -- validate ourselves for translatable error messages +rc = ns:taboption("timer", Value, "retry_count") +rc.title = translate("Error Retry Counter") +rc.description = translate("On Error the script will stop execution after given number of retrys") + .. "<br />" + .. translate("The default setting of '0' will retry infinite.") +rc.default = 0 +rc.rmempty = false -- validate ourselves for translatable error messages function rc.validate(self, value) if not DTYP.uinteger(value) then return nil, err_tab_timer(self) .. translate("minimum value '0'") |