diff --git a/frontend/apps/filemanager/filemanagerbookinfo.lua b/frontend/apps/filemanager/filemanagerbookinfo.lua index ed1089390..2db5949fd 100644 --- a/frontend/apps/filemanager/filemanagerbookinfo.lua +++ b/frontend/apps/filemanager/filemanagerbookinfo.lua @@ -269,7 +269,7 @@ function BookInfo:onShowBookDescription() description = util.htmlToPlainTextIfHtml(description) local TextViewer = require("ui/widget/textviewer") UIManager:show(TextViewer:new{ - title = _("Book description:"), + title = _("Description:"), text = description, }) else diff --git a/plugins/coverbrowser.koplugin/covermenu.lua b/plugins/coverbrowser.koplugin/covermenu.lua index 83c7eec0d..38cc6cc62 100644 --- a/plugins/coverbrowser.koplugin/covermenu.lua +++ b/plugins/coverbrowser.koplugin/covermenu.lua @@ -340,12 +340,12 @@ function CoverMenu:updateItems(select_number) end, }, { -- 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, callback = function() local description = util.htmlToPlainTextIfHtml(bookinfo.description) local textviewer = TextViewer:new{ - title = bookinfo.title, + title = _("Description:"), text = description, } UIManager:close(self.file_dialog) @@ -473,12 +473,12 @@ function CoverMenu:onHistoryMenuHold(item) end, }, { -- 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, callback = function() local description = util.htmlToPlainTextIfHtml(bookinfo.description) local textviewer = TextViewer:new{ - title = bookinfo.title, + title = _("Description:"), text = description, } UIManager:close(self.histfile_dialog) @@ -595,12 +595,12 @@ function CoverMenu:onCollectionsMenuHold(item) end, }, { -- 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, callback = function() local description = util.htmlToPlainTextIfHtml(bookinfo.description) local textviewer = TextViewer:new{ - title = bookinfo.title, + title = _("Description:"), text = description, } UIManager:close(self.collfile_dialog)