Added help texts.

This commit is contained in:
Rolf Ahrenberg 2008-01-19 23:17:20 +00:00
parent 18c2962cd9
commit caf326bb4d
5 changed files with 154 additions and 13 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: iptv 0.0.5\n" "Project-Id-Version: iptv 0.0.5\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2007-10-27 12:49+0200\n" "POT-Creation-Date: 2008-01-19 23:59+0200\n"
"PO-Revision-Date: 2007-10-29 21:19+0100\n" "PO-Revision-Date: 2007-10-29 21:19+0100\n"
"Last-Translator: Tobias Grimm <tg@e-tobi.net>\n" "Last-Translator: Tobias Grimm <tg@e-tobi.net>\n"
"Language-Team: German\n" "Language-Team: German\n"
@ -106,22 +106,54 @@ msgstr "IPTV Informationen nicht verfügbar!"
msgid "TS buffer size [MB]" msgid "TS buffer size [MB]"
msgstr "TS Puffergröße [MB]" msgstr "TS Puffergröße [MB]"
msgid "Define a ringbuffer size for transport streams in megabytes."
msgstr ""
msgid "TS buffer prefill ratio [%]" msgid "TS buffer prefill ratio [%]"
msgstr "TS Puffer-Preload [%]" msgstr "TS Puffer-Preload [%]"
msgid "Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR."
msgstr ""
msgid "EXT protocol base port" msgid "EXT protocol base port"
msgstr "EXT Protokoll Basisport" msgstr "EXT Protokoll Basisport"
msgid ""
"Define a base port used in EXT protocol.\n"
"\n"
"The port range is defined by the number of IPTV devices."
msgstr ""
msgid "Use section filtering" msgid "Use section filtering"
msgstr "Benutze Abschnittsfilterung" msgstr "Benutze Abschnittsfilterung"
msgid "Define whether the section filtering shall be used."
msgstr ""
msgid "Scan Sid automatically" msgid "Scan Sid automatically"
msgstr "Scanne SID automatisch" msgstr "Scanne SID automatisch"
msgid ""
"Define whether the service id shall be scanned automatically.\n"
"\n"
"Requires the section filtering."
msgstr ""
msgid "Disable filters" msgid "Disable filters"
msgstr "Deaktiviere Filter" msgstr "Deaktiviere Filter"
msgid ""
"Define number of section filters to be disabled.\n"
"\n"
"Certain section filters might cause some unwanted behaviour to VDR such as time being falsely synchronized etc."
msgstr ""
#. TRANSLATORS: note the singular! #. TRANSLATORS: note the singular!
msgid "Disable filter" msgid "Disable filter"
msgstr "Deaktiviere Filter" msgstr "Deaktiviere Filter"
msgid "Define an ill-behaving filter to be blacklisted."
msgstr ""
msgid "Help"
msgstr "Hilfe"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: iptv 0.0.5\n" "Project-Id-Version: iptv 0.0.5\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2007-10-20 19:43+0300\n" "POT-Creation-Date: 2008-01-19 23:59+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"
@ -105,21 +105,54 @@ msgstr "IPTV-tietoja ei saatavilla!"
msgid "TS buffer size [MB]" msgid "TS buffer size [MB]"
msgstr "TS-puskurin koko [MB]" msgstr "TS-puskurin koko [MB]"
msgid "Define a ringbuffer size for transport streams in megabytes."
msgstr "Määritä rengaspuskurin koko TS-lähetteelle megatavuina."
msgid "TS buffer prefill ratio [%]" msgid "TS buffer prefill ratio [%]"
msgstr "TS-puskurin esitäyttöaste [%]" msgstr "TS-puskurin esitäyttöaste [%]"
msgid "Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR."
msgstr "Määrittele TS-rengaspuskurin esitäyttöaste, jonka jälkeen lähetettä aletaan siirtämään eteenpäin VDR:lle."
msgid "EXT protocol base port" msgid "EXT protocol base port"
msgstr "EXT-protokollan perusportti" msgstr "EXT-protokollan perusportti"
msgid ""
"Define a base port used in EXT protocol.\n"
"\n"
"The port range is defined by the number of IPTV devices."
msgstr "Määrittele EXT-protokollan käyttämä perusportti.\n\nPorttiavaruuden koko määräytyy käytettyjen IPTV-laitteiden mukaan. "
msgid "Use section filtering" msgid "Use section filtering"
msgstr "Käytä sektioiden suodatusta" msgstr "Käytä sektioiden suodatusta"
msgid "Define whether the section filtering shall be used."
msgstr "Määrittele suodatuksen käyttö sektioille."
msgid "Scan Sid automatically" msgid "Scan Sid automatically"
msgstr "Etsi palvelu-ID automaattisesti" msgstr "Etsi palvelu-ID automaattisesti"
msgid ""
"Define whether the service id shall be scanned automatically.\n"
"\n"
"Requires the section filtering."
msgstr "Määrittele etsitäänkö palvelu-ID automaattisesti.\n\nAsetus vaatii suodatuksen käyttöönoton sektioille."
msgid "Disable filters" msgid "Disable filters"
msgstr "Poista suodattimia käytöstä" msgstr "Poista suodattimia käytöstä"
msgid ""
"Define number of section filters to be disabled.\n"
"\n"
"Certain section filters might cause some unwanted behaviour to VDR such as time being falsely synchronized etc."
msgstr "Määrittele käytöstä poistettavien suodattimien lukumäärä sektioille.\n\nTietyt sektiot saattavat aiheuttaa virheellistä toimintaa VDR:ssä, esimerkiksi asettavat väärän kellonajan."
#. TRANSLATORS: note the singular! #. TRANSLATORS: note the singular!
msgid "Disable filter" msgid "Disable filter"
msgstr "Poista suodatin käytöstä" msgstr "Poista suodatin käytöstä"
msgid "Define an ill-behaving filter to be blacklisted."
msgstr "Määrittele käytöstä poistettava suodatin, joka lisätään mustalle listalle."
msgid "Help"
msgstr "Opaste"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: iptv 0.0.5\n" "Project-Id-Version: iptv 0.0.5\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2007-11-07 20:18+0200\n" "POT-Creation-Date: 2008-01-19 23:59+0200\n"
"PO-Revision-Date: 2007-11-07 20:18+0100\n" "PO-Revision-Date: 2007-11-07 20:18+0100\n"
"Last-Translator: Bruno ROUSSEL <bruno.roussel@free.fr>\n" "Last-Translator: Bruno ROUSSEL <bruno.roussel@free.fr>\n"
"Language-Team: French\n" "Language-Team: French\n"
@ -106,22 +106,54 @@ msgstr "Information sur IPTV non disponible !"
msgid "TS buffer size [MB]" msgid "TS buffer size [MB]"
msgstr "Taille du buffer TS [MB]" msgstr "Taille du buffer TS [MB]"
msgid "Define a ringbuffer size for transport streams in megabytes."
msgstr ""
msgid "TS buffer prefill ratio [%]" msgid "TS buffer prefill ratio [%]"
msgstr "Taux du buffer de pré-remplissage TS [%]" msgstr "Taux du buffer de pré-remplissage TS [%]"
msgid "Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR."
msgstr ""
msgid "EXT protocol base port" msgid "EXT protocol base port"
msgstr "Port de base du protocole EXT" msgstr "Port de base du protocole EXT"
msgid ""
"Define a base port used in EXT protocol.\n"
"\n"
"The port range is defined by the number of IPTV devices."
msgstr ""
msgid "Use section filtering" msgid "Use section filtering"
msgstr "Utiliser le filtrage de section" msgstr "Utiliser le filtrage de section"
msgid "Define whether the section filtering shall be used."
msgstr ""
msgid "Scan Sid automatically" msgid "Scan Sid automatically"
msgstr "Scanne les SID automatiquement" msgstr "Scanne les SID automatiquement"
msgid ""
"Define whether the service id shall be scanned automatically.\n"
"\n"
"Requires the section filtering."
msgstr ""
msgid "Disable filters" msgid "Disable filters"
msgstr "Désactiver les filtres" msgstr "Désactiver les filtres"
msgid ""
"Define number of section filters to be disabled.\n"
"\n"
"Certain section filters might cause some unwanted behaviour to VDR such as time being falsely synchronized etc."
msgstr ""
#. TRANSLATORS: note the singular! #. TRANSLATORS: note the singular!
msgid "Disable filter" msgid "Disable filter"
msgstr "Désactiver le filtre" msgstr "Désactiver le filtre"
msgid "Define an ill-behaving filter to be blacklisted."
msgstr ""
msgid "Help"
msgstr "Aide"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: iptv 0.0.5\n" "Project-Id-Version: iptv 0.0.5\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2007-10-27 12:49+0200\n" "POT-Creation-Date: 2008-01-19 23:59+0200\n"
"PO-Revision-Date: 2008-01-13 16:46+0100\n" "PO-Revision-Date: 2008-01-13 16:46+0100\n"
"Last-Translator: Gringo <vdr-italian@tiscali.it>\n" "Last-Translator: Gringo <vdr-italian@tiscali.it>\n"
"Language-Team: Italian\n" "Language-Team: Italian\n"
@ -106,22 +106,54 @@ msgstr "Informazione IPTV non disponibile!"
msgid "TS buffer size [MB]" msgid "TS buffer size [MB]"
msgstr "Dimensione buffer TS [MB]" msgstr "Dimensione buffer TS [MB]"
msgid "Define a ringbuffer size for transport streams in megabytes."
msgstr ""
msgid "TS buffer prefill ratio [%]" msgid "TS buffer prefill ratio [%]"
msgstr "Percentuale preriempimento buffer TS [%]" msgstr "Percentuale preriempimento buffer TS [%]"
msgid "Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR."
msgstr ""
msgid "EXT protocol base port" msgid "EXT protocol base port"
msgstr "Porta base protocollo EXT" msgstr "Porta base protocollo EXT"
msgid ""
"Define a base port used in EXT protocol.\n"
"\n"
"The port range is defined by the number of IPTV devices."
msgstr ""
msgid "Use section filtering" msgid "Use section filtering"
msgstr "Utilizza sezione filtri" msgstr "Utilizza sezione filtri"
msgid "Define whether the section filtering shall be used."
msgstr ""
msgid "Scan Sid automatically" msgid "Scan Sid automatically"
msgstr "Scansione Sid automatica" msgstr "Scansione Sid automatica"
msgid ""
"Define whether the service id shall be scanned automatically.\n"
"\n"
"Requires the section filtering."
msgstr ""
msgid "Disable filters" msgid "Disable filters"
msgstr "Disabilita filtri" msgstr "Disabilita filtri"
msgid ""
"Define number of section filters to be disabled.\n"
"\n"
"Certain section filters might cause some unwanted behaviour to VDR such as time being falsely synchronized etc."
msgstr ""
#. TRANSLATORS: note the singular! #. TRANSLATORS: note the singular!
msgid "Disable filter" msgid "Disable filter"
msgstr "Disabilita filtro" msgstr "Disabilita filtro"
msgid "Define an ill-behaving filter to be blacklisted."
msgstr ""
msgid "Help"
msgstr "Aiuto"

