Fix some misspellings (#8104)

This commit is contained in:
Paul Ouellette 2019-01-16 07:39:13 -05:00 committed by Nils Dagsson Moskopp
parent 338465899e
commit 86a724a406
Signed by: erle
GPG Key ID: A3BC671C35191080
2 changed files with 3 additions and 3 deletions

View File

@ -92,9 +92,9 @@ function ui.update()
formspec = wordwrap_quickhack(gamedata.errormessage) formspec = wordwrap_quickhack(gamedata.errormessage)
local error_title local error_title
if string.find(gamedata.errormessage, "ModError") then 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 else
error_title = fgettext("An error occured:") error_title = fgettext("An error occurred:")
end end
formspec = "size[12,5]" .. formspec = "size[12,5]" ..
"label[0.5,0;" .. error_title .. "label[0.5,0;" .. error_title ..

View File

@ -142,7 +142,7 @@ local function handle_buttons(this, fields)
elseif mod.enabled then elseif mod.enabled then
gamedata.errormessage = fgettext_ne("Failed to enable mo" .. gamedata.errormessage = fgettext_ne("Failed to enable mo" ..
"d \"$1\" as it contains disallowed characters. " .. "d \"$1\" as it contains disallowed characters. " ..
"Only chararacters [a-z0-9_] are allowed.", "Only characters [a-z0-9_] are allowed.",
mod.name) mod.name)
end end
mods["load_mod_" .. mod.name] = nil mods["load_mod_" .. mod.name] = nil