From 862419c76f7f5c7525d9ac3238a6f807de1181a1 Mon Sep 17 00:00:00 2001 From: Abdou-31 Date: Sun, 16 Oct 2022 10:55:54 +0100 Subject: [PATCH] Fix en_US/en_GB inconsistency in lua_api.txt --- doc/lua_api.txt | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ab202807d..4e3d1230c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1323,7 +1323,7 @@ A nodebox is defined as any of: wall_side = box } { - -- A node that has optional boxes depending on neighbouring nodes' + -- A node that has optional boxes depending on neighboring nodes' -- presence and type. See also `connects_to`. type = "connected", fixed = box OR {box1, box2, ...} @@ -1334,7 +1334,7 @@ A nodebox is defined as any of: connect_back = box OR {box1, box2, ...} connect_right = box OR {box1, box2, ...} -- The following `disconnected_*` boxes are the opposites of the - -- `connect_*` ones above, i.e. when a node has no suitable neighbour + -- `connect_*` ones above, i.e. when a node has no suitable neighbor -- on the respective side, the corresponding disconnected box is drawn. disconnected_top = box OR {box1, box2, ...} disconnected_bottom = box OR {box1, box2, ...} @@ -1342,9 +1342,9 @@ A nodebox is defined as any of: disconnected_left = box OR {box1, box2, ...} disconnected_back = box OR {box1, box2, ...} disconnected_right = box OR {box1, box2, ...} - disconnected = box OR {box1, box2, ...} -- when there is *no* neighbour + disconnected = box OR {box1, box2, ...} -- when there is *no* neighbor disconnected_sides = box OR {box1, box2, ...} -- when there are *no* - -- neighbours to the sides + -- neighbors to the sides } A `box` is defined as: @@ -1379,7 +1379,7 @@ clients and handled by many parts of the engine. A 'mapchunk' (sometimes abbreviated to 'chunk') is usually 5x5x5 mapblocks (80x80x80 nodes) and is the volume of world generated in one operation by the map generator. -The size in mapblocks has been chosen to optimise map generation. +The size in mapblocks has been chosen to optimize map generation. Coordinates ----------- @@ -2096,7 +2096,7 @@ Example definition of the capabilities of an item }, } -This makes the item capable of digging nodes that fulfil both of these: +This makes the item capable of digging nodes that fulfill both of these: * Have the `crumbly` group * Have a `level` group less or equal to `2` @@ -2621,7 +2621,7 @@ Elements * When enter is pressed in field, fields.key_enter_field will be sent with the name of this field. * With the old coordinate system, fields are a set height, but will be vertically - centred on `H`. With the new coordinate system, `H` will modify the height. + centered on `H`. With the new coordinate system, `H` will modify the height. * `name` is the name of the field as returned in fields to `on_receive_fields` * `label`, if not blank, will be text printed on the top left above the field * See `field_close_on_enter` to stop enter closing the formspec @@ -2632,7 +2632,7 @@ Elements * When enter is pressed in field, `fields.key_enter_field` will be sent with the name of this field. * With the old coordinate system, fields are a set height, but will be vertically - centred on `H`. With the new coordinate system, `H` will modify the height. + centered on `H`. With the new coordinate system, `H` will modify the height. * `name` is the name of the field as returned in fields to `on_receive_fields` * `label`, if not blank, will be text printed on the top left above the field * `default` is the default value of the field @@ -2695,7 +2695,7 @@ Elements * Clickable button. When clicked, fields will be sent. * With the old coordinate system, buttons are a set height, but will be vertically - centred on `H`. With the new coordinate system, `H` will modify the height. + centered on `H`. With the new coordinate system, `H` will modify the height. * `label` is the text on the button ### `image_button[,;,;;;