From 8dd7d92e08290d13b6cdedfc022e2299de06b42d Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Mon, 24 Jan 2011 01:19:12 +0100 Subject: Applied patch provided by Rolf Ahrenberg in the vdr-portal.de thread about the multischedule contribution to LIVE. See: http://www.vdr-portal.de/board/thread.php?postid=973272#post973272 --- pages/multischedule.ecpp | 9 ++++++--- po/fi_FI.po | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/multischedule.ecpp b/pages/multischedule.ecpp index 180b371..e9b4260 100644 --- a/pages/multischedule.ecpp +++ b/pages/multischedule.ecpp @@ -73,10 +73,13 @@ pageTitle = trVDR("Schedule"); if ( lastChannel == 0 ) lastChannel = Channels.MaxNumber(); std::stringstream groups; - for ( int i = 1; i<= lastChannel; i++) + int i = 0; + for (cChannel *channel = Channels.First(); channel && (channel->Number() <= lastChannel); channel = Channels.Next(channel)) { - groups << i; - if ( (i % 5) == 0 ) + if (channel->GroupSep()) + continue; + groups << channel->Number(); + if ( (++i % 5) == 0 ) groups << ";"; else groups << ","; diff --git a/po/fi_FI.po b/po/fi_FI.po index 885a64f..1ceb99b 100644 --- a/po/fi_FI.po +++ b/po/fi_FI.po @@ -504,7 +504,7 @@ msgid "%A, %b %d %Y" msgstr "%A, %d.%m.%Y" msgid "Time" -msgstr "Ajankohta" +msgstr "Kellonaika" msgid "Switch to this channel." msgstr "Vaihda kanavalle" -- cgit v1.2.3