summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2011-01-24 01:19:12 +0100
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2011-01-24 01:19:12 +0100
commit8dd7d92e08290d13b6cdedfc022e2299de06b42d (patch)
tree08ba040e94a377628ea1d0b9afe37ad58aae3971
parent6304bd11852dc998d28ecc9d5ae23a239300144d (diff)
downloadvdr-plugin-live-8dd7d92e08290d13b6cdedfc022e2299de06b42d.tar.gz
vdr-plugin-live-8dd7d92e08290d13b6cdedfc022e2299de06b42d.tar.bz2
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
-rw-r--r--pages/multischedule.ecpp9
-rw-r--r--po/fi_FI.po2
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"