[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
table.insert(buttons, {
{
text = _("◁⇱"),
text = "◁⇱",
callback = function()
self:updateHighlight(page, index, 0, -1, false)
end,
@ -350,7 +350,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
end
},
{
text = _("⇱▷"),
text = "⇱▷",
callback = function()
self:updateHighlight(page, index, 0, 1, false)
end,
@ -360,7 +360,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
end
},
{
text = _("◁⇲"),
text = "◁⇲",
callback = function()
self:updateHighlight(page, index, 1, -1, false)
end,
@ -369,7 +369,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
end
},
{
text = _("⇲▷"),
text = "⇲▷",
callback = function()
self:updateHighlight(page, index, 1, 1, false)
end,

Loading…
Cancel
Save