Module:Shortcut: Difference between revisions

fix error message
(rewrite this without so many dependencies and with it hopefully easier to read)
(fix error message)
Line 25: Line 25:
error(string.format(
error(string.format(
'shortcut #%d was invalid (shortcuts must be strings of ' ..
'shortcut #%d was invalid (shortcuts must be strings of ' ..
'least one character in length)'
'at least one character in length)'
), 2)
), 2)
end
end