[lang] OPDSCatalog ConfirmBox ok_text/cancel_text (#3281)

This commit is contained in:
Frans de Jonge
2017-10-01 14:27:02 +02:00
committed by GitHub
parent 180f5755f4
commit 3dfbd3b2e6

View File

@@ -27,6 +27,8 @@ function OPDSCatalog:init()
UIManager:show(ConfirmBox:new{
text = T(_("File saved to:\n %1\nWould you like to read the downloaded book now?"),
downloaded_file),
ok_text = _("Read now"),
cancel_text = _("Read later"),
ok_callback = function()
self:onClose()
ReaderUI:showReader(downloaded_file)