Added a CI extension item into the device info menu.

This commit is contained in:
Rolf Ahrenberg 2015-01-06 19:45:39 +02:00
parent db59aa9c29
commit 0c03c1b8d4
5 changed files with 15 additions and 0 deletions

View File

@ -49,6 +49,9 @@ msgstr "Model"
msgid "Description" msgid "Description"
msgstr "Descripció" msgstr "Descripció"
msgid "CI extension"
msgstr ""
msgid "Creation date" msgid "Creation date"
msgstr "Creació de data" msgstr "Creació de data"

View File

@ -49,6 +49,9 @@ msgstr "Modell"
msgid "Description" msgid "Description"
msgstr "Beschreibung" msgstr "Beschreibung"
msgid "CI extension"
msgstr "CI Erweiterung"
msgid "Creation date" msgid "Creation date"
msgstr "Zeitpunkt der Erstellung" msgstr "Zeitpunkt der Erstellung"

View File

@ -49,6 +49,9 @@ msgstr "Modelo"
msgid "Description" msgid "Description"
msgstr "Descripción" msgstr "Descripción"
msgid "CI extension"
msgstr ""
msgid "Creation date" msgid "Creation date"
msgstr "Fecha creación" msgstr "Fecha creación"

View File

@ -49,6 +49,9 @@ msgstr "Malli"
msgid "Description" msgid "Description"
msgstr "Kuvaus" msgstr "Kuvaus"
msgid "CI extension"
msgstr "CI-laajennos"
msgid "Creation date" msgid "Creation date"
msgstr "Luontiajankohta" msgstr "Luontiajankohta"

View File

@ -89,6 +89,7 @@ private:
cString addressM; cString addressM;
cString modelM; cString modelM;
cString descriptionM; cString descriptionM;
cString ciExtensionM;
uint64_t createdM; uint64_t createdM;
void Setup(void); void Setup(void);
@ -103,6 +104,7 @@ cSatipServerInfo::cSatipServerInfo(cSatipServer *serverP)
addressM(serverP ? serverP->Address() : "---"), addressM(serverP ? serverP->Address() : "---"),
modelM(serverP ? serverP->Model() : "---"), modelM(serverP ? serverP->Model() : "---"),
descriptionM(serverP ? serverP->Description() : "---"), descriptionM(serverP ? serverP->Description() : "---"),
ciExtensionM(serverP && serverP->Quirk(cSatipServer::eSatipQuirkUseXPMT) ? trVDR("yes") : trVDR("no")),
createdM(serverP ? serverP->Created() : 0) createdM(serverP ? serverP->Created() : 0)
{ {
SetMenuCategory(mcSetupPlugins); SetMenuCategory(mcSetupPlugins);
@ -119,6 +121,7 @@ void cSatipServerInfo::Setup(void)
Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Address"), *addressM), osUnknown, false)); Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Address"), *addressM), osUnknown, false));
Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Model"), *modelM), osUnknown, false)); Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Model"), *modelM), osUnknown, false));
Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Description"), *descriptionM), osUnknown, false)); Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Description"), *descriptionM), osUnknown, false));
Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("CI extension"), *ciExtensionM), osUnknown, false));
Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Creation date"), *DayDateTime(createdM)), osUnknown, false)); Add(new cOsdItem(cString::sprintf("%s:\t%s", tr("Creation date"), *DayDateTime(createdM)), osUnknown, false));
} }