diff options
-rw-r--r-- | i18n.c | 30 | ||||
-rw-r--r-- | lcd.c | 4 | ||||
-rw-r--r-- | lcdproc.c | 11 |
3 files changed, 23 insertions, 22 deletions
@@ -161,21 +161,21 @@ const tI18nPhrase Phrases[] = { "BackLight",// TODO "BackLight",// TODO }, -{ "Output Number", - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO - "Output Number",// TODO + { "OutputNumber", + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO + "OutputNumber",// TODO }, { NULL } }; @@ -410,9 +410,9 @@ void cLcd::SummaryDisplay() { if (SummaryCurrent+offset < SummaryTextL) { strncpy(workstring,SummaryText+SummaryCurrent+offset,wid+1); workstring[wid]='\0'; - cLcd::SetLine(LCDMENU,i,workstring); + cLcd::SetLine(LCDMISC,i,workstring); offset+=wid; - } else cLcd::SetLine(LCDMENU,i," "); + } else cLcd::SetLine(LCDMISC,i," "); } } @@ -16,7 +16,7 @@ #include "lcd.h" #include "lcdtranstbl.h" -static const char *VERSION = "0.0.8"; +static const char *VERSION = "0.0.9"; static const char *MAINMENUENTRY = NULL; static const char *DESCRIPTION = "LCDproc output"; @@ -163,7 +163,8 @@ void cLcdFeed::OsdTextItem(const char *Text, bool Scroll) else if (Scroll) LCDproc->SummaryUp(); else - LCDproc->SummaryDown(); + LCDproc->SummaryDown(); + LCDproc->SetThreadState( (cLcd::ThreadStates) 3); // MISC LCDproc->SummaryDisplay(); } @@ -346,10 +347,10 @@ cMenuSetupLcd::cMenuSetupLcd(void) Add(new cMenuEditIntItem( tr("Charmap"), &newLcdSetup.Charmap,0,LCDMAXTRANSTBL-1 )); Add(new cMenuEditBoolItem( tr("AltShift"), &newLcdSetup.AltShift)); Add(new cMenuEditBoolItem( tr("BackLight"), &newLcdSetup.BackLight)); - Add(new cMenuEditIntItem( tr("OutputNumber"), &newLcdSetup.OutputNumber)); + Add(new cMenuEditIntItem( tr("OutputNumber"), &newLcdSetup.OutputNumber)); for (int i =0 ; i < newLcdSetup.OutputNumber; i++){ - sprintf(str2,"OutputNumber %d",i); - Add(new cMenuEditStraTrItem( tr(str2), &newLcdSetup.OutputFunction[i],14, OutputFunctionText)); + sprintf(str2,"%s %d",tr("OutputNumber"),i); + Add(new cMenuEditStraTrItem( str2, &newLcdSetup.OutputFunction[i],14, OutputFunctionText)); } } |