|
|
@ -340,12 +340,12 @@ function CoverMenu:updateItems(select_number)
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ -- Allow user to directly view description in TextViewer
|
|
|
|
{ -- Allow user to directly view description in TextViewer
|
|
|
|
text = bookinfo.description and _("View book description") or _("No book description"),
|
|
|
|
text = _("Book description"),
|
|
|
|
enabled = bookinfo.description and true or false,
|
|
|
|
enabled = bookinfo.description and true or false,
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
|
local description = util.htmlToPlainTextIfHtml(bookinfo.description)
|
|
|
|
local description = util.htmlToPlainTextIfHtml(bookinfo.description)
|
|
|
|
local textviewer = TextViewer:new{
|
|
|
|
local textviewer = TextViewer:new{
|
|
|
|
title = bookinfo.title,
|
|
|
|
title = _("Description:"),
|
|
|
|
text = description,
|
|
|
|
text = description,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
UIManager:close(self.file_dialog)
|
|
|
|
UIManager:close(self.file_dialog)
|
|
|
@ -473,12 +473,12 @@ function CoverMenu:onHistoryMenuHold(item)
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ -- Allow user to directly view description in TextViewer
|
|
|
|
{ -- Allow user to directly view description in TextViewer
|
|
|
|
text = bookinfo.description and _("View book description") or _("No book description"),
|
|
|
|
text = _("Book description"),
|
|
|
|
enabled = bookinfo.description and true or false,
|
|
|
|
enabled = bookinfo.description and true or false,
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
|
local description = util.htmlToPlainTextIfHtml(bookinfo.description)
|
|
|
|
local description = util.htmlToPlainTextIfHtml(bookinfo.description)
|
|
|
|
local textviewer = TextViewer:new{
|
|
|
|
local textviewer = TextViewer:new{
|
|
|
|
title = bookinfo.title,
|
|
|
|
title = _("Description:"),
|
|
|
|
text = description,
|
|
|
|
text = description,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
UIManager:close(self.histfile_dialog)
|
|
|
|
UIManager:close(self.histfile_dialog)
|
|
|
@ -595,12 +595,12 @@ function CoverMenu:onCollectionsMenuHold(item)
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ -- Allow user to directly view description in TextViewer
|
|
|
|
{ -- Allow user to directly view description in TextViewer
|
|
|
|
text = bookinfo.description and _("View book description") or _("No book description"),
|
|
|
|
text = _("Book description"),
|
|
|
|
enabled = bookinfo.description and true or false,
|
|
|
|
enabled = bookinfo.description and true or false,
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
|
local description = util.htmlToPlainTextIfHtml(bookinfo.description)
|
|
|
|
local description = util.htmlToPlainTextIfHtml(bookinfo.description)
|
|
|
|
local textviewer = TextViewer:new{
|
|
|
|
local textviewer = TextViewer:new{
|
|
|
|
title = bookinfo.title,
|
|
|
|
title = _("Description:"),
|
|
|
|
text = description,
|
|
|
|
text = description,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
UIManager:close(self.collfile_dialog)
|
|
|
|
UIManager:close(self.collfile_dialog)
|
|
|
|