Fix some spelling/grammar mistakes on Console app (#576)
This commit is contained in:
@@ -124,7 +124,7 @@ local commands={}do
|
|||||||
tree(path..name.."/",subName,depth+1)
|
tree(path..name.."/",subName,depth+1)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
log("Unkown item type: %s (%s)"):format(name,info.type)
|
log("Unknown item type: %s (%s)"):format(name,info.type)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
commands.tree={
|
commands.tree={
|
||||||
@@ -181,7 +181,7 @@ local commands={}do
|
|||||||
elseif info.type=='directory'then
|
elseif info.type=='directory'then
|
||||||
recursiveDelDir(path)
|
recursiveDelDir(path)
|
||||||
else
|
else
|
||||||
log("Unkown item type: %s (%s)"):format(name,info.type)
|
log("Unknown item type: %s (%s)"):format(name,info.type)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -207,7 +207,7 @@ local commands={}do
|
|||||||
elseif info.type=='directory'then
|
elseif info.type=='directory'then
|
||||||
(recursive and recursiveDelDir or delDir)(name)
|
(recursive and recursiveDelDir or delDir)(name)
|
||||||
else
|
else
|
||||||
log("Unkown item type: %s (%s)"):format(name,info.type)
|
log("Unknown item type: %s (%s)"):format(name,info.type)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
log{C.R,("No file called '%s'"):format(name)}
|
log{C.R,("No file called '%s'"):format(name)}
|
||||||
@@ -745,7 +745,7 @@ local commands={}do
|
|||||||
elseif code=="7126"then
|
elseif code=="7126"then
|
||||||
sumode=true
|
sumode=true
|
||||||
log{C.Y,"* SU MODE ON - DO NOT RUN ANY CODES IF YOU DO NOT KNOW WHAT THEY DO *"}
|
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,"* 最高权限模式开启, 请不要执行任何自己不懂确切含义的代码 *"}
|
||||||
log{C.Y,"* 使用_SCLOG(信息)函数在控制台打印信息 *"}
|
log{C.Y,"* 使用_SCLOG(信息)函数在控制台打印信息 *"}
|
||||||
else
|
else
|
||||||
@@ -1122,7 +1122,7 @@ function scene.keyDown(key)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if #res>1 then
|
if #res>1 then
|
||||||
log(">Commands start with '"..str.."' :")
|
log(">Commands that start with '"..str.."' :")
|
||||||
table.sort(res)
|
table.sort(res)
|
||||||
for i=1,#res do log{COLOR.lH,res[i]}end
|
for i=1,#res do log{COLOR.lH,res[i]}end
|
||||||
elseif #res==1 then
|
elseif #res==1 then
|
||||||
|
|||||||
Reference in New Issue
Block a user