[fix] Highlight moving button text shouldn't be translated (#4597)

pull/4598/head
Frans de Jonge 5 years ago committed by GitHub
parent 015fb4d34e
commit 33840c17cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -340,7 +340,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
if not self.ui.document.info.has_pages then if not self.ui.document.info.has_pages then
table.insert(buttons, { table.insert(buttons, {
{ {
text = _("◁⇱"), text = "◁⇱",
callback = function() callback = function()
self:updateHighlight(page, index, 0, -1, false) self:updateHighlight(page, index, 0, -1, false)
end, end,
@ -350,7 +350,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
end end
}, },
{ {
text = _("⇱▷"), text = "⇱▷",
callback = function() callback = function()
self:updateHighlight(page, index, 0, 1, false) self:updateHighlight(page, index, 0, 1, false)
end, end,
@ -360,7 +360,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
end end
}, },
{ {
text = _("◁⇲"), text = "◁⇲",
callback = function() callback = function()
self:updateHighlight(page, index, 1, -1, false) self:updateHighlight(page, index, 1, -1, false)
end, end,
@ -369,7 +369,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
end end
}, },
{ {
text = _("⇲▷"), text = "⇲▷",
callback = function() callback = function()
self:updateHighlight(page, index, 1, 1, false) self:updateHighlight(page, index, 1, 1, false)
end, end,

Loading…
Cancel
Save