Change skim mode menu & dialog title (#4223)
This commit is contained in:
1 parent
f0d099b62c
commit
bd154e0bc3
2 files changed
+2
-4
No files matched your search
@@ -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