From e5164d1bb8aaedddb25f3ad4574a1d70e42c9cc0 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Fri, 25 Jan 2008 21:54:37 +0100 Subject: Used StringReplace from tools to replace ~ with / in the output of the deleted recording. I decided to not support currently undeletion of recordings. This is now a preliminary possibility to delete recordings from within LIVE. A more sofisticated recordings management is in planing. --- pages/recordings.ecpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pages') diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp index b97a18b..11b20a6 100644 --- a/pages/recordings.ecpp +++ b/pages/recordings.ecpp @@ -10,6 +10,7 @@ #include "setup.h" #include "tasks.h" +#include "tools.h" #include "recman.h" @@ -38,7 +39,7 @@ if (!todel.empty()) { if (!task.Result()) deleteResult = string() + tr("ERROR:") + " " + task.Error(); else - deleteResult = string() + tr("deleted recording") + ": " + task.RecName(); + deleteResult = string() + tr("Deleted recording:") + " " + StringReplace(task.RecName(), "~", "/"); } <& pageelems.doc_type &> -- cgit v1.2.3