applications/luci-ddns: fix dyndns config page
This commit is contained in:
parent
58749afc72
commit
e60a81aa8c
1 changed files with 6 additions and 6 deletions
|
@ -35,7 +35,7 @@ pw = s:option(Value, "password", translate("Password"))
|
|||
pw.rmempty = true
|
||||
pw.password = true
|
||||
|
||||
src = s:option(ListValue, "ip_source")
|
||||
src = s:option(ListValue, "ip_source", translate("Source of IP-Address"))
|
||||
src:value("network", translate("Network"))
|
||||
src:value("interface", translate("Interface"))
|
||||
src:value("web", "URL")
|
||||
|
@ -56,16 +56,16 @@ web = s:option(Value, "ip_url", "URL")
|
|||
web:depends("ip_source", "web")
|
||||
web.rmempty = true
|
||||
|
||||
s:option(Value, "update_url").optional = true
|
||||
s:option(Value, "update_url", translate("Custom Update-URL")).optional = true
|
||||
|
||||
s:option(Value, "check_interval").default = 10
|
||||
unit = s:option(ListValue, "check_unit")
|
||||
s:option(Value, "check_interval", translate("Check for changed IP every")).default = 10
|
||||
unit = s:option(ListValue, "check_unit", translate("Check-Time unit"))
|
||||
unit.default = "minutes"
|
||||
unit:value("minutes", "min")
|
||||
unit:value("hours", "h")
|
||||
|
||||
s:option(Value, "force_interval").default = 72
|
||||
unit = s:option(ListValue, "force_unit")
|
||||
s:option(Value, "force_interval", translate("Force update every")).default = 72
|
||||
unit = s:option(ListValue, "force_unit", translate("Force-Time unit"))
|
||||
unit.default = "hours"
|
||||
unit:value("minutes", "min")
|
||||
unit:value("hours", "h")
|
||||
|
|
Loading…
Reference in a new issue