[lang] OPDSCatalog ConfirmBox ok_text/cancel_text (#3281)
This commit is contained in:
1 parent
180f5755f4
commit
3dfbd3b2e6
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user