summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-26 10:19:25 +0100
committerStefan Weil <sw@weilnetz.de>2016-03-29 09:12:27 +0200
commit7dbf3644ac40f8c70b0bd38f11aacaaf4b7dbb85 (patch)
tree109a9836f9f0da91ff5d3fada4f690b2aaa9c918 /applications/luci-app-ddns/luasrc
parent4dd05b7ee0462fc7078172fb99d035dc3e1038b0 (diff)
applications/luci-app-ddns: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'applications/luci-app-ddns/luasrc')
-rw-r--r--applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua6
-rw-r--r--applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua4
-rw-r--r--applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua2
3 files changed, 6 insertions, 6 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 c924e845c2..e38a6060a0 100644
--- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua
+++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua
@@ -335,7 +335,7 @@ function svc4.validate(self, value)
if usev6:formvalue(section) ~= "1" then -- do only on IPv4
return value
else
- return "" -- supress validate error
+ return "" -- suppress validate error
end
end
function svc4.write(self, section, value)
@@ -376,7 +376,7 @@ function svc6.validate(self, value)
if DDNS.has_ipv6 then return value end
return nil, err_tab_basic(self) .. err_ipv6_plain
else
- return "" -- supress validate error
+ return "" -- suppress validate error
end
end
function svc6.write(self, section, value)
@@ -626,7 +626,7 @@ if DDNS.has_ssl then
cert.forcewrite = true
function cert.validate(self, value)
if https:formvalue(section) ~= "1" then
- return "" -- supress validate error if NOT https
+ return "" -- suppress validate error if NOT https
end
if value then -- otherwise errors in datatype check
if DTYP.directory(value)
diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua
index 3f5997463c..32ad3c3485 100644
--- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua
+++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua
@@ -68,7 +68,7 @@ if not DDNS.has_ssl then
translate("HTTPS not supported") .. bold_off
sl.value = translate("Neither GNU Wget with SSL nor cURL installed to support updates via HTTPS protocol.") ..
"<br />- " ..
- translate("You should install GNU Wget with SSL (prefered) or cURL package.") ..
+ translate("You should install GNU Wget with SSL (preferred) or cURL package.") ..
"<br />- " ..
translate("In some versions cURL/libcurl in OpenWrt is compiled without proxy support.")
end
@@ -114,7 +114,7 @@ if not DDNS.has_forceip then
"the IP version to use for communication with DDNS Provider!")
if not (DDNS.has_wgetssl or DDNS.has_curl or DDNS.has_fetch) then
value = value .. "<br />- " ..
- translate("You should install GNU Wget with SSL (prefered) or cURL or uclient-fetch package.")
+ translate("You should install GNU Wget with SSL (preferred) or cURL or uclient-fetch package.")
end
if not (DDNS.has_bindhost or DDNS.has_hostip) then
value = value .. "<br />- " ..
diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua
index e6da7cc188..9a989bae41 100644
--- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua
+++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua
@@ -41,7 +41,7 @@ m.on_after_commit = function(self)
end
end
--- SimpleSection definiton -- ##################################################
+-- SimpleSection definition -- ##################################################
-- with all the JavaScripts we need for "a good Show"
a = m:section( SimpleSection )
a.template = "ddns/overview_status"