1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Replaced asprintf with cString.

Updated French translation (Thanks to Michaël Nival).
Fixed service call with null data.
Added setup option to use a single 8 bpp OSD area.
This commit is contained in:
Rolf Ahrenberg 2008-02-18 04:20:00 +02:00
parent 71b2993345
commit 09acce8a0b
13 changed files with 159 additions and 91 deletions

15
HISTORY
View File

@ -45,7 +45,7 @@ VDR Plugin 'femon' Revision History
2004-04-04: Version 0.0.3c 2004-04-04: Version 0.0.3c
- Fixed minor bitrate calculation errors. - Fixed minor bitrate calculation errors.
- Added russian translation (Thanks to Vyacheslav Dikonov). - Added Russian translation (Thanks to Vyacheslav Dikonov).
2004-05-31: Version 0.0.4 2004-05-31: Version 0.0.4
@ -150,7 +150,7 @@ VDR Plugin 'femon' Revision History
2005-04-02: Version 0.8.8 2005-04-02: Version 0.8.8
- Cleaned up finnish translations (Thanks to Ville Skyttä). - Cleaned up Finnish translations (Thanks to Ville Skyttä).
2005-04-04: Version 0.8.9 2005-04-04: Version 0.8.9
@ -187,7 +187,7 @@ VDR Plugin 'femon' Revision History
2005-11-13: Version 0.9.5 2005-11-13: Version 0.9.5
- Updated for vdr-1.3.36. - Updated for vdr-1.3.36.
- Added french translation (Thanks to Nicolas Huillard). - Added French translation (Thanks to Nicolas Huillard).
- Enabled bitrate commands via SVDRP. - Enabled bitrate commands via SVDRP.
- Added new SVDRP commands. - Added new SVDRP commands.
- Modified femon service without incrementing version number. - Modified femon service without incrementing version number.
@ -227,7 +227,7 @@ VDR Plugin 'femon' Revision History
- Updated for vdr-1.4.0. - Updated for vdr-1.4.0.
- Modified APIVERSION code in Makefile. - Modified APIVERSION code in Makefile.
- Updated german translation (Thanks to Andreas Brachold). - Updated German translation (Thanks to Andreas Brachold).
2006-06-06: Version 1.0.1 2006-06-06: Version 1.0.1
@ -280,3 +280,10 @@ VDR Plugin 'femon' Revision History
- Updated Italian translation (Thanks to Gringo). - Updated Italian translation (Thanks to Gringo).
- Added '-Wno-parentheses' to the compiler options. - Added '-Wno-parentheses' to the compiler options.
- Mapped 'kInfo' as help key in setup menu. - Mapped 'kInfo' as help key in setup menu.
2008-02-18: Version 1.2.4
- Replaced asprintf with cString.
- Updated French translation (Thanks to Michaël Nival).
- Fixed service call with null data.
- Added setup option to use a single 8 bpp OSD area.

13
femon.c
View File

