grammar fixes

This commit is contained in:
Lux Aliaga 2021-11-21 16:58:36 +00:00
parent c94b8fe441
commit a2cde54a69
1 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ centerWidth = round(width / 2) -- Defines the horizontal center
centerHeight = round(height / 2) -- Defines the vertical center
if arg[1] == nil then
peripherals = peripheral.getNames() -- Gets peripherals to check if any disk drives are avavailable
peripherals = peripheral.getNames() -- Gets peripherals to check if any disk drives are available
if #peripherals == 0 then
term.setTextColor(colors.red)
print("No drive")
@ -30,7 +30,7 @@ if arg[1] == nil then
end
if driveCount > 1 then
term.setTextColor(colors.red)
print("Too many disk drives. Specify where the desired disk drive is by running 'rhythmblock [drive position]'") -- For safety reasons
print("Too many disk drives. Specify where the desired disk drive is located by running 'rhythmblock [drive position]'") -- For safety reasons
return false
elseif driveCount == 0 then
term.setTextColor(colors.red)
@ -42,7 +42,7 @@ else
drive = arg[1]
end
--[[ Instead of calling every status by string, we call the variables storing the strings. This may ease translation if we plan to do it in the future.
--[[ Instead of calling every status by string, we call the variables storing the strings. This may ease translation if we plan to do so in the future.
]]
defaultStatus = "Rhythmblock"
@ -142,7 +142,7 @@ status = defaultStatus -- Setting the value to the default
while true do
statusRender(status) -- Renders the status
if term.isColour() then -- Renders the close button (if the song title is too long, the close button kind of disappears
if term.isColour() then -- Renders the close button (if the song title is too long, the close button kind of disappears)
renderCloseButton()
end
local eventData = {os.pullEvent()}