1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added units to Setup parameters

This commit is contained in:
Klaus Schmidinger 2002-03-31 13:39:56 +02:00
parent 767133a18e
commit cebd81cd60
3 changed files with 121 additions and 120 deletions

View File

@ -1151,3 +1151,4 @@ Video Disk Recorder Revision History
(thanks to Achim Lange for reporting this one). (thanks to Achim Lange for reporting this one).
- Fixed a bug in the 'First day' timer parameter for timers that record over - Fixed a bug in the 'First day' timer parameter for timers that record over
midnight. midnight.
- Added units to Setup parameters.

196
i18n.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: i18n.c 1.74 2002/03/29 16:20:39 kls Exp $ * $Id: i18n.c 1.75 2002/03/31 13:37:44 kls Exp $
* *
* Slovenian translations provided by Miha Setina <mihasetina@softhome.net> * Slovenian translations provided by Miha Setina <mihasetina@softhome.net>
* Italian translations provided by Alberto Carraro <bertocar@tin.it> * Italian translations provided by Alberto Carraro <bertocar@tin.it>
@ -995,15 +995,15 @@ const tPhrase Phrases[] = {
"", // TODO "", // TODO
"Korkeus", "Korkeus",
}, },
{ "Setup.OSD$Message time", { "Setup.OSD$Message time (s)",
"Anzeigedauer für Nachrichten", "Anzeigedauer für Nachrichten (s)",
"", // TODO "", // TODO
"Tempo del messaggio", "Tempo del messaggio (s)",
"Weergave duur van berichten", "Weergave duur van berichten (s)",
"Mostrar contador", "Mostrar contador (s)",
"Durée affichage écran", "Durée affichage écran (s)",
"", // TODO "", // TODO
"Ilmoitusten näkymisaika", "Ilmoitusten näkymisaika (s)",
}, },
{ "Setup.OSD$Channel info position", { "Setup.OSD$Channel info position",
"Kanal-Info Position", "Kanal-Info Position",
@ -1055,15 +1055,15 @@ const tPhrase Phrases[] = {
"", // TODO "", // TODO
"Nauhoitushakemistot", "Nauhoitushakemistot",
}, },
{ "Setup.EPG$EPG scan timeout", { "Setup.EPG$EPG scan timeout (h)",
"Zeit bis EPG Scan", "Zeit bis EPG Scan (h)",
"Cas do EPG pregleda", "Cas do EPG pregleda (h)",
"Timeout EPG", "Timeout EPG (h)",
"EPG-scan Timeout", "EPG-scan Timeout (h)",
"Expirou o EPG", "Expirou o EPG (h)",
"Temps maxi EPG", "Temps maxi EPG (h)",
"Ledig tid før EPG-søk", "Ledig tid før EPG-søk (h)",
"Ohjelmatied. odotusaika", "Ohjelmatied. odotusaika (h)",
}, },
{ "Setup.EPG$EPG bugfix level", { "Setup.EPG$EPG bugfix level",
"EPG Fehlerbereinigung", "EPG Fehlerbereinigung",
@ -1115,35 +1115,35 @@ const tPhrase Phrases[] = {
"TV Format", "TV Format",
"Kuvamuoto", "Kuvamuoto",
}, },
{ "Setup.LNB$SLOF", { "Setup.LNB$SLOF (MHz)",
"SLOF", "SLOF (MHz)",
"SLOF", "SLOF (MHz)",
"SLOF", "SLOF (MHz)",
"SLOF", "SLOF (MHz)",
"Limite de bandas LNB", "Limite de bandas LNB (MHz)",
"Limite de bandes LNB", "Limite de bandes LNB (MHz)",
"LO-grensefrekvens", "LO-grensefrekvens (MHz)",
"SLOF", "SLOF (MHz)",
}, },
{ "Setup.LNB$Low LNB frequency", { "Setup.LNB$Low LNB frequency (MHz)",
"Untere LNB-Frequenz", "Untere LNB-Frequenz (MHz)",
"Spodnja LNB-frek.", "Spodnja LNB-frek. (MHz)",
"Freq LO LNB", "Freq LO LNB (MHz)",
"Laagste LNB frequentie", "Laagste LNB frequentie (MHz)",
"Frequência base LNB", "Frequência base LNB (MHz)",
"Fréquence basse LNB", "Fréquence basse LNB (MHz)",
"LO-frekvens i lavbåndet", "LO-frekvens i lavbåndet (MHz)",
"LO LNB taajuus", "LO LNB taajuus (MHz)",
}, },
{ "Setup.LNB$High LNB frequency", { "Setup.LNB$High LNB frequency (MHz)",
"Obere LNB-Frequenz", "Obere LNB-Frequenz (MHz)",
"Zgornja LNB-frek.", "Zgornja LNB-frek. (MHz)",
"Freq HI LNB", "Freq HI LNB (MHz)",
"Hoogste LNB frequentie", "Hoogste LNB frequentie (MHz)",
"Frequência alta LNB", "Frequência alta LNB (MHz)",
"Fréquence haute LNB", "Fréquence haute LNB (MHz)",
"LO-frekvens i høybåndet", "LO-frekvens i høybåndet (MHz)",
"HI LNB taajuus", "HI LNB taajuus (MHz)",
}, },
{ "Setup.LNB$Use DiSEqC", { "Setup.LNB$Use DiSEqC",
"DiSEqC benutzen", "DiSEqC benutzen",
@ -1165,25 +1165,25 @@ const tPhrase Phrases[] = {
"CICAM DVB", "CICAM DVB",
"CICAM DVB", "CICAM DVB",
}, },
{ "Setup.Recording$Margin at start", { "Setup.Recording$Margin at start (min)",
"Zeitpuffer bei Anfang", "Zeitpuffer bei Anfang (min)",
"Premor pred zacetkom", "Premor pred zacetkom (min)",
"Min margine inizio", "Min margine inizio (min)",
"Tijd marge (begin)", "Tijd marge begin (min)",
"Margem inicial", "Margem inicial (min)",
"Marge antérieure", "Marge antérieure (min)",
"Opptaks margin (start)", "Opptaks margin start (min)",
"Aloitusmarginaali", "Aloitusmarginaali (min)",
}, },
{ "Setup.Recording$Margin at stop", { "Setup.Recording$Margin at stop (min)",
"Zeitpuffer bei Ende", "Zeitpuffer bei Ende (min)",
"Premor za koncem", "Premor za koncem (min)",
"Min margine fine", "Min margine fine (min)",
"Tijd marge (eind)", "Tijd marge eind (min)",
"Margem final", "Margem final (min)",
"Marge postérieure", "Marge postérieure (min)",
"Opptaks margin (slutt)", "Opptaks margin slutt (min)",
"Lopetusmarginaali", "Lopetusmarginaali (min)",
}, },
{ "Setup.Recording$Primary limit", { "Setup.Recording$Primary limit",
"Primär-Limit", "Primär-Limit",
@ -1205,15 +1205,15 @@ const tPhrase Phrases[] = {
"Normal prioritet (Timer)", "Normal prioritet (Timer)",
"Oletusprioriteetti", "Oletusprioriteetti",
}, },
{ "Setup.Recording$Default lifetime", { "Setup.Recording$Default lifetime (d)",
"Default Lebensdauer", "Default Lebensdauer (d)",
"", // TODO "", // TODO
"Durata predefinita", "Durata predefinita (d)",
"Standaard levensduur", "Standaard levensduur (d)",
"Validade por defeito", "Validade por defeito (d)",
"Durée de vie par défaut", "Durée de vie par défaut (d)",
"Normal levetid (Timer)", "Normal levetid timer (d)",
"Oletus voimassaoloaika", "Oletus voimassaoloaika (d)",
}, },
{ "Setup.Recording$Use episode name", { "Setup.Recording$Use episode name",
"Episodenname verwenden", "Episodenname verwenden",
@ -1255,13 +1255,13 @@ const tPhrase Phrases[] = {
"", // TODO "", // TODO
"Dolby Digital nauhoitus", "Dolby Digital nauhoitus",
}, },
{ "Setup.Recording$Max. video file size", { "Setup.Recording$Max. video file size (MB)",
"Max. Video Dateigröße", "Max. Video Dateigröße (MB)",
"", // TODO "", // TODO
"Dimensione massima file video", "Dimensione massima file video (MB)",
"Maximale omvang video file", "Maximale omvang video file (MB)",
"Tamanho máximo dos ficheiros", "Tamanho máximo dos ficheiros (MB)",
"Taille maxi des fichiers", "Taille maxi des fichiers (MB)",
"", // TODO "", // TODO
"Maksimi tiedoston koko", "Maksimi tiedoston koko",
}, },
@ -1295,35 +1295,35 @@ const tPhrase Phrases[] = {
"", // TODO "", // TODO
"Näytä toiston tila", "Näytä toiston tila",
}, },
{ "Setup.Miscellaneous$Min. event timeout", { "Setup.Miscellaneous$Min. event timeout (min)",
"Mindest Event Pause", "Mindest Event Pause (min)",
"", // TODO "", // TODO
"Tempo minimo di pausa", // ??? i don't know... "Tempo minimo di pausa (min)", // ??? i don't know...
"Minimale event time-out", "Minimale event time-out (min)",
"Período mínimo de pausa", "Período mínimo de pausa (min)",
"MinEventTimeout", // Too difficult to translate - read the manual! "MinEventTimeout (min)", // Too difficult to translate - read the manual!
"", // TODO "", // TODO
"Minimi tapahtuman odotus", "Minimi tapahtuman odotus (min)",
}, },
{ "Setup.Miscellaneous$Min. user inactivity", { "Setup.Miscellaneous$Min. user inactivity (min)",
"Mindest Benutzer-Inaktivität", "Mindest Benutzer-Inaktivität (min)",
"", // TODO "", // TODO
"Tempo minimo di inattivita'", "Tempo minimo di inattivita' (min)",
"Minimum gebruikers inactiviteit", "Minimum gebruikers inactiviteit (min)",
"Período mínimo de inactividade", "Período mínimo de inactividade (min)",
"Durée minimale d'inactivité", "Durée minimale d'inactivité (min)",
"", // TODO "", // TODO
"Minimi käyttäjän odotus", "Minimi käyttäjän odotus (min)",
}, },
{ "Setup.Miscellaneous$SVDRP timeout", { "Setup.Miscellaneous$SVDRP timeout (min)",
"SVDRP Timeout", "SVDRP Timeout (min)",
"", // TODO "", // TODO
"Timeout SVDRP", "Timeout SVDRP (min)",
"SVDRP Timeout", "SVDRP Timeout (min)",
"Timeout SVDRP", "Timeout SVDRP (min)",
"Temps maxi SVDRP", "Temps maxi SVDRP (min)",
"Ubrukt SVDRP-levetid", "Ubrukt SVDRP-levetid (min)",
"SVDRP odotusaika", "SVDRP odotusaika (min)",
}, },
// The days of the week: // The days of the week:
{ "MTWTFSS", { "MTWTFSS",

28
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.177 2002/03/31 10:46:24 kls Exp $ * $Id: menu.c 1.178 2002/03/31 13:39:56 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -1937,7 +1937,7 @@ public:
}; };
cMenuSetupPage::cMenuSetupPage(void) cMenuSetupPage::cMenuSetupPage(void)
:cOsdMenu("", 30) :cOsdMenu("", 33)
{ {
data = Setup; data = Setup;
osdLanguage = Setup.OSDLanguage; osdLanguage = Setup.OSDLanguage;
@ -1993,7 +1993,7 @@ void cMenuSetupOSD::Set(void)
Add(new cMenuEditStraItem(tr("Setup.OSD$Language"), &data.OSDLanguage, NumLanguages, Languages())); Add(new cMenuEditStraItem(tr("Setup.OSD$Language"), &data.OSDLanguage, NumLanguages, Languages()));
Add(new cMenuEditIntItem( tr("Setup.OSD$Width"), &data.OSDwidth, MINOSDWIDTH, MAXOSDWIDTH)); Add(new cMenuEditIntItem( tr("Setup.OSD$Width"), &data.OSDwidth, MINOSDWIDTH, MAXOSDWIDTH));
Add(new cMenuEditIntItem( tr("Setup.OSD$Height"), &data.OSDheight, MINOSDHEIGHT, MAXOSDHEIGHT)); Add(new cMenuEditIntItem( tr("Setup.OSD$Height"), &data.OSDheight, MINOSDHEIGHT, MAXOSDHEIGHT));
Add(new cMenuEditIntItem( tr("Setup.OSD$Message time"), &data.OSDMessageTime, 1, 60)); Add(new cMenuEditIntItem( tr("Setup.OSD$Message time (s)"), &data.OSDMessageTime, 1, 60));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Channel info position"), &data.ChannelInfoPos, tr("bottom"), tr("top"))); Add(new cMenuEditBoolItem(tr("Setup.OSD$Channel info position"), &data.ChannelInfoPos, tr("bottom"), tr("top")));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Info on channel switch"), &data.ShowInfoOnChSwitch)); Add(new cMenuEditBoolItem(tr("Setup.OSD$Info on channel switch"), &data.ShowInfoOnChSwitch));
Add(new cMenuEditBoolItem(tr("Setup.OSD$Scroll pages"), &data.MenuScrollPage)); Add(new cMenuEditBoolItem(tr("Setup.OSD$Scroll pages"), &data.MenuScrollPage));
@ -2014,7 +2014,7 @@ void cMenuSetupEPG::Set(void)
{ {
Clear(); Clear();
SetupTitle("EPG"); SetupTitle("EPG");
Add(new cMenuEditIntItem( tr("Setup.EPG$EPG scan timeout"), &data.EPGScanTimeout)); Add(new cMenuEditIntItem( tr("Setup.EPG$EPG scan timeout (h)"), &data.EPGScanTimeout));
Add(new cMenuEditIntItem( tr("Setup.EPG$EPG bugfix level"), &data.EPGBugfixLevel, 0, MAXEPGBUGFIXLEVEL)); Add(new cMenuEditIntItem( tr("Setup.EPG$EPG bugfix level"), &data.EPGBugfixLevel, 0, MAXEPGBUGFIXLEVEL));
Add(new cMenuEditBoolItem(tr("Setup.EPG$Set system time"), &data.SetSystemTime)); Add(new cMenuEditBoolItem(tr("Setup.EPG$Set system time"), &data.SetSystemTime));
Add(new cMenuEditTranItem(tr("Setup.EPG$Use time from transponder"), &data.TimeTransponder)); Add(new cMenuEditTranItem(tr("Setup.EPG$Use time from transponder"), &data.TimeTransponder));
@ -2050,9 +2050,9 @@ void cMenuSetupLNB::Set(void)
{ {
Clear(); Clear();
SetupTitle("LNB"); SetupTitle("LNB");
Add(new cMenuEditIntItem( tr("Setup.LNB$SLOF"), &data.LnbSLOF)); Add(new cMenuEditIntItem( tr("Setup.LNB$SLOF (MHz)"), &data.LnbSLOF));
Add(new cMenuEditIntItem( tr("Setup.LNB$Low LNB frequency"), &data.LnbFrequLo)); Add(new cMenuEditIntItem( tr("Setup.LNB$Low LNB frequency (MHz)"), &data.LnbFrequLo));
Add(new cMenuEditIntItem( tr("Setup.LNB$High LNB frequency"), &data.LnbFrequHi)); Add(new cMenuEditIntItem( tr("Setup.LNB$High LNB frequency (MHz)"), &data.LnbFrequHi));
Add(new cMenuEditBoolItem(tr("Setup.LNB$Use DiSEqC"), &data.DiSEqC)); Add(new cMenuEditBoolItem(tr("Setup.LNB$Use DiSEqC"), &data.DiSEqC));
} }
@ -2091,16 +2091,16 @@ void cMenuSetupRecord::Set(void)
{ {
Clear(); Clear();
SetupTitle("Recording"); SetupTitle("Recording");
Add(new cMenuEditIntItem( tr("Setup.Recording$Margin at start"), &data.MarginStart)); Add(new cMenuEditIntItem( tr("Setup.Recording$Margin at start (min)"), &data.MarginStart));
Add(new cMenuEditIntItem( tr("Setup.Recording$Margin at stop"), &data.MarginStop)); Add(new cMenuEditIntItem( tr("Setup.Recording$Margin at stop (min)"), &data.MarginStop));
Add(new cMenuEditIntItem( tr("Setup.Recording$Primary limit"), &data.PrimaryLimit, 0, MAXPRIORITY)); Add(new cMenuEditIntItem( tr("Setup.Recording$Primary limit"), &data.PrimaryLimit, 0, MAXPRIORITY));
Add(new cMenuEditIntItem( tr("Setup.Recording$Default priority"), &data.DefaultPriority, 0, MAXPRIORITY)); Add(new cMenuEditIntItem( tr("Setup.Recording$Default priority"), &data.DefaultPriority, 0, MAXPRIORITY));
Add(new cMenuEditIntItem( tr("Setup.Recording$Default lifetime"), &data.DefaultLifetime, 0, MAXLIFETIME)); Add(new cMenuEditIntItem( tr("Setup.Recording$Default lifetime (d)"), &data.DefaultLifetime, 0, MAXLIFETIME));
Add(new cMenuEditBoolItem(tr("Setup.Recording$Use episode name"), &data.UseSubtitle)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Use episode name"), &data.UseSubtitle));
Add(new cMenuEditBoolItem(tr("Setup.Recording$Mark instant recording"), &data.MarkInstantRecord)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Mark instant recording"), &data.MarkInstantRecord));
Add(new cMenuEditStrItem( tr("Setup.Recording$Name instant recording"), data.NameInstantRecord, sizeof(data.NameInstantRecord), FileNameChars)); Add(new cMenuEditStrItem( tr("Setup.Recording$Name instant recording"), data.NameInstantRecord, sizeof(data.NameInstantRecord), FileNameChars));
Add(new cMenuEditBoolItem(tr("Setup.Recording$Record Dolby Digital"), &data.RecordDolbyDigital)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Record Dolby Digital"), &data.RecordDolbyDigital));
Add(new cMenuEditIntItem( tr("Setup.Recording$Max. video file size"), &data.MaxVideoFileSize, MINVIDEOFILESIZE, MAXVIDEOFILESIZE)); Add(new cMenuEditIntItem( tr("Setup.Recording$Max. video file size (MB)"), &data.MaxVideoFileSize, MINVIDEOFILESIZE, MAXVIDEOFILESIZE));
Add(new cMenuEditBoolItem(tr("Setup.Recording$Split edited files"), &data.SplitEditedFiles)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Split edited files"), &data.SplitEditedFiles));
} }
@ -2134,9 +2134,9 @@ void cMenuSetupMisc::Set(void)
{ {
Clear(); Clear();
SetupTitle("Miscellaneous"); SetupTitle("Miscellaneous");
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Min. event timeout"), &data.MinEventTimeout)); Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Min. event timeout (min)"), &data.MinEventTimeout));
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Min. user inactivity"), &data.MinUserInactivity)); Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Min. user inactivity (min)"), &data.MinUserInactivity));
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$SVDRP timeout"), &data.SVDRPTimeout)); Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$SVDRP timeout (min)"), &data.SVDRPTimeout));
} }
// --- cMenuSetup ------------------------------------------------------------ // --- cMenuSetup ------------------------------------------------------------