Book metadata archive: 'restore from archive' wording (#15326)

This commit is contained in:
hius07 authored and GitHub committed 2026-04-30 20:17:26 +03:00
1 parent 8a3054342b
commit c8ffe567ae
1 file changed
+6 -3
+6 -3
View File
@@ -642,13 +642,16 @@ function ReaderUI:showReader(file, provider, seamless, is_provider_forced, after
local arc_settings_file = DocSettings.getSettingsArcFile(self.md5_checksum, true) -- check if exists
if arc_settings_file then
UIManager:show(ConfirmBox:new{
text = _("The book has been read on this device earlier.\nDo you want to use book metadata from the archive?"),
ok_text = _("Use"),
text =
_[[This book was previously opened on this device.
Would you like to restore its metadata from the archive?
Discarded metadata will be removed from the archive.]],
ok_text = _("Restore"),
ok_callback = function()
self.arc_settings_data = DocSettings.openSettingsFile(arc_settings_file).data
do_show(arc_settings_file)
end,
cancel_text = _("Don't use"),
cancel_text = _("Discard"),
cancel_callback = function()
do_show(arc_settings_file)
end,