From c8ffe567aea42a02e2291daf438d24bb243e4469 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Thu, 30 Apr 2026 20:17:26 +0300 Subject: [PATCH] Book metadata archive: 'restore from archive' wording (#15326) --- frontend/apps/reader/readerui.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/apps/reader/readerui.lua b/frontend/apps/reader/readerui.lua index 5d0c50f5f..db10be04f 100644 --- a/frontend/apps/reader/readerui.lua +++ b/frontend/apps/reader/readerui.lua @@ -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,