30
setup.c
View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: setup.c,v 1.46 2008/01/19 16:24:40 rahrenbe Exp $ * $Id: setup.c,v 1.47 2008/01/19 23:17:20 rahrenbe Exp $
*/ */
#include <string.h> #include <string.h>
@ -637,27 +637,36 @@ cIptvPluginSetup::cIptvPluginSetup()
void cIptvPluginSetup::Setup(void) void cIptvPluginSetup::Setup(void)
{ {
int current = Current(); int current = Current();
Clear(); Clear();
help.Clear(); help.Clear();
Add(new cMenuEditIntItem( tr("TS buffer size [MB]"), &tsBufferSize, 1, 4));
help.Append(tr("No help available!")); Add(new cMenuEditIntItem( tr("TS buffer size [MB]"), &tsBufferSize, 1, 4));
help.Append(tr("Define a ringbuffer size for transport streams in megabytes."));
Add(new cMenuEditIntItem( tr("TS buffer prefill ratio [%]"), &tsBufferPrefill, 0, 40)); Add(new cMenuEditIntItem( tr("TS buffer prefill ratio [%]"), &tsBufferPrefill, 0, 40));
help.Append(tr("No help available!")); help.Append(tr("Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR."));
Add(new cMenuEditIntItem( tr("EXT protocol base port"), &extProtocolBasePort, 0, 0xFFF7)); Add(new cMenuEditIntItem( tr("EXT protocol base port"), &extProtocolBasePort, 0, 0xFFF7));
help.Append(tr("No help available!")); help.Append(tr("Define a base port used in EXT protocol.\n\nThe port range is defined by the number of IPTV devices."));
Add(new cMenuEditBoolItem(tr("Use section filtering"), &sectionFiltering)); Add(new cMenuEditBoolItem(tr("Use section filtering"), &sectionFiltering));
help.Append(tr("No help available!")); help.Append(tr("Define whether the section filtering shall be used."));
if (sectionFiltering) { if (sectionFiltering) {
Add(new cMenuEditBoolItem(tr("Scan Sid automatically"), &sidScanning)); Add(new cMenuEditBoolItem(tr("Scan Sid automatically"), &sidScanning));
help.Append(tr("No help available!")); help.Append(tr("Define whether the service id shall be scanned automatically.\n\nRequires the section filtering."));
Add(new cMenuEditIntItem( tr("Disable filters"), &numDisabledFilters, 0, SECTION_FILTER_TABLE_SIZE)); Add(new cMenuEditIntItem( tr("Disable filters"), &numDisabledFilters, 0, SECTION_FILTER_TABLE_SIZE));
help.Append(tr("No help available!")); help.Append(tr("Define number of section filters to be disabled.\n\nCertain section filters might cause some unwanted behaviour to VDR such as time being falsely synchronized etc."));
for (int i = 0; i < numDisabledFilters; ++i) { for (int i = 0; i < numDisabledFilters; ++i) {
// TRANSLATORS: note the singular! // TRANSLATORS: note the singular!
Add(new cMenuEditStraItem(tr("Disable filter"), &disabledFilterIndexes[i], SECTION_FILTER_TABLE_SIZE, disabledFilterNames)); Add(new cMenuEditStraItem(tr("Disable filter"), &disabledFilterIndexes[i], SECTION_FILTER_TABLE_SIZE, disabledFilterNames));
help.Append(tr("No help available!")); help.Append(tr("Define an ill-behaving filter to be blacklisted."));
} }
} }
SetCurrent(Get(current)); SetCurrent(Get(current));
Display(); Display();
} }
@ -683,6 +692,7 @@ eOSState cIptvPluginSetup::ProcessKey(eKeys Key)
int oldsectionFiltering = sectionFiltering; int oldsectionFiltering = sectionFiltering;
int oldNumDisabledFilters = numDisabledFilters; int oldNumDisabledFilters = numDisabledFilters;
eOSState state = cMenuSetupPage::ProcessKey(Key); eOSState state = cMenuSetupPage::ProcessKey(Key);
if (state == osUnknown) { if (state == osUnknown) {
switch (Key) { switch (Key) {
case kRed: return EditChannel(); case kRed: return EditChannel();
@ -692,11 +702,13 @@ eOSState cIptvPluginSetup::ProcessKey(eKeys Key)
default: state = osContinue; default: state = osContinue;
} }
} }
if ((Key != kNone) && ((numDisabledFilters != oldNumDisabledFilters) || (sectionFiltering != oldsectionFiltering))) { if ((Key != kNone) && ((numDisabledFilters != oldNumDisabledFilters) || (sectionFiltering != oldsectionFiltering))) {
while ((numDisabledFilters < oldNumDisabledFilters) && (oldNumDisabledFilters > 0)) while ((numDisabledFilters < oldNumDisabledFilters) && (oldNumDisabledFilters > 0))
disabledFilterIndexes[--oldNumDisabledFilters] = -1; disabledFilterIndexes[--oldNumDisabledFilters] = -1;
Setup(); Setup();
} }
return state; return state;
} }