aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorPaul Ouellette <oue.paul18@gmail.com>2019-01-16 07:39:13 -0500
committerLoïc Blot <nerzhul@users.noreply.github.com>2019-01-16 13:39:13 +0100
commit3fce27ece5629a805a5d6c508f130170c6ccafab (patch)
tree9e0684d65ba402723ac142b1851f9e44a72ad698 /builtin
parented1415f78d7820c44e9a219b578b9fbcdce0cc65 (diff)
downloadminetest-3fce27ece5629a805a5d6c508f130170c6ccafab.tar.gz
minetest-3fce27ece5629a805a5d6c508f130170c6ccafab.tar.bz2
minetest-3fce27ece5629a805a5d6c508f130170c6ccafab.zip
Fix some misspellings (#8104)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/fstk/ui.lua4
-rw-r--r--builtin/mainmenu/dlg_config_world.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/builtin/fstk/ui.lua b/builtin/fstk/ui.lua
index 3ac0386ca..a3e3a092a 100644
--- a/builtin/fstk/ui.lua
+++ b/builtin/fstk/ui.lua
@@ -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 ..
diff --git a/builtin/mainmenu/dlg_config_world.lua b/builtin/mainmenu/dlg_config_world.lua
index 3e766aa78..daa8099c4 100644
--- a/builtin/mainmenu/dlg_config_world.lua
+++ b/builtin/mainmenu/dlg_config_world.lua
@@ -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