Project

General

Profile

Feature #464 » 01_mainmenuhooks-nordlichtsepg.patch

hoplo, 11/22/2010 04:52 PM

View differences:

nordlichtsepg-0.9/nordlichtsepg.c 2010-11-20 19:18:15.000000000 +0100
// setup values
int hidemainmenu=false;
int replaceorgschedule=false;
int bookmark=2015;
int Step=30;
int keeposd=0;
......
virtual void Store()
{
SetupStore("hidemainmenu",hidemainmenu);
SetupStore("replaceorgschedule",replaceorgschedule);
SetupStore("bookmark",bookmark);
SetupStore("step",Step);
SetupStore("keeposd",keeposd);
......
Add(new cMenuEditBoolItem(tr("Switch with Ok"),&switchwithok));
Add(new cOsdItem(tr("Appearance"),osUnknown,false));
Add(new cMenuEditBoolItem(tr("Hide main menu entry"),&hidemainmenu));
Add(new cMenuEditBoolItem(tr("Replace original schedule"), &replaceorgschedule));
Add(new cMenuEditBoolItem(tr("Keep display after switching"),&keeposd));
Add(new cMenuEditBoolItem(tr("Show channel numbers"),&showchannelnumbers));
Add(new cMenuEditBoolItem(tr("Show channel groups"),&showchannelgroups));
......
virtual cOsdObject *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
virtual bool SetupParse(const char *Name, const char *Value);
virtual bool Service(const char *Id, void *Data = NULL){return false;};
virtual bool Service(const char *Id, void *Data);
virtual const char **SVDRPHelpPages(void){return NULL;};
virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode){return NULL;};
};
......
{
if(!strcmp("hidemainmenu",Name))
hidemainmenu=atoi(Value);
else if(!strcmp("replaceorgschedule",Name))
replaceorgschedule=atoi(Value);
else if(!strcmp("bookmark",Name))
bookmark=atoi(Value);
else if(!strcmp("step",Name))
......
return true;
}
bool cPluginNordlichtsepg::Service(const char *Id, void *Data = NULL)
{
cOsdMenu **menu = (cOsdMenu**) Data;
if (replaceorgschedule &&
strcmp(Id, "MainMenuHooksPatch-v1.0::osSchedule") == 0) {
if (menu)
*menu = (cOsdMenu*) MainMenuAction();
return true;
}
return false;
}
VDRPLUGINCREATOR(cPluginNordlichtsepg); // Don't touch this!
nordlichtsepg-0.9/po/ca_ES.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/cs_CZ.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/da_DK.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/de_DE.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr "Eintrag im Hauptmen? verstecken"
msgid "Replace original schedule"
msgstr "Originale Programm?bersicht ersetzen"
msgid "Keep display after switching"
msgstr "Anzeige nicht beenden nach Umschalten"
nordlichtsepg-0.9/po/el_GR.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/es_ES.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/et_EE.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/fi_FI.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr "Piilota valinta p??valikosta"
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr "S?ilyt? valikko kanavaa valittaessa"
nordlichtsepg-0.9/po/fr_FR.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/hr_HR.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/hu_HU.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/it_IT.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/nl_NL.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/nn_NO.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/pl_PL.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/pt_PT.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/ro_RO.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/ru_RU.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/sl_SI.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/sv_SE.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
nordlichtsepg-0.9/po/tr_TR.po 2010-11-20 19:21:06.000000000 +0100
msgstr ""
"Project-Id-Version: Nordlicht's EPG-Plugin 0.9\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2008-05-18 12:55+0200\n"
"POT-Creation-Date: 2010-11-20 19:18+0100\n"
"PO-Revision-Date: 2008-03-30 19:58+0200\n"
"Last-Translator: \n"
"Language-Team: <nordlicht@martins-kabuff.de>\n"
......
msgid "Hide main menu entry"
msgstr ""
msgid "Replace original schedule"
msgstr ""
msgid "Keep display after switching"
msgstr ""
(2-2/2)