treewide: Fix typos in UI strings
[oweals/luci.git] / modules / luci-base / luasrc / sys.luadoc
index 54be34958a9e56fb005c169b31f3534ae044cd86..3c7f69c6e9ecf40af11ddef78e6c8b59faed025a 100644 (file)
@@ -18,7 +18,7 @@ Execute a given shell command and capture its standard output
 @class         function
 @name          exec
 @param command Command to call
-@return                        String containg the return the output of the command
+@return                        String containing the return the output of the command
 ]]
 
 ---[[
@@ -38,7 +38,7 @@ exists.
 @class         function
 @name          getenv
 @param var     Name of the environment variable to retrieve (optional)
-@return                String containg the value of the specified variable
+@return                String containing the value of the specified variable
 @return                Table containing all variables if no variable name is given
 ]]
 
@@ -150,6 +150,16 @@ Returns a two-dimensional table of IPv6 address hints.
          [ "ip", "name" ]
 ]]
 
+---[[
+Returns a two-dimensional table of host hints.
+
+@class function
+@name net.host_hints
+@return  Table of table containing known hosts from various sources,
+         indexed by mac address. Each subtable contains at least one
+         of the fields "name", "ipv4" or "ipv6".
+]]
+
 ---[[
 Returns conntrack information
 
@@ -269,7 +279,7 @@ LuCI system utilities / user related functions.
 ]]
 
 ---[[
-Retrieve user informations for given uid.
+Retrieve user information for given uid.
 
 @class         function
 @name          getuser
@@ -295,7 +305,7 @@ Test whether given string matches the password of a given system user.
 @name user.checkpasswd
 @param username        String containing the Unix user name
 @param pass            String containing the password to compare
-@return                        Boolean indicating wheather the passwords are equal
+@return                        Boolean indicating whether the passwords are equal
 ]]
 
 ---[[