@ -19,7 +19,7 @@
#error "VDR-1.5.8 API version or greater is required!" #error "VDR-1.5.8 API version or greater is required!"
#endif #endif
static const char VERSION[] = "1.2.3"; static const char VERSION[] = "1.2.4";
static const char DESCRIPTION[] = trNOOP("DVB Signal Information Monitor (OSD)"); static const char DESCRIPTION[] = trNOOP("DVB Signal Information Monitor (OSD)");
static const char MAINMENUENTRY[] = trNOOP("Signal Information"); static const char MAINMENUENTRY[] = trNOOP("Signal Information");
@ -109,6 +109,7 @@ bool cPluginFemon::SetupParse(const char *Name, const char *Value)
{ {
// Parse your own setup parameters and store their values. // Parse your own setup parameters and store their values.
if (!strcasecmp(Name, "HideMenu")) femonConfig.hidemenu = atoi(Value); if (!strcasecmp(Name, "HideMenu")) femonConfig.hidemenu = atoi(Value);
else if (!strcasecmp(Name, "UseSingleArea")) femonConfig.usesinglearea = atoi(Value);
else if (!strcasecmp(Name, "DisplayMode")) femonConfig.displaymode = atoi(Value); else if (!strcasecmp(Name, "DisplayMode")) femonConfig.displaymode = atoi(Value);
else if (!strcasecmp(Name, "Position")) femonConfig.position = atoi(Value); else if (!strcasecmp(Name, "Position")) femonConfig.position = atoi(Value);
else if (!strcasecmp(Name, "OSDHeight")) femonConfig.osdheight = atoi(Value); else if (!strcasecmp(Name, "OSDHeight")) femonConfig.osdheight = atoi(Value);
@ -133,7 +134,8 @@ bool cPluginFemon::SetupParse(const char *Name, const char *Value)
bool cPluginFemon::Service(const char *Id, void *Data) bool cPluginFemon::Service(const char *Id, void *Data)
{ {
if ((strcmp(Id,"FemonService-v1.0") == 0) && Data) { if (strcmp(Id,"FemonService-v1.0") == 0) {
if (Data) {
FemonService_v1_0 *data = (FemonService_v1_0*)Data; FemonService_v1_0 *data = (FemonService_v1_0*)Data;
int ndx = cDevice::ActualDevice()->CardIndex(); int ndx = cDevice::ActualDevice()->CardIndex();
data->fe_name = getFrontendName(ndx); data->fe_name = getFrontendName(ndx);
@ -145,6 +147,7 @@ bool cPluginFemon::Service(const char *Id, void *Data)
data->video_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetVideoBitrate() : 0.0; data->video_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetVideoBitrate() : 0.0;
data->audio_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetAudioBitrate() : 0.0; data->audio_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetAudioBitrate() : 0.0;
data->dolby_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetDolbyBitrate() : 0.0; data->dolby_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetDolbyBitrate() : 0.0;
}
return true; return true;
} }
@ -306,7 +309,10 @@ void cMenuFemonSetup::Setup(void)
help.Clear(); help.Clear();
Add(new cMenuEditBoolItem(tr("Hide main menu entry"), &data.hidemenu)); Add(new cMenuEditBoolItem(tr("Hide main menu entry"), &data.hidemenu));
help.Append(tr("Define whether the main manu entry is hidden.")); help.Append(tr("Define whether the main menu entry is hidden."));
Add(new cMenuEditBoolItem(tr("Use single area (8bpp)"), &data.usesinglearea));
help.Append(tr("Define whether a single 8bpp OSD area is preferred.\n\nRequired by Truetype fonts and anti-aliasing."));
Add(new cMenuEditStraItem(tr("Default display mode"), &data.displaymode, eFemonModeMaxNumber, dispmodes)); Add(new cMenuEditStraItem(tr("Default display mode"), &data.displaymode, eFemonModeMaxNumber, dispmodes));
help.Append(tr("Define the default display mode at startup.")); help.Append(tr("Define the default display mode at startup."));
@ -366,6 +372,7 @@ void cMenuFemonSetup::Store(void)
Dprintf("%s()\n", __PRETTY_FUNCTION__); Dprintf("%s()\n", __PRETTY_FUNCTION__);
femonConfig = data; femonConfig = data;
SetupStore("HideMenu", femonConfig.hidemenu); SetupStore("HideMenu", femonConfig.hidemenu);
SetupStore("UseSingleArea", femonConfig.usesinglearea);
SetupStore("DisplayMode", femonConfig.displaymode); SetupStore("DisplayMode", femonConfig.displaymode);
SetupStore("Skin", femonConfig.skin); SetupStore("Skin", femonConfig.skin);
SetupStore("Theme", femonConfig.theme); SetupStore("Theme", femonConfig.theme);

View File

@ -14,6 +14,7 @@ cFemonConfig femonConfig;
cFemonConfig::cFemonConfig(void) cFemonConfig::cFemonConfig(void)
{ {
hidemenu = 0; hidemenu = 0;
usesinglearea = 0;
displaymode = 0; displaymode = 0;
skin = 0; skin = 0;
theme = 0; theme = 0;

View File

@ -25,6 +25,7 @@ struct cFemonConfig
public: public:
cFemonConfig(void); cFemonConfig(void);
int hidemenu; int hidemenu;
int usesinglearea;
int displaymode; int displaymode;
int skin; int skin;
int theme; int theme;

View File

@ -566,11 +566,9 @@ void cFemonOsd::Show(void)
Dprintf("%s()\n", __PRETTY_FUNCTION__); Dprintf("%s()\n", __PRETTY_FUNCTION__);
int apid[2] = {0, 0}; int apid[2] = {0, 0};
int dpid[2] = {0, 0}; int dpid[2] = {0, 0};
char *dev = NULL;
eTrackType track = cDevice::PrimaryDevice()->GetCurrentAudioTrack(); eTrackType track = cDevice::PrimaryDevice()->GetCurrentAudioTrack();
asprintf(&dev, FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0); cString dev = cString::sprintf(FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0);
m_Frontend = open(dev, O_RDONLY | O_NONBLOCK); m_Frontend = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (m_Frontend >= 0) { if (m_Frontend >= 0) {
if (ioctl(m_Frontend, FE_GET_INFO, &m_FrontendInfo) < 0) { if (ioctl(m_Frontend, FE_GET_INFO, &m_FrontendInfo) < 0) {
esyslog("ERROR: cFemonOsd::Show() cannot read frontend info."); esyslog("ERROR: cFemonOsd::Show() cannot read frontend info.");
@ -590,8 +588,9 @@ void cFemonOsd::Show(void)
m_Osd = cOsdProvider::NewOsd(((cOsd::OsdWidth() - OSDWIDTH) / 2) + cOsd::OsdLeft() + femonConfig.osdoffset, ((cOsd::OsdHeight() - OSDHEIGHT) / 2) + cOsd::OsdTop()); m_Osd = cOsdProvider::NewOsd(((cOsd::OsdWidth() - OSDWIDTH) / 2) + cOsd::OsdLeft() + femonConfig.osdoffset, ((cOsd::OsdHeight() - OSDHEIGHT) / 2) + cOsd::OsdTop());
if (m_Osd) { if (m_Osd) {
tArea Areas1[] = { { 0, 0, OSDWIDTH, OSDHEIGHT, femonTheme[femonConfig.theme].bpp } }; // try to use single 8bpp area
if (m_Osd->CanHandleAreas(Areas1, sizeof(Areas1) / sizeof(tArea)) == oeOk) { tArea Areas1[] = { { 0, 0, OSDWIDTH, OSDHEIGHT, 8 } };
if (femonConfig.usesinglearea && m_Osd->CanHandleAreas(Areas1, sizeof(Areas1) / sizeof(tArea)) == oeOk) {
m_Osd->SetAreas(Areas1, sizeof(Areas1) / sizeof(tArea)); m_Osd->SetAreas(Areas1, sizeof(Areas1) / sizeof(tArea));
} }
else { else {
@ -620,14 +619,12 @@ void cFemonOsd::ChannelSwitch(const cDevice * device, int channelNumber)
Dprintf("%s(%d,%d)\n", __PRETTY_FUNCTION__, device->DeviceNumber(), channelNumber); Dprintf("%s(%d,%d)\n", __PRETTY_FUNCTION__, device->DeviceNumber(), channelNumber);
int apid[2] = {0, 0}; int apid[2] = {0, 0};
int dpid[2] = {0, 0}; int dpid[2] = {0, 0};
char *dev = NULL;
eTrackType track = cDevice::PrimaryDevice()->GetCurrentAudioTrack(); eTrackType track = cDevice::PrimaryDevice()->GetCurrentAudioTrack();
if (!device->IsPrimaryDevice() || !channelNumber || cDevice::PrimaryDevice()->CurrentChannel() != channelNumber) if (!device->IsPrimaryDevice() || !channelNumber || cDevice::PrimaryDevice()->CurrentChannel() != channelNumber)
return; return;
close(m_Frontend); close(m_Frontend);
asprintf(&dev, FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0); cString dev = cString::sprintf(FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0);
m_Frontend = open(dev, O_RDONLY | O_NONBLOCK); m_Frontend = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (m_Frontend >= 0) { if (m_Frontend >= 0) {
if (ioctl(m_Frontend, FE_GET_INFO, &m_FrontendInfo) < 0) { if (ioctl(m_Frontend, FE_GET_INFO, &m_FrontendInfo) < 0) {
esyslog("ERROR: cFemonOsd::ChannelSwitch() cannot read frontend info."); esyslog("ERROR: cFemonOsd::ChannelSwitch() cannot read frontend info.");

View File

@ -23,12 +23,10 @@ cString getFrontendInfo(int cardIndex)
uint16_t snr = 0; uint16_t snr = 0;
uint32_t ber = 0; uint32_t ber = 0;
uint32_t unc = 0; uint32_t unc = 0;
char *dev = NULL;
cChannel *channel = Channels.GetByNumber(cDevice::CurrentChannel()); cChannel *channel = Channels.GetByNumber(cDevice::CurrentChannel());
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0);
int fe = open(dev, O_RDONLY | O_NONBLOCK); int fe = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (fe < 0) if (fe < 0)
return NULL; return NULL;
CHECK(ioctl(fe, FE_GET_INFO, &value)); CHECK(ioctl(fe, FE_GET_INFO, &value));
@ -53,11 +51,9 @@ cString getFrontendInfo(int cardIndex)
cString getFrontendName(int cardIndex) cString getFrontendName(int cardIndex)
{ {
struct dvb_frontend_info value; struct dvb_frontend_info value;
char *dev = NULL; cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0);
int fe = open(dev, O_RDONLY | O_NONBLOCK); int fe = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (fe < 0) if (fe < 0)
return NULL; return NULL;
CHECK(ioctl(fe, FE_GET_INFO, &value)); CHECK(ioctl(fe, FE_GET_INFO, &value));
@ -69,11 +65,9 @@ cString getFrontendName(int cardIndex)
cString getFrontendStatus(int cardIndex) cString getFrontendStatus(int cardIndex)
{ {
fe_status_t value; fe_status_t value;
char *dev = NULL; cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0);
int fe = open(dev, O_RDONLY | O_NONBLOCK); int fe = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (fe < 0) if (fe < 0)
return NULL; return NULL;
CHECK(ioctl(fe, FE_READ_STATUS, &value)); CHECK(ioctl(fe, FE_READ_STATUS, &value));
@ -85,11 +79,9 @@ cString getFrontendStatus(int cardIndex)
uint16_t getSignal(int cardIndex) uint16_t getSignal(int cardIndex)
{ {
uint16_t value = 0; uint16_t value = 0;
char *dev = NULL; cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0);
int fe = open(dev, O_RDONLY | O_NONBLOCK); int fe = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (fe < 0) if (fe < 0)
return (value); return (value);
CHECK(ioctl(fe, FE_READ_SIGNAL_STRENGTH, &value)); CHECK(ioctl(fe, FE_READ_SIGNAL_STRENGTH, &value));
@ -101,11 +93,9 @@ uint16_t getSignal(int cardIndex)
uint16_t getSNR(int cardIndex) uint16_t getSNR(int cardIndex)
{ {
uint16_t value = 0; uint16_t value = 0;
char *dev = NULL; cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0);
int fe = open(dev, O_RDONLY | O_NONBLOCK); int fe = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (fe < 0) if (fe < 0)
return (value); return (value);
CHECK(ioctl(fe, FE_READ_SNR, &value)); CHECK(ioctl(fe, FE_READ_SNR, &value));
@ -117,11 +107,9 @@ uint16_t getSNR(int cardIndex)
uint32_t getBER(int cardIndex) uint32_t getBER(int cardIndex)
{ {
uint32_t value = 0; uint32_t value = 0;
char *dev = NULL; cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0);
int fe = open(dev, O_RDONLY | O_NONBLOCK); int fe = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (fe < 0) if (fe < 0)
return (value); return (value);
CHECK(ioctl(fe, FE_READ_BER, &value)); CHECK(ioctl(fe, FE_READ_BER, &value));
@ -133,11 +121,9 @@ uint32_t getBER(int cardIndex)
uint32_t getUNC(int cardIndex) uint32_t getUNC(int cardIndex)
{ {
uint32_t value = 0; uint32_t value = 0;
char *dev = NULL; cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0);
int fe = open(dev, O_RDONLY | O_NONBLOCK); int fe = open(dev, O_RDONLY | O_NONBLOCK);
free(dev);
if (fe < 0) if (fe < 0)
return (value); return (value);
CHECK(ioctl(fe, FE_READ_UNCORRECTED_BLOCKS, &value)); CHECK(ioctl(fe, FE_READ_UNCORRECTED_BLOCKS, &value));

View File

@ -7,9 +7,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.2.3\n" "Project-Id-Version: femon 1.2.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-01-20 01:23+0200\n" "POT-Creation-Date: 2008-02-16 01:01+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
"Last-Translator: Christian Wieninger\n" "Last-Translator: Christian Wieninger\n"
"Language-Team: <vdr@linuxtv.org>\n" "Language-Team: <vdr@linuxtv.org>\n"
@ -65,7 +65,16 @@ msgstr "SilverGreen"
msgid "Hide main menu entry" msgid "Hide main menu entry"
msgstr "Hauptmenüeintrag verstecken" msgstr "Hauptmenüeintrag verstecken"
msgid "Define whether the main manu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr ""
msgid "Use single area (8bpp)"
msgstr "Ein Bildbereich benutzen (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr "" msgstr ""
msgid "Default display mode" msgid "Default display mode"

View File

@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.2.3\n" "Project-Id-Version: femon 1.2.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-01-20 01:23+0200\n" "POT-Creation-Date: 2008-02-16 01:01+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
"Last-Translator: Luis Palacios\n" "Last-Translator: Luis Palacios\n"
"Language-Team: <vdr@linuxtv.org>\n" "Language-Team: <vdr@linuxtv.org>\n"
@ -63,7 +63,16 @@ msgstr "SilverGreen"
msgid "Hide main menu entry" msgid "Hide main menu entry"
msgstr "Ocultar en el menú principal" msgstr "Ocultar en el menú principal"
msgid "Define whether the main manu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr ""
msgid "Use single area (8bpp)"
msgstr ""
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr "" msgstr ""
msgid "Default display mode" msgid "Default display mode"

View File

@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.2.3\n" "Project-Id-Version: femon 1.2.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-01-20 01:23+0200\n" "POT-Creation-Date: 2008-02-16 01:01+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
"Last-Translator: Arthur Konovalov\n" "Last-Translator: Arthur Konovalov\n"
"Language-Team: <vdr@linuxtv.org>\n" "Language-Team: <vdr@linuxtv.org>\n"
@ -63,7 +63,16 @@ msgstr "SilverGreen"
msgid "Hide main menu entry" msgid "Hide main menu entry"
msgstr "Peida valik peamenüüs" msgstr "Peida valik peamenüüs"
msgid "Define whether the main manu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr ""
msgid "Use single area (8bpp)"
msgstr ""
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr "" msgstr ""
msgid "Default display mode" msgid "Default display mode"

View File

@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.2.3\n" "Project-Id-Version: femon 1.2.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-01-20 00:50+0200\n" "POT-Creation-Date: 2008-02-16 01:01+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
"Last-Translator: Rolf Ahrenberg\n" "Last-Translator: Rolf Ahrenberg\n"
"Language-Team: <vdr@linuxtv.org>\n" "Language-Team: <vdr@linuxtv.org>\n"
@ -63,9 +63,21 @@ msgstr "SilverGreen"
msgid "Hide main menu entry" msgid "Hide main menu entry"
msgstr "Piilota valinta päävalikosta" msgstr "Piilota valinta päävalikosta"
msgid "Define whether the main manu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "Määrittele, näytetäänkö laajennoksen valinta päävalikossa." msgstr "Määrittele, näytetäänkö laajennoksen valinta päävalikossa."
msgid "Use single area (8bpp)"
msgstr "Käytä yksittäistä kuva-aluetta (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
"Määrittele, yritetäänkö käyttää yksittäistä 8bpp kuva-aluetta.\n"
"\n"
"Truetype-kirjasimet ja reunan pehmennys vaativat tämän asetuksen."
msgid "Default display mode" msgid "Default display mode"
msgstr "Oletusnäyttötila" msgstr "Oletusnäyttötila"

View File

@ -5,11 +5,11 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.2.3\n" "Project-Id-Version: femon 1.2.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-01-20 01:23+0200\n" "POT-Creation-Date: 2008-02-16 01:01+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2008-01-26 09:59+0100\n"
"Last-Translator: Nicolas Huillard\n" "Last-Translator: NIVAL Michaël <mnival@club-internet.fr>\n"
"Language-Team: <vdr@linuxtv.org>\n" "Language-Team: <vdr@linuxtv.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Type: text/plain; charset=ISO-8859-1\n"
@ -22,7 +22,7 @@ msgid "Signal Information"
msgstr "Signal DVB" msgstr "Signal DVB"
msgid "Femon not available while replaying" msgid "Femon not available while replaying"
msgstr "" msgstr "Femon n'est pas disponible lors de la lecture"
msgid "basic" msgid "basic"
msgstr "basique" msgstr "basique"
@ -63,89 +63,101 @@ msgstr "SilverGreen"
msgid "Hide main menu entry" msgid "Hide main menu entry"
msgstr "Masquer dans le menu principal" msgstr "Masquer dans le menu principal"
msgid "Define whether the main manu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "Définit si l'entrée doit être masquée dans le menu principal."
msgid "Use single area (8bpp)"
msgstr "Utiliser zone unique (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr "" msgstr ""
"Définit si une seule zone OSD de 8bpp est préférée.\n"
"\n"
"Requis par les polices Truetype et l'anti-aliasing."
msgid "Default display mode" msgid "Default display mode"
msgstr "Affichage par défaut" msgstr "Affichage par défaut"
msgid "Define the default display mode at startup." msgid "Define the default display mode at startup."
msgstr "" msgstr "Définit l'affichage par défaut au démarrage."
msgid "Define the used OSD skin." msgid "Define the used OSD skin."
msgstr "" msgstr "Définit le skin OSD à utiliser."
msgid "Define the used OSD theme." msgid "Define the used OSD theme."
msgstr "" msgstr "Définit le thème OSD à utiliser."
msgid "Position" msgid "Position"
msgstr "Position" msgstr "Position"
msgid "Define the position of OSD." msgid "Define the position of OSD."
msgstr "" msgstr "Définit la position de l'OSD."
msgid "Define the height of OSD." msgid "Define the height of OSD."
msgstr "" msgstr "Définit l'hauteur de l'OSD."
msgid "Horizontal offset" msgid "Horizontal offset"
msgstr "Déplacement horizontal" msgstr "Déplacement horizontal"
msgid "Define the horizontal offset of OSD." msgid "Define the horizontal offset of OSD."
msgstr "" msgstr "Définit le déplacement horizontal de l'OSD."
msgid "Show CA system" msgid "Show CA system"
msgstr "Système CA" msgstr "Afficher système CA"
msgid "Define whether the CA system is shown as text." msgid "Define whether the CA system is shown as text."
msgstr "" msgstr "Définit si le système CA doit être affiché."
msgid "Red limit [%]" msgid "Red limit [%]"
msgstr "Limite du rouge (%)" msgstr "Limite du rouge (%)"
msgid "Define a limit for red bar, which is used to indicate a bad signal." msgid "Define a limit for red bar, which is used to indicate a bad signal."
msgstr "" msgstr "Définit la limite de la barre rouge, qui est utilisé pour indiquer un mauvais signal."
msgid "Green limit [%]" msgid "Green limit [%]"
msgstr "Limite du vert (%)" msgstr "Limite du vert (%)"
msgid "Define a limit for green bar, which is used to indicate a good signal." msgid "Define a limit for green bar, which is used to indicate a good signal."
msgstr "" msgstr "Définit la limite de la barre rouge, qui est utilisé pour indiquer un bon signal."
msgid "OSD update interval [0.1s]" msgid "OSD update interval [0.1s]"
msgstr "Intervalle de mise à jour (0,1s)" msgstr "Intervalle de mise à jour (0,1s)"
msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load."
msgstr "" msgstr "Définit l'intervalle de mise à jour de l'OSD. Un petit intervalle génère une charge CPU plus importante."
msgid "Analyze stream" msgid "Analyze stream"
msgstr "Analyser le flux" msgstr "Analyser le flux"
msgid "Define whether the DVB stream is analyzed and bitrates calculated." msgid "Define whether the DVB stream is analyzed and bitrates calculated."
msgstr "" msgstr "Définit si le flux DVB est analysé et le bitrates calculé."
msgid "Calculation interval [0.1s]" msgid "Calculation interval [0.1s]"
msgstr "Intervalle de calcul (0,1s)" msgstr "Intervalle de calcul (0,1s)"
msgid "Define an interval for calculation. The bigger interval generates more stable values." msgid "Define an interval for calculation. The bigger interval generates more stable values."
msgstr "" msgstr "Définit l'intervalle de cacul. Un plus grand intervalle génère une valeur plus stable."
msgid "Use SVDRP service" msgid "Use SVDRP service"
msgstr "" msgstr "Utiliser le service SVDRP"
msgid "Define whether the SVDRP service is used in client/server setups." msgid "Define whether the SVDRP service is used in client/server setups."
msgstr "" msgstr "Définit si le service SVDRP est utilisé en configuration client/serveur."
msgid "SVDRP service port" msgid "SVDRP service port"
msgstr "" msgstr "Port du service SVDRP"
msgid "Define the port number of SVDRP service." msgid "Define the port number of SVDRP service."
msgstr "" msgstr "Définit le port d'écoute du service SVDRP."
msgid "SVDRP service IP" msgid "SVDRP service IP"
msgstr "" msgstr "IP du service SVDRP"
msgid "Define the IP address of SVDRP service." msgid "Define the IP address of SVDRP service."
msgstr "" msgstr "Définit l'adresse IP du service SVDRP."
msgid "Help" msgid "Help"
msgstr "Aide" msgstr "Aide"

View File

@ -6,9 +6,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.2.3\n" "Project-Id-Version: femon 1.2.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-01-20 01:23+0200\n" "POT-Creation-Date: 2008-02-16 01:01+0200\n"
"PO-Revision-Date: 2007-12-26 19:38+0100\n" "PO-Revision-Date: 2007-12-26 19:38+0100\n"
"Last-Translator: Gringo <vdr-italian@tiscali.it>\n" "Last-Translator: Gringo <vdr-italian@tiscali.it>\n"
"Language-Team: <vdr@linuxtv.org>\n" "Language-Team: <vdr@linuxtv.org>\n"
@ -64,7 +64,16 @@ msgstr "SilverGreen"
msgid "Hide main menu entry" msgid "Hide main menu entry"
msgstr "Nascondi voce menu principale" msgstr "Nascondi voce menu principale"
msgid "Define whether the main manu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr ""
msgid "Use single area (8bpp)"
msgstr "Utilizza area singola (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr "" msgstr ""
msgid "Default display mode" msgid "Default display mode"

View File

@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.2.3\n" "Project-Id-Version: femon 1.2.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-01-20 01:23+0200\n" "POT-Creation-Date: 2008-02-16 01:01+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
"Last-Translator: Vyacheslav Dikonov\n" "Last-Translator: Vyacheslav Dikonov\n"
"Language-Team: <vdr@linuxtv.org>\n" "Language-Team: <vdr@linuxtv.org>\n"
@ -63,7 +63,16 @@ msgstr "SilverGreen"
msgid "Hide main menu entry" msgid "Hide main menu entry"
msgstr "ÁÚàëâì ÚÞÜÐÝÔã Ò ÓÛÐÒÝÞÜ ÜÕÝî" msgstr "ÁÚàëâì ÚÞÜÐÝÔã Ò ÓÛÐÒÝÞÜ ÜÕÝî"
msgid "Define whether the main manu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr ""
msgid "Use single area (8bpp)"
msgstr ""
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr "" msgstr ""
msgid "Default display mode" msgid "Default display mode"