1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Activating the 'Recordings' menu now displays 'scanning recordings...'

This commit is contained in:
Klaus Schmidinger 2002-01-27 15:55:31 +01:00
parent fe5809c4e3
commit 3669bbf375
3 changed files with 16 additions and 2 deletions

View File

@ -916,3 +916,5 @@ Video Disk Recorder Revision History
- The "Main" menu now displays in its title the used disk space (in percent) - The "Main" menu now displays in its title the used disk space (in percent)
and the estimated free disk space (in hh:mm), assuming a data rate of 30 MB and the estimated free disk space (in hh:mm), assuming a data rate of 30 MB
per minute. per minute.
- Activating the "Recordings" menu now displays "scanning recordings..." to
give the user some feedback in case this takes longer.

10
i18n.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: i18n.c 1.49 2002/01/27 13:11:23 kls Exp $ * $Id: i18n.c 1.50 2002/01/27 15:52:32 kls Exp $
* *
* Slovenian translations provided by Miha Setina <mihasetina@softhome.net> * Slovenian translations provided by Miha Setina <mihasetina@softhome.net>
* Italian translations provided by Alberto Carraro <bertocar@tin.it> * Italian translations provided by Alberto Carraro <bertocar@tin.it>
@ -1415,6 +1415,14 @@ const tPhrase Phrases[] = {
"", // TODO "", // TODO
"", // TODO "", // TODO
}, },
{ "scanning recordings...",
"Aufzeichnungen werden durchsucht...",
"", // TODO
"", // TODO
"", // TODO
"", // TODO
"", // TODO
},
{ NULL } { NULL }
}; };

6
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.145 2002/01/27 13:09:49 kls Exp $ * $Id: menu.c 1.146 2002/01/27 15:50:50 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -1544,6 +1544,10 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus)
{ {
base = Base ? strdup(Base) : NULL; base = Base ? strdup(Base) : NULL;
level = Setup.RecordingDirs ? Level : -1; level = Setup.RecordingDirs ? Level : -1;
if (!Base) {
Interface->Status(tr("scanning recordings..."));
Interface->Flush();
}
if (Base || Recordings.Load()) { if (Base || Recordings.Load()) {
const char *LastReplayed = cReplayControl::LastReplayed(); const char *LastReplayed = cReplayControl::LastReplayed();
cMenuRecordingItem *LastItem = NULL; cMenuRecordingItem *LastItem = NULL;