From 2f062de290bec32026f4329e83ed994641b84388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Wed, 25 Nov 2020 17:02:39 +0000 Subject: [PATCH] Add archived alert message --- www/admin/inner.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/admin/inner.js b/www/admin/inner.js index d9bebc097..7b88fcbdf 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -120,7 +120,8 @@ define([ Messages.admin_archiveInput = "Document URL"; Messages.admin_archiveInput2 = "Document password"; Messages.admin_archiveInval = "Invalid document"; - Messages.restoredFromServer = "Pad restored"; + Messages.restoredFromServer = "Document restored"; + Messages.archivedFromServer = "Document archived"; var archiveForm = function (archive, $div, $button) { var label = h('label', { for: 'cp-admin-archive' }, Messages.admin_archiveInput); @@ -221,7 +222,7 @@ define([ console.error(e); return; } - UI.log(archive ? Messages.deletedFromServer : Messages.restoredFromServer); + UI.log(archive ? Messages.archivedFromServer : Messages.restoredFromServer); $input.val(''); $pwInput.val(''); });