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

Various grammar improvements (#7769)

In builtin//pkgmgr.lua, README.md and settingtypes.txt.
Based on 2 pull requests by comradekingu.
This commit is contained in:
Paramat 2018-10-06 03:43:26 +01:00 committed by GitHub
parent b982e45456
commit d6f2a1c4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 55 additions and 56 deletions

View file

@ -431,7 +431,7 @@ function pkgmgr.install_dir(type, path, basename, targetpath)
targetpath = core.get_modpath() .. DIR_DELIM .. clean_path
else
return nil,
fgettext("Install Mod: unable to find suitable foldername for modpack $1",
fgettext("Install Mod: Unable to find suitable folder name for modpack $1",
modfilename)
end
end
@ -457,7 +457,7 @@ function pkgmgr.install_dir(type, path, basename, targetpath)
if targetfolder ~= nil and pkgmgr.isValidModname(targetfolder) then
targetpath = core.get_modpath() .. DIR_DELIM .. targetfolder
else
return nil, fgettext("Install Mod: unable to find real modname for: $1", modfilename)
return nil, fgettext("Install Mod: Unable to find real mod name for: $1", modfilename)
end
end
@ -493,7 +493,7 @@ function pkgmgr.install(type, modfilename, basename, dest)
if path == nil then
return nil,
fgettext("Install: file: \"$1\"", archive_info.name) .. "\n" ..
fgettext("Install: unsupported filetype \"$1\" or broken archive",
fgettext("Install: Unsupported file type \"$1\" or broken archive",
archive_info.type)
end