app_lookupblacklist:value("auto", "Load as Required")
app_lookupblacklist.rmempty = true
-app_lookupcidname = module:option(ListValue, "app_lookupcidname", "Look up CallerID Name from local databas", "")
+app_lookupcidname = module:option(ListValue, "app_lookupcidname", "Look up CallerID Name from local database", "")
app_lookupcidname:value("yes", "Load")
app_lookupcidname:value("no", "Do Not Load")
app_lookupcidname:value("auto", "Load as Required")
}
}
} else {
- error_box("<b>Ubus call faild:</b><br />Request: " + request_json + "<br />Response: " + JSON.stringify(response))
+ error_box("<b>Ubus call failed:</b><br />Request: " + request_json + "<br />Response: " + JSON.stringify(response))
}
ubus_closed++;
}
function upgrade_check_callback(request_text) {
var request_json = JSON.parse(request_text)
- // create simple output to tell user whats going to be upgrade (release/packages)
+ // create simple output to tell user what's going to be upgrade (release/packages)
var info_output = ""
if(request_json.version != undefined) {
info_output += "<h3>New firmware release available</h3>"
// Request the image
// Needed values
// version/release
- // board_name or model (server tries to find the corrent profile)
+ // board_name or model (server tries to find the correct profile)
// packages
// The rest is added by server_request()
$("#upgrade_button").disabled = true;
error_box(error_box_content)
} else if (request.status === 501) {
- error_box("No sysupgrade file produced, may not supported by modell.")
+ error_box("No sysupgrade file produced, may not supported by model.")
} else if (request.status === 502) {
// python part offline
local uci = require "luci.model.uci".cursor()
m = Map("freifunk-policyrouting", translate("Policy Routing"), translate("These pages can be used to setup policy routing for certain firewall zones. "..
- "This is useful if you need to use your own internet connection for yourself but you don't want to share it with others (thats why it can also be "..
+ "This is useful if you need to use your own internet connection for yourself but you don't want to share it with others (that's why it can also be "..
"called 'Ego Mode'). Your own traffic is then sent via your internet connection while traffic originating from the mesh will use another gateway in the mesh. "))
m:chain("network")
minimum_size = s:taboption(this_tab, Value, "minimum_size", translate("Drop frames smaller then this limit"),translate("Set the minimum size if the webcam produces small-sized garbage frames. May happen under low light conditions"))
minimum_size.datatype = "uinteger"
-no_dynctrl = s:taboption(this_tab, Flag, "no_dynctrl", translate("Don't initalize dynctrls"), translate("Do not initalize dynctrls of Linux-UVC driver"))
+no_dynctrl = s:taboption(this_tab, Flag, "no_dynctrl", translate("Don't initialize dynctrls"), translate("Do not initialize dynctrls of Linux-UVC driver"))
led = s:taboption(this_tab, ListValue, "led", translate("Led control"))
led:value("on", translate("On"))
--mjpeg=s:taboption(this_tab, Value, "mjpeg", translate("Mjpeg output"), translate("Check to save the stream to an mjpeg file"))
-delay=s:taboption(this_tab, Value, "delay", translate("Interval between saving pictures"), translate("Set the inteval in millisecond"))
+delay=s:taboption(this_tab, Value, "delay", translate("Interval between saving pictures"), translate("Set the interval in millisecond"))
delay.placeholder="5000"
delay.datatype = "uinteger"
local host = val[1]
local mult = val[2]
if not host or not mult then
- return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) seperated by space.")
+ return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) separated by space.")
end
if not (host == "default" or ip.IPv4(host) or ip.IPv6(host)) then
return nil, translate("Can only be a valid IPv4 or IPv6 address or 'default'")
local host = val[1]
local mult = val[2]
if not host or not mult then
- return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) seperated by space.")
+ return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) separated by space.")
end
if not (host == "default" or ip.IPv6(host)) then
return nil, translate("Can only be a valid IPv6 address or 'default'")
local host = val[1]
local mult = val[2]
if not host or not mult then
- return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) seperated by space.")
+ return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) separated by space.")
end
if not (host == "default" or ip.IPv4(host) or ip.IPv6(host)) then
return nil, translate("Can only be a valid IPv4 or IPv6 address or 'default'")
local host = val[1]
local mult = val[2]
if not host or not mult then
- return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) seperated by space.")
+ return nil, translate("LQMult requires two values (IP address or 'default' and multiplicator) separated by space.")
end
if not (host == "default" or ip.IPv6(host)) then
return nil, translate("Can only be a valid IPv6 address or 'default'")
m = Map("shadowsocks-libev",
translate("Remote Servers"),
translate("Definition of remote shadowsocks servers. \
- Disable any of them will also disable instances refering to it."))
+ Disable any of them will also disable instances referring to it."))
local sname = arg[1]
if sname then
module "luci.controller.siitwizard"
function index()
- entry({"admin", "network", "siitwizard"}, form("siitwizard"), "SIIT 4over6 assistent", 99)
+ entry({"admin", "network", "siitwizard"}, form("siitwizard"), "SIIT 4over6 assistant", 99)
end
require("luci.model.uci")
-m = Map("luci_splash", translate("Client-Splash"), translate("Client-Splash is a hotspot authentification system for wireless mesh networks."))
+m = Map("luci_splash", translate("Client-Splash"), translate("Client-Splash is a hotspot authentication system for wireless mesh networks."))
s = m:section(NamedSection, "general", "core", translate("General"))
s.addremove = false
m = Map("luci_statistics",
translate("Disk Plugin Configuration"),
translate(
- "The disk plugin collects detailled usage statistics " ..
+ "The disk plugin collects detailed usage statistics " ..
"for selected partitions or whole disks."
))
m = Map("luci_statistics",
translate("DNS Plugin Configuration"),
translate(
- "The dns plugin collects detailled statistics about dns " ..
+ "The dns plugin collects detailed statistics about dns " ..
"related traffic on selected interfaces."
))
translate(
"Here you can define external commands which will be " ..
"started by collectd when certain threshold values have " ..
- "been reached. The values leading to invokation will be " ..
- "feeded to the the called programs stdin."
+ "been reached. The values leading to invocation will be " ..
+ "fed to the the called programs stdin."
))
notify.addremove = true
notify.anonymous = true
translate("Iptables Plugin Configuration"),
translate(
"The iptables plugin will monitor selected firewall rules and " ..
- "collect informations about processed bytes and packets per rule."
+ "collect information about processed bytes and packets per rule."
))
-- collectd_iptables config section
m = Map("luci_statistics",
translate("Netlink Plugin Configuration"),
translate(
- "The netlink plugin collects extended informations like " ..
+ "The netlink plugin collects extended information like " ..
"qdisc-, class- and filter-statistics for selected interfaces."
))
m = Map("luci_statistics",
translate("Processes Plugin Configuration"),
translate(
- "The processes plugin collects informations like cpu time, " ..
+ "The processes plugin collects information like cpu time, " ..
"page faults and memory usage of selected processes."
))
m = Map("luci_statistics",
translate("TCPConns Plugin Configuration"),
translate(
- "The tcpconns plugin collects informations about open tcp " ..
+ "The tcpconns plugin collects information about open tcp " ..
"connections on selected ports."
))
t = s:option(ListValue, "type", translate("Policy"),
- translate("<em>Via proxy</em> routes requests to the given target via the specifed upstream proxy, <em>Reject access</em> disables any upstream proxy for the target"))
+ translate("<em>Via proxy</em> routes requests to the given target via the specified upstream proxy, <em>Reject access</em> disables any upstream proxy for the target"))
t:value("proxy", translate("Via proxy"))
t:value("reject", translate("Reject access"))
"unbound-control -c /var/lib/unbound/unbound.conf dump_cache")
local lcldesc = luci.i18n.translate(
- "This shows Unbound 'cache_dump'. Usefull to check if unbound is actually caching dns entities.")
+ "This shows Unbound 'cache_dump'. Useful to check if unbound is actually caching dns entities.")
luci.template.render("unbound/show-textbox",
{heading = "", description = lcldesc, content = lcldata})
if fs.access("/usr/bin/iwinfo") then
return value
else
- return nil, translate("Could not find required programm /usr/bin/iwinfo")
+ return nil, translate("Could not find required program /usr/bin/iwinfo")
end
else
return "1"
local stat, err = util.copcall(self.template)
if not stat then
error("Failed to execute template '" .. self.name .. "'.\n" ..
- "A runtime error occured: " .. tostring(err or "(nil)"))
+ "A runtime error occurred: " .. tostring(err or "(nil)"))
end
end