Update frontend/apps/reader/modules/readerrolling.lua

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
This commit is contained in:
hius07
2025-03-12 19:20:50 +02:00
committed by GitHub
parent fbfb993c6b
commit ffb41f5f13

View File

@@ -310,7 +310,7 @@ function ReaderRolling:onCheckDomStyleCoherence()
if self.ui.document and self.ui.document:isBuiltDomStale() then
-- When using an older DOM version, bookmarks may break
local bookmarks_warn_txt = self.using_non_normalized_xpointers and self.ui.annotation:hasAnnotations()
and _("\nNote that this change in styles may render your bookmarks or highlights no more valid.\nIf some of them do not show anymore, you can just revert the change you just made to have them shown again.\n\n")
and ("\n" .. _("Note that this change in styles may render your bookmarks or highlights invalid.\nIf some of them no longer appear, you can simply revert the change you just made to show them again.") .. "\n\n")
self:showSuggestReloadConfirmBox(bookmarks_warn_txt)
end
end