allow some strings to be translated (#6428)

This commit is contained in:
yparitcher
2020-07-25 09:26:26 -04:00
committed by GitHub
parent db843929f0
commit 2f3fda3fe8
3 changed files with 9 additions and 5 deletions

View File

@@ -572,7 +572,8 @@ function ReaderBookmark:toggleBookmark(pn_or_xp)
local notes = self.ui.toc:getTocTitleByPage(pn_or_xp)
local chapter_name = notes
if notes ~= "" then
notes = "in "..notes
-- @translators In which chapter title (%1) a note is found.
notes = T(_("in %1"), notes)
end
self:addBookmark({
page = pn_or_xp,