1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix typos and en_US/en_GB inconsistency in various files (#12902)

This commit is contained in:
Abdou-31 2022-11-09 17:57:19 +01:00 committed by GitHub
parent 6191bafcad
commit d1b80b462e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 134 additions and 134 deletions

View file

@ -54,7 +54,7 @@ public:
~LuaAreaStore();
// AreaStore()
// Creates a AreaStore and leaves it on top of stack
// Creates an AreaStore and leaves it on top of stack
static int create_object(lua_State *L);
static void Register(lua_State *L);

View file

@ -884,7 +884,7 @@ int ModApiMainMenu::l_download_file(lua_State *L)
}
} else {
errorstream << "DOWNLOAD denied: " << absolute_destination
<< " isn't a allowed path" << std::endl;
<< " isn't an allowed path" << std::endl;
}
lua_pushboolean(L,false);
return 1;

View file

@ -37,7 +37,7 @@ private:
static std::string getTextData(lua_State *L, std::string name);
/**
* read a integer variable from gamedata table within lua stack
* read an integer variable from gamedata table within lua stack
* @param L stack to read variable from
* @param name name of variable to read
* @return integer value of requested variable

View file

@ -408,7 +408,7 @@ Biome *read_biome_def(lua_State *L, int index, const NodeDefManager *ndef)
size_t nnames = getstringlistfield(L, index, "node_cave_liquid", &nn);
// If no cave liquids defined, set list to "ignore" to trigger old hardcoded
// cave liquid behaviour.
// cave liquid behavior.
if (nnames == 0) {
nn.emplace_back("ignore");
nnames = 1;

View file

@ -1813,7 +1813,7 @@ int ObjectRef::l_set_sky(lua_State *L)
sky_params.type = luaL_checkstring(L, 3);
// Preserve old behaviour of the sun, moon and stars
// Preserve old behavior of the sun, moon and stars
// when using the old set_sky call.
if (sky_params.type == "regular") {
sun_params.visible = true;