diff options
author | pauloue <oue.paul18@gmail.com> | 2018-02-18 04:41:22 -0500 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2018-02-18 10:41:22 +0100 |
commit | 63bcd3303622d52770fc54a4cbff07206f77d8cf (patch) | |
tree | 25bac6cfea21965ced4dd8c280e52f5b6928de35 | |
parent | 3f2e0c1206ed3d4dfe8a58048170a4ce3309b059 (diff) | |
download | minetest-63bcd3303622d52770fc54a4cbff07206f77d8cf.tar.gz minetest-63bcd3303622d52770fc54a4cbff07206f77d8cf.tar.bz2 minetest-63bcd3303622d52770fc54a4cbff07206f77d8cf.zip |
Lua API documentation: Fix spelling (#7046)
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 522740d77..eb3060825 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2326,7 +2326,7 @@ Helper functions * `sep_is_pattern`: boolean, it specifies whether separator is a plain string or a pattern (regex), default: `false` * e.g. `"a,b":split","` returns `{"a","b"}` -* `string:trim()`: returns the string whithout whitespace pre- and suffixes +* `string:trim()`: returns the string without whitespace pre- and suffixes * e.g. `"\n \t\tfoo bar\t ":trim()` returns `"foo bar"` * `minetest.wrap_text(str, limit, as_table)`: returns a string or table * Adds newlines to the string to keep it within the specified character @@ -3407,7 +3407,7 @@ These functions return the leftover itemstack. * `minetest.decode_base64(string)`: returns string * Decodes a string encoded in base64. * `minetest.is_protected(pos, name)`: returns boolean - * Returns true, if player `name` shouldn't be abled to dig at `pos` or do other + * Returns true, if player `name` shouldn't be able to dig at `pos` or do other actions, definable by mods, due to some mod-defined ownership-like concept. Returns false or nil, if the player is allowed to do such actions. * `name` will be "" for non-players or unknown players. |