From e60a81aa8cab93d695e8b5cf71d9db87d9aad07d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 31 Oct 2009 22:13:22 +0000 Subject: applications/luci-ddns: fix dyndns config page --- applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua b/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua index 23e63dd20..d0faff624 100644 --- a/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua +++ b/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua @@ -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") -- cgit v1.2.3