Grammar improvements

d6f2a1c4b8
This commit is contained in:
luk3yx 2019-02-16 15:56:10 +13:00
parent 3fc3dec353
commit d2ab8c7d16

View File

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