Fix some spelling/grammar mistakes on Console app (#576)

This commit is contained in:
NOT_A_ROBOT
2022-01-05 11:51:16 +07:00
committed by GitHub
parent ae15281db0
commit ceb77e46c3

View File

@@ -124,7 +124,7 @@ local commands={}do
tree(path..name.."/",subName,depth+1)
end
else
log("Unkown item type: %s (%s)"):format(name,info.type)
log("Unknown item type: %s (%s)"):format(name,info.type)
end
end
commands.tree={
@@ -181,7 +181,7 @@ local commands={}do
elseif info.type=='directory'then
recursiveDelDir(path)
else
log("Unkown item type: %s (%s)"):format(name,info.type)
log("Unknown item type: %s (%s)"):format(name,info.type)
end
end
end
@@ -207,7 +207,7 @@ local commands={}do
elseif info.type=='directory'then
(recursive and recursiveDelDir or delDir)(name)
else
log("Unkown item type: %s (%s)"):format(name,info.type)
log("Unknown item type: %s (%s)"):format(name,info.type)
end
else
log{C.R,("No file called '%s'"):format(name)}
@@ -745,7 +745,7 @@ local commands={}do
elseif code=="7126"then
sumode=true
log{C.Y,"* SU MODE ON - DO NOT RUN ANY CODES IF YOU DO NOT KNOW WHAT THEY DO *"}
log{C.Y,"* Use function _SCLOG(message) to print message here *"}
log{C.Y,"* Use the _SCLOG(message) function to print into this console *"}
log{C.Y,"* 最高权限模式开启, 请不要执行任何自己不懂确切含义的代码 *"}
log{C.Y,"* 使用_SCLOG(信息)函数在控制台打印信息 *"}
else
@@ -1122,7 +1122,7 @@ function scene.keyDown(key)
end
if #res>1 then
log(">Commands start with '"..str.."' :")
log(">Commands that start with '"..str.."' :")
table.sort(res)
for i=1,#res do log{COLOR.lH,res[i]}end
elseif #res==1 then