Project

General

Profile

Feature #554 ยป graphlcd-0.1.9_cleanup-vdr-befor-1.5-7.diff

hd_brummy, 02/14/2011 08:46 PM

View differences:

graphlcd-0.1.9/compat.h 2011-02-14 19:03:54.000000000 +0100
#define _GRAPHLCD_COMPAT_H_
#if VDRVERSNUM < 10318
#define TimeMs time_ms
#else
#define TimeMs cTimeMs::Now
#endif
#if VDRVERSNUM >= 10318
#define Apid1() Apid(0)
#define Apid2() Apid(1)
#define Dpid1() Dpid(0)
#define Dpid2() Dpid(1)
#endif
#endif
graphlcd-0.1.9/display.c 2011-02-14 19:05:28.000000000 +0100
}
else
{
#if VDRVERSNUM < 10314
usleep(100000);
#else
cCondWait::SleepMs(100);
#endif
}
break;
......
}
else
{
#if VDRVERSNUM < 10314
usleep(100000);
#else
cCondWait::SleepMs(100);
#endif
}
}
else
{
#if VDRVERSNUM < 10314
usleep(100000);
#else
cCondWait::SleepMs(100);
#endif
}
}
else
......
}
else
{
#if VDRVERSNUM < 10314
usleep(100000);
#else
cCondWait::SleepMs(100);
#endif
}
}
else
......
State = LastState;
// activate delayed Update
#if VDRVERSNUM < 10314
usleep(100000);
#else
cCondWait::SleepMs(100);
#endif
}
break;
......
}
else
{
#if VDRVERSNUM < 10314
usleep(100000);
#else
cCondWait::SleepMs(100);
#endif
}
}
}
......
picType = ptLogoSmall;
break;
}
#if VDRVERSNUM >= 10300
char strTmp[64];
strcpy(strTmp, (const char *) ch->GetChannelID().ToString());
char * strId = strstr(strTmp, "-") + 1;
logo = logoList->GetLogo(strId, picType);
#else
char strId[16];
sprintf(strId, "%d", ch->Sid());
logo = logoList->GetLogo(strId, picType);
#endif
if (logo)
logo->First(TimeMs());
}
graphlcd-0.1.9/i18n.c 1970-01-01 01:00:00.000000000 +0100
/**
* GraphLCD plugin for the Video Disk Recorder
*
* i18n.c - Internationalization
*
* (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online de>
**/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; *
* if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
* *
***************************************************************************/
#include "i18n.h"
const tI18nPhrase Phrases[] =
{
{
"Output to graphic LCD",// English
"Ausgabe auf einem Grafik-LCD",// Deutsch
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Affichage sur un ?cran LCD",// Fran?ais
"",// TODO Norsk
"Ohjaa graafista LCD-n?ytt??",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Ecran grafic LCD/VFD",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Plugin active",
"Plugin aktiv",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Plugin actif",
"",// TODO Norsk
"Laajennos aktiivinen",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Plugin activat",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"JanFebMarAprMayJunJulAugSepOctNovDec",
"JanFebM?rAprMaiJunJulAugSepOktNovDez",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"JanFevMarAvrMaiJunJuiAouSepOctNovDec",
"",// TODO Norsk
"TamHelMaaHuhTouKesHeiEloSyyLokMarJou",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"IanFebMarAprMaiIunIulAugSepOctNoiDec",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Date/Time",
"Zeige Datum/Uhrzeit",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher Date/Heure",
"",// TODO Norsk
"N?yt? p?iv?m??r?/kello",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? Data/Ora",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"not in menu",
"nicht im Menu",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"pas dans le menu"
"",// TODO Norsk
"ei valikossa",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"nu ?n meniu",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Channel",
"Zeige Kanal",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher le nom de la Chaine",
"",// TODO Norsk
"N?yt? kanava",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? canalul",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Logo",
"Zeige Logo",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher le Logo",
"",// TODO Norsk
"N?yt? logo",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? logo",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Logo on Replay",
"Zeige Logo bei Wiedergabe",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher le Logo en lecture",
"",// TODO Norsk
"N?yt? logo toistotilassa",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? logo ?n timpul red?rii",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Symbols",
"Zeige Symbole",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher les Symboles",
"",// TODO Norsk
"N?yt? symbolit",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? simboluri",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show ET Symbols",
"Zeige ET Symbole",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher les Symboles ET",
"",// TODO Norsk
"N?yt? ET-symbolit",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? simboluri externe",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Program",
"Zeige Programm",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher les programmes",
"",// TODO Norsk
"N?yt? ohjelma",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? programul",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Timebar",
"Zeige Zeitbalken",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher la barre de progression",
"",// TODO Norsk
"N?yt? aikajana",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? linia timp",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Menu",
"Zeige Men?s",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher le menu",
"",// TODO Norsk
"N?yt? valikko",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? meniuri",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Messages",
"Zeige Nachrichten",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher les messages",
"",// TODO Norsk
"N?yt? viestit",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? mesaje",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Color Buttons",
"Zeige farbige Tasten",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher les boutons couleurs",
"",// TODO Norsk
"N?yt? v?ripainikkeet",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? butoanele colorate",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show Volume",
"Zeige Lautst?rke",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher le Volume",
"",// TODO Norsk
"N?yt? ??nenvoimakkuus",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? volumul",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"compressed",
"komprimiert",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Compress?",
"",// TODO Norsk
"pakattu",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"comprimat",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"auto",
"auto",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"auto",
"",// TODO Norsk
"automaattinen",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"auto",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"medium",
"mittel",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"moyen",
"",// TODO Norsk
"keskikokoinen",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"mediu",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"large",
"gro?",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"grand",
"",// TODO Norsk
"suuri",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"mare",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show free Cards",
"Zeige freie Karten",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Afficher les cartes disponibles",
"",// TODO Norsk
"N?yt? vapaat vastaanottimet",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Arat? receptoare libere",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Replay",
"Spiele",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Lecture",
"",// TODO Norsk
"Toistotila",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Redare",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"DVD",
"DVD",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"DVD",
"",// TODO Norsk
"DVD",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"DVD",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Music",
"Musik",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Musique",
"",// TODO Norsk
"Musiikki",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Muzic?",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"File",
"Datei",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Fichier:",
"",// TODO Norsk
"Tiedostot",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Fi?ier",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Image",
"Bild",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Image",
"",// TODO Norsk
"Kuvat",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Imagine",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"CD",
"CD",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"CD",
"",// TODO Norsk
"CD",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"CD",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Unknown title",
"Unbekannter Titel",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Titre inconnu",
"",// TODO Norsk
"Tuntematon nimi",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Titlu necunoscut",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Identify replay type",
"Wiedergabetyp erkennen",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Identifier le type de lecture",
"",// TODO Norsk
"Tunnista toistotilan tyyppi",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Identificarea tipului red?rii",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Modify replay string",
"Wiedergabetext ver?ndern",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Modifier la chaine de lecture",
"",// TODO Norsk
"Muokkaa toistotilan merkkijonoa",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Modifica textul red?rii",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Scroll text lines",
"Textzeilen scrollen",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Faire d?filer le texte",
"",// TODO Norsk
"Vierit? tekstirivej?",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Deruleaz? liniile text",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Scroll speed",
"Scrollgeschwindigkeit",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Vitesse de d?filement",
"",// TODO Norsk
"Vieritysnopeus",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Viteza derul?rii",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Scroll time interval",
"Zeitabstand beim Scrollen",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Intervalle de d?filement",
"",// TODO Norsk
"Vierityksen p?ivitysv?li",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Interval derulare",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"never",
"niemals",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"jamais",
"",// TODO Norsk
"ei koskaan",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"niciodat?",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"once",
"einmal",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"une fois",
"",// TODO Norsk
"kerran",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"odat?",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"always",
"st?ndig",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"toujours",
"",// TODO Norsk
"aina",// Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"?ntotdeauna",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Brightness on user activity",
"Helligkeit bei Nutzeraktivit?t",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Luminosit? en utilisation",
"",// TODO Norsk
"",// TODO Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Luminozitate la utilizare",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Brightness on user inactivity",
"Helligkeit bei Nutzerinaktivit?t",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Luminosit? en non-utilisation",
"",// TODO Norsk
"",// TODO Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Luminozitate la inactivitate",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Brightness delay [s]",
"Verz?gerung der Helligkeit [s]",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"Delai de Luminosit? [s]",
"",// TODO Norsk
"",// TODO Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"Limita luminozitate",// Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show spectrum analyzer",
"Zeige Spektrum Analyzer",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"",// TODO Francais
"",// TODO Norsk
"",// TODO Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"",// TODO Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{
"Show analyzer volume",
"Zeige Analyzer Lautst?rke",
"",// TODO Slovenski
"",// TODO Italiano
"",// TODO Nederlands
"",// TODO Portugu?s
"",// TODO Francais
"",// TODO Norsk
"",// TODO Suomi
"",// TODO Polski
"",// TODO Espa?ol
"",// TODO Ellinika
"",// TODO Svenska
"",// TODO Rom?n?
"",// TODO Magyar
"",// TODO Catal?
#if VDRVERSNUM > 10302
"",// TODO Russian
# if VDRVERSNUM > 10307
"",// TODO Croatian
# endif
#endif
},
{ NULL }
};
graphlcd-0.1.9/i18n.h 1970-01-01 01:00:00.000000000 +0100
/*
* GraphLCD plugin for the Video Disk Recorder
*
* i18n.h - Internationalization
*
* This file is released under the GNU General Public License. Refer
* to the COPYING file distributed with this package.
*
* (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
* (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
*/
#ifndef _GRAPHLCD_I18N_H_
#define _GRAPHLCD_I18N_H_
#include <vdr/i18n.h>
extern const tI18nPhrase Phrases[];
#endif
graphlcd-0.1.9/layout.c 2011-02-14 19:00:04.000000000 +0100
file += "/fonts/";
file += url.substr(4, pos - 4);
}
#if APIVERSNUM >= 10503
return font.LoadFT2(file, cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "ISO-8859-1", size);
#else
return font.LoadFT2(file, I18nCharSets()[Setup.OSDLanguage], size);
#endif
return font.LoadFT2(file, cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "ISO-8859-1", size);
}
else
{
graphlcd-0.1.9/Makefile 2011-02-14 19:10:03.000000000 +0100
### The main target:
TARGETS = libvdr-$(PLUGIN).so
ifneq ($(shell grep -l 'Phrases' $(VDRDIR)/i18n.c),$(VDRDIR)/i18n.c)
TARGETS += i18n
endif
all: $(TARGETS)
graphlcd-0.1.9/plugin.c 2011-02-14 19:07:00.000000000 +0100
dsyslog ("graphlcd plugin: display thread ready");
return true;
}
#if VDRVERSNUM < 10314
usleep(100000);
#else
cCondWait::SleepMs(100);
#endif
}
dsyslog ("graphlcd plugin: timeout while waiting for display thread");
return false;
graphlcd-0.1.9/state.c 2011-02-14 19:03:17.000000000 +0100
}
}
#if VDRVERSNUM < 10338
void cGraphLCDState::Recording(const cDevice * Device, const char * Name)
#else
void cGraphLCDState::Recording(const cDevice * Device, const char * Name, const char *FileName, bool On)
#endif
{
//printf("graphlcd plugin: cGraphLCDState::Recording %d %s\n", Device->CardIndex(), Name);
if (GraphLCDSetup.PluginActive)
{
mutex.Lock();
#if VDRVERSNUM < 10338
if (Name)
#else
if (On)
#endif
{
card[Device->DeviceNumber()].recordingCount++;
#if VDRVERSNUM < 10338
card[Device->DeviceNumber()].recordingName = Name;
#else
card[Device->DeviceNumber()].recordingName = Name ? Name : "";
#endif
}
else
{
......
}
}
#if VDRVERSNUM < 10338
void cGraphLCDState::Replaying(const cControl * Control, const char * Name)
#else
void cGraphLCDState::Replaying(const cControl * Control, const char * Name, const char *FileName, bool On)
#endif
{
//printf("graphlcd plugin: cGraphLCDState::Replaying %s\n", Name);
if (GraphLCDSetup.PluginActive)
{
#if VDRVERSNUM < 10338
if (Name)
#else
if (On)
#endif
{
mutex.Lock();
replay.control = (cControl *) Control;
replay.mode = eReplayNormal;
replay.name = "";
replay.loopmode = "";
#if VDRVERSNUM < 10338
if (!isempty(Name))
#else
if (Name && !isempty(Name))
#endif
{
if (GraphLCDSetup.IdentifyReplayType)
{
......
mutex.Unlock();
SetChannel(channel.number);
}
#if VDRVERSNUM < 10338
mDisplay->Replaying(Name ? true : false, replay.mode);
#else
mDisplay->Replaying(On, replay.mode);
#endif
}
}
......
{
mutex.Lock();
#if VDRVERSNUM < 10402
volume.value = Volume;
#else
if (!Absolute)
{
volume.value += Volume;
......
{
volume.value = Volume;
}
#endif
if (!first)
{
volume.lastChange = cTimeMs::Now();
......
void cGraphLCDState::GetProgramme()
{
mutex.Lock();
#if VDRVERSNUM < 10300
const cEventInfo * present = NULL, * following = NULL;
cMutexLock mutexLock;
const cSchedules * schedules = cSIProcessor::Schedules(mutexLock);
if (channel.id.Valid())
{
if (schedules)
{
const cSchedule * schedule = schedules->GetSchedule(channel.id);
if (schedule)
{
if ((present = schedule->GetPresentEvent()) != NULL)
{
event.presentTime = present->GetTime();
event.presentTitle = "";
if (!isempty(present->GetTitle()))
event.presentTitle = present->GetTitle();
event.presentSubtitle = "";
if (!isempty(present->GetSubtitle()))
event.presentSubtitle = present->GetSubtitle();
}
if ((following = schedule->GetFollowingEvent()) != NULL)
{
event.followingTime = following->GetTime();
event.followingTitle = "";
if (!isempty(following->GetTitle()))
event.followingTitle = following->GetTitle();
event.followingSubtitle = "";
if (!isempty(following->GetSubtitle()))
event.followingSubtitle = following->GetSubtitle();
}
}
}
}
#else
const cEvent * present = NULL, * following = NULL;
cSchedulesLock schedulesLock;
const cSchedules * schedules = cSchedules::Schedules(schedulesLock);
......
}
}
}
#endif
mutex.Unlock();
}
graphlcd-0.1.9/state.h 2011-02-14 19:07:42.000000000 +0100
void GetProgramme();
protected:
virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
#if VDRVERSNUM < 10338
virtual void Recording(const cDevice *Device, const char *Name);
virtual void Replaying(const cControl *Control, const char *Name);
#else
virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On);
virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On);
#endif
virtual void SetVolume(int Volume, bool Absolute);
virtual void OsdClear();
virtual void OsdTitle(const char *Title);
    (1-1/1)