Tiny typo fix :)

This commit is contained in:
Sam 2013-12-26 19:39:40 +01:00
parent 6745bff132
commit 91c182d93d
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ function destroyWindows()
windows = {} windows = {}
end end
function onGameEditText(id, itemId, maxLength, text, writter, time) function onGameEditText(id, itemId, maxLength, text, writer, time)
local textWindow = g_ui.createWidget('TextWindow', rootWidget) local textWindow = g_ui.createWidget('TextWindow', rootWidget)
local writeable = #text < maxLength and maxLength > 0 local writeable = #text < maxLength and maxLength > 0
@ -42,8 +42,8 @@ function onGameEditText(id, itemId, maxLength, text, writter, time)
textEdit:setCursorVisible(writeable) textEdit:setCursorVisible(writeable)
local desc = '' local desc = ''
if #writter > 0 then if #writer > 0 then
desc = tr('You read the following, written by \n%s\n', writter) desc = tr('You read the following, written by \n%s\n', writer)
if #time > 0 then if #time > 0 then
desc = desc .. tr('on %s.\n', time) desc = desc .. tr('on %s.\n', time)
end end