From 7dbf3644ac40f8c70b0bd38f11aacaaf4b7dbb85 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 26 Mar 2016 10:19:25 +0100 Subject: applications/luci-app-ddns: Fix typos (found by codespell) Signed-off-by: Stefan Weil --- applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua | 6 +++--- applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua | 4 ++-- applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'applications/luci-app-ddns/luasrc/model/cbi/ddns') 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.") .. "
- " .. - translate("You should install GNU Wget with SSL (prefered) or cURL package.") .. + translate("You should install GNU Wget with SSL (preferred) or cURL package.") .. "
- " .. 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 .. "
- " .. - 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 .. "
- " .. 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" -- cgit v1.2.3