summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18n.cpp65
-rw-r--r--pages/menu.ecpp6
-rw-r--r--pages/whats_on.ecpp7
3 files changed, 73 insertions, 5 deletions
diff --git a/i18n.cpp b/i18n.cpp
index b36ad37..2ca0b68 100644
--- a/i18n.cpp
+++ b/i18n.cpp
@@ -3418,6 +3418,71 @@ const tI18nPhrase Phrases[] = {
"", // Dansk
"", // Czech
},
+ { "What's on?",
+ "Was läuft?",
+ "", // Slovenski
+ "", // Italiono
+ "", // Nederlands
+ "", // Português
+ "", // Français
+ "", // Norsk
+ "", // Finnish
+ "", // Polski
+ "", // Español
+ "", // Greek
+ "", // Svenska
+ "", // Românã
+ "", // Magyar
+ "", // Català
+ "", // Russian
+ "", // Hrvatski
+ "", // Eesti
+ "", // Dansk
+ "", // Czech
+ }, { "Now",
+ "Jetzt",
+ "", // Slovenski
+ "", // Italiono
+ "", // Nederlands
+ "", // Português
+ "", // Français
+ "", // Norsk
+ "", // Finnish
+ "", // Polski
+ "", // Español
+ "", // Greek
+ "", // Svenska
+ "", // Românã
+ "", // Magyar
+ "", // Català
+ "", // Russian
+ "", // Hrvatski
+ "", // Eesti
+ "", // Dansk
+ "", // Czech
+ },
+ { "Next",
+ "Nächstes",
+ "", // Slovenski
+ "", // Italiono
+ "", // Nederlands
+ "", // Português
+ "", // Français
+ "", // Norsk
+ "", // Finnish
+ "", // Polski
+ "", // Español
+ "", // Greek
+ "", // Svenska
+ "", // Românã
+ "", // Magyar
+ "", // Català
+ "", // Russian
+ "", // Hrvatski
+ "", // Eesti
+ "", // Dansk
+ "", // Czech
+ },
/*
{ "", // English
"", // Deutsch
diff --git a/pages/menu.ecpp b/pages/menu.ecpp
index acae70c..4a034a1 100644
--- a/pages/menu.ecpp
+++ b/pages/menu.ecpp
@@ -29,8 +29,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
set_component = component;
}>
<div class="menu">
- <a href="whats_on.html?type=now" <& menu.setactive current=("now") &>><$ tr("What's on now?") $></a> |
- <a href="whats_on.html?type=next" <& menu.setactive current=("next") &>><$ tr("What's on next?") $></a> |
+ <a href="whats_on.html?type=now" <& menu.setactive current=("whats_on") &>><$ tr("What's on?") $></a> |
<a href="schedule.html" <& menu.setactive current=("schedule") &>><$ tr("Schedule") $></a> |
<a href="timers.html" <& menu.setactive current=("timers") &>><$ tr("Timers") $></a> |
% if (LiveSetup().HaveEPGSearch()) {
@@ -51,8 +50,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<div class="pagemenu">
<div> <!-- outer -->
<div> <!-- inner -->
- <& menu.component current=("now") &>
- <& menu.component current=("next") &>
+ <& menu.component current=("whats_on") &>
<& menu.component current=("schedule") &>
<& menu.component current=("timers") &>
% if (LiveSetup().HaveEPGSearch()) {
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index 7c91393..bab6a57 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -45,7 +45,7 @@ if (type == "now") {
</head>
<body onload="<& pageelems.infobox_start_update &>">
<& pageelems.logo &>
- <& menu active=(type) &>
+ <& menu active=("whats_on") component=("whats_on.whats_on_actions")>
<div class="inhalt">
<{
EpgEvents epgEvents;
@@ -118,3 +118,8 @@ if (type == "now") {
</body>
</html>
<%include>page_exit.eh</%include>
+
+<%def whats_on_actions>
+<a href="whats_on.html?type=now"><$ tr("Now") $></a>&nbsp;&nbsp;
+<a href="whats_on.html?type=next"><$ tr("Next") $></a>
+</%def>