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

EPG events without a title now display "No title" instead of "(null)"

This commit is contained in:
Klaus Schmidinger 2005-06-05 12:19:50 +02:00
parent 60a35366dd
commit 393627abd5
4 changed files with 33 additions and 4 deletions

View File

@ -881,6 +881,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
for translating OSD texts to the Finnish language for translating OSD texts to the Finnish language
for fixing internationalization of the text for "Setup/DVB/Audio language(s)" for fixing internationalization of the text for "Setup/DVB/Audio language(s)"
for making pressing the Power button not stop Transfer Mode or replay immediately for making pressing the Power button not stop Transfer Mode or replay immediately
for making EPG events without a title display "No title" instead of "(null)"
Ralf Klueber <ralf.klueber@vodafone.com> Ralf Klueber <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark for reporting a bug in cutting a recording if there is only a single editing mark

View File

@ -3578,7 +3578,7 @@ Video Disk Recorder Revision History
- Added cThread::SetPriority() and using it in cSectionHandler::Action() to - Added cThread::SetPriority() and using it in cSectionHandler::Action() to
reduce the priority of the section handler threads (as suggested by Georg Acher). reduce the priority of the section handler threads (as suggested by Georg Acher).
2005-06-04: Version 1.3.26 2005-06-05: Version 1.3.26
- Updated the Estonian OSD texts (thanks to Arthur Konovalov). - Updated the Estonian OSD texts (thanks to Arthur Konovalov).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
@ -3587,3 +3587,5 @@ Video Disk Recorder Revision History
- Improved resetting CAM connections (thanks to Marco Schlüßler). - Improved resetting CAM connections (thanks to Marco Schlüßler).
- Implemented cVideoRepacker in remux.c to make sure every PES packet contains - Implemented cVideoRepacker in remux.c to make sure every PES packet contains
only data from one frame (thanks to Reinhard Nissl). only data from one frame (thanks to Reinhard Nissl).
- EPG events without a title now display "No title" instead of "(null)" (thanks
to Rolf Ahrenberg).

9
epg.c
View File

@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by * Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* *
* $Id: epg.c 1.34 2005/05/29 10:26:54 kls Exp $ * $Id: epg.c 1.35 2005/06/05 12:17:15 kls Exp $
*/ */
#include "epg.h" #include "epg.h"
@ -323,7 +323,7 @@ bool cEvent::Read(FILE *f, cSchedule *Schedule)
return false; return false;
} }
#define MAXEPGBUGFIXSTATS 12 #define MAXEPGBUGFIXSTATS 13
#define MAXEPGBUGFIXCHANS 100 #define MAXEPGBUGFIXCHANS 100
struct tEpgBugFixStats { struct tEpgBugFixStats {
int hits; int hits;
@ -638,6 +638,11 @@ void cEvent::FixEpgBugs(void)
} }
} }
} }
else {
// we don't want any "(null)" titles
title = strcpyrealloc(title, tr("No title"));
EpgBugFixStat(12, ChannelID());
}
} }
// --- cSchedule ------------------------------------------------------------- // --- cSchedule -------------------------------------------------------------

23
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.193 2005/06/03 12:41:41 kls Exp $ * $Id: i18n.c 1.194 2005/06/05 11:59:09 kls Exp $
* *
* Translations provided by: * Translations provided by:
* *
@ -5346,6 +5346,27 @@ const tI18nPhrase Phrases[] = {
"ST:TNG konsool", "ST:TNG konsool",
"ST:TNG konsol", "ST:TNG konsol",
}, },
{ "No title",
"Kein Titel",
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"Ei esitystä",
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"",// TODO
},
{ NULL } { NULL }
}; };