mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
bug report module
* change modules authors and website * avoid anchors recursivity crash * update README
This commit is contained in:
@@ -15,15 +15,15 @@ local function onGameEditText(id, itemId, maxLength, text, writter, time)
|
||||
textEdit:setText(text)
|
||||
textEdit:setEnabled(writeable)
|
||||
|
||||
local desc = tr('You read the following')
|
||||
local desc = ''
|
||||
if #writter > 0 then
|
||||
desc = desc .. tr(', written by \n%s\n', writter)
|
||||
desc = tr('You read the following, written by \n%s\n', writter)
|
||||
|
||||
if #time > 0 then
|
||||
desc = desc .. tr('on %s.\n', time)
|
||||
end
|
||||
elseif #time > 0 then
|
||||
desc = desc .. tr(', written on %s.\n', time)
|
||||
desc = tr('You read the following, written on %s.\n', time)
|
||||
end
|
||||
|
||||
if #text == 0 and not writeable then
|
||||
|
@@ -1,8 +1,8 @@
|
||||
Module
|
||||
name: game_textbooks
|
||||
description: Allow to edit text books and lists
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
author: edubart
|
||||
website: www.otclient.info
|
||||
|
||||
dependencies:
|
||||
- game
|
||||
|
Reference in New Issue
Block a user