mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Readerhighlight: allow translation (#8174)
Show translatable title of the style. https://www.mobileread.com/forums/showthread.php?p=4151396#post4151396
This commit is contained in:
@@ -1270,7 +1270,7 @@ function ReaderHighlight:onCycleHighlightStyle()
|
||||
self.view.highlight.saved_drawer = next_actions[self.view.highlight.saved_drawer]
|
||||
self.ui.doc_settings:saveSetting("highlight_drawer", self.view.highlight.saved_drawer)
|
||||
UIManager:show(Notification:new{
|
||||
text = T(_("Default highlight style changed to '%1'."), self.view.highlight.saved_drawer),
|
||||
text = T(_("Default highlight style changed to '%1'."), highlight_style[self.view.highlight.saved_drawer]),
|
||||
})
|
||||
return true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user