diff options
-rw-r--r-- | lbu-listbackups-html.lsp | 4 | ||||
-rw-r--r-- | lbu-model.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lbu-listbackups-html.lsp b/lbu-listbackups-html.lsp index a2e80e4..489b140 100644 --- a/lbu-listbackups-html.lsp +++ b/lbu-listbackups-html.lsp @@ -11,7 +11,7 @@ io.write("</span>") <% displaycommandresults({"selectbackup"}, session) %> -<H1>Backup Archive</H1> +<H1>Backup Archives</H1> <DL> <% if #view.value == 0 then %> No backup files @@ -22,7 +22,7 @@ No backup files </tr> <% for i,name in ipairs(view.value) do %> <tr><td> - <%= html.link{value="selectbackup?backup="..name, label="Select "} %> + <%= html.link{value="selectbackup?backup="..name, label="Revert "} %> </td> <td><%= html.html_escape(name) %></td></tr> <% end diff --git a/lbu-model.lua b/lbu-model.lua index 8d7c53e..19217e1 100644 --- a/lbu-model.lua +++ b/lbu-model.lua @@ -427,7 +427,7 @@ function getbackupfiles() end function selectbackupfile(selectfile) - local cmdresult = cfe({ value="Failed to select backup", errtxt="Backup not found", label="Select Backup result"}) + local cmdresult = cfe({ value="Failed to revert to backup", errtxt="Backup not found", label="Revert Backup result"}) local files = getbackupfiles() for i,file in ipairs(files.value) do if file == selectfile then @@ -435,7 +435,7 @@ function selectbackupfile(selectfile) cmdresult.errtxt = f:read("*a") if "" == cmdresult.errtxt then cmdresult.errtxt = nil - cmdresult.value = "Selected backup "..file + cmdresult.value = "Reverted to backup "..file end f:close() break |