DateTimeWidget: don't make ":" and "/" translatable (#9145)

* And the ellipsis
pull/9158/head
zwim 2 years ago committed by GitHub
parent e1ac3c4853
commit 5a033f1221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -788,7 +788,7 @@ function ReaderHighlight:onShowHighlightDialog(page, index, is_auto_text)
end, end,
}, },
{ {
text = _(""), text = "",
callback = function() callback = function()
self.selected_text = self.view.highlight.saved[page][index] self.selected_text = self.view.highlight.saved[page][index]
self:onShowHighlightMenu(page, index) self:onShowHighlightMenu(page, index)

@ -245,12 +245,12 @@ function DateTimeWidget:createLayout()
bold = true, bold = true,
} }
separator_time = TextWidget:new{ separator_time = TextWidget:new{
text = _(":"), text = ":",
face = self.title_face, face = self.title_face,
bold = true, bold = true,
} }
separator_date_time = TextWidget:new{ separator_date_time = TextWidget:new{
text = _("/"), text = "/",
face = self.title_face, face = self.title_face,
bold = true, bold = true,
} }

Loading…
Cancel
Save