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"
msgstr "Descripció"
msgid "CI extension"
msgstr ""
msgid "Creation date"
msgstr "Creació de data"

View File

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

View File

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

View File

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

View File

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