Change skim mode menu & dialog title (#4223)

This commit is contained in:
Robert
2018-09-18 21:37:13 +02:00
committed by poire-z
parent f0d099b62c
commit bd154e0bc3
2 changed files with 2 additions and 4 deletions

View File

@@ -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()

View File

@@ -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()