]> git.lizzy.rs Git - minetest.git/commitdiff
Fix some misspellings (#8104)
authorPaul Ouellette <oue.paul18@gmail.com>
Wed, 16 Jan 2019 12:39:13 +0000 (07:39 -0500)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Wed, 16 Jan 2019 12:39:13 +0000 (13:39 +0100)
builtin/fstk/ui.lua
builtin/mainmenu/dlg_config_world.lua
src/debug.cpp
src/serverenvironment.cpp

index 3ac0386ca44d577bebdbb7690ddb826526b6ea46..a3e3a092a3d74b6ccad458f2c6afc1d5f431da02 100644 (file)
@@ -92,9 +92,9 @@ function ui.update()
                formspec = wordwrap_quickhack(gamedata.errormessage)
                local error_title
                if string.find(gamedata.errormessage, "ModError") then
-                       error_title = fgettext("An error occured in a Lua script, such as a mod:")
+                       error_title = fgettext("An error occurred in a Lua script, such as a mod:")
                else
-                       error_title = fgettext("An error occured:")
+                       error_title = fgettext("An error occurred:")
                end
                formspec = "size[12,5]" ..
                                "label[0.5,0;" .. error_title ..
index 3e766aa78798ac77e54860ec0990177defac6991..daa8099c405ed45902beac00b281eae9676c9727 100644 (file)
@@ -142,7 +142,7 @@ local function handle_buttons(this, fields)
                                elseif mod.enabled then
                                        gamedata.errormessage = fgettext_ne("Failed to enable mo" ..
                                                        "d \"$1\" as it contains disallowed characters. " ..
-                                                       "Only chararacters [a-z0-9_] are allowed.",
+                                                       "Only characters [a-z0-9_] are allowed.",
                                                        mod.name)
                                end
                                mods["load_mod_" .. mod.name] = nil
index 1a467265c551570e4a42a69bad764c990e386977..3c82ed9e1c23ec62e51fb5bc3e91d0c7608efa23 100644 (file)
@@ -69,7 +69,7 @@ void fatal_error_fn(const char *msg, const char *file,
        errorstream << std::endl << "In thread " << std::hex
                << std::this_thread::get_id() << ":" << std::endl;
        errorstream << file << ":" << line << ": " << function
-               << ": A fatal error occured: " << msg << std::endl;
+               << ": A fatal error occurred: " << msg << std::endl;
 
        abort();
 }
index 4e75a7c803f64a50c2b07c2a4e8ac8abd2aafabd..076a1e28f7ad0a7a2ff277156b79ddfc3aebc405 100644 (file)
@@ -2149,7 +2149,7 @@ bool ServerEnvironment::migratePlayersDatabase(const GameParams &game_params,
                delete dstdb;
 
        } catch (BaseException &e) {
-               errorstream << "An error occured during migration: " << e.what() << std::endl;
+               errorstream << "An error occurred during migration: " << e.what() << std::endl;
                return false;
        }
        return true;
@@ -2236,7 +2236,7 @@ bool ServerEnvironment::migrateAuthDatabase(
                }
 
        } catch (BaseException &e) {
-               errorstream << "An error occured during migration: " << e.what()
+               errorstream << "An error occurred during migration: " << e.what()
                            << std::endl;
                return false;
        }