mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Change skim mode menu & dialog title (#4223)
This commit is contained in:
@@ -7,7 +7,7 @@ local _ = require("gettext")
|
||||
|
||||
local ReaderGoto = InputContainer:new{
|
||||
goto_menu_title = _("Go to"),
|
||||
skim_menu_title = _("Skim to"),
|
||||
skim_menu_title = _("Skim document"),
|
||||
}
|
||||
|
||||
function ReaderGoto:init()
|
||||
|
||||
@@ -61,12 +61,10 @@ function SkimToWidget:init()
|
||||
},
|
||||
}
|
||||
end
|
||||
local dialog_title
|
||||
local dialog_title = _("Skim")
|
||||
if self.document.info.has_pages then
|
||||
dialog_title = _("Go to Page")
|
||||
self.curr_page = self.ui.paging.current_page
|
||||
else
|
||||
dialog_title = _("Go to Location")
|
||||
self.curr_page = self.document:getCurrentPage()
|
||||
end
|
||||
self.page_count = self.document:getPageCount()
|
||||
|
||||
Reference in New Issue
Block a user