mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Added a CI extension item into the device info menu.
This commit is contained in:
parent
db59aa9c29
commit
0c03c1b8d4
@ -49,6 +49,9 @@ msgstr "Model"
|
||||
msgid "Description"
|
||||
msgstr "Descripció"
|
||||
|
||||
msgid "CI extension"
|
||||
msgstr ""
|
||||
|
||||
msgid "Creation date"
|
||||
msgstr "Creació de data"
|
||||
|
||||
|
@ -49,6 +49,9 @@ msgstr "Modell"
|
||||
msgid "Description"
|
||||
msgstr "Beschreibung"
|
||||
|
||||
msgid "CI extension"
|
||||
msgstr "CI Erweiterung"
|
||||
|
||||
msgid "Creation date"
|
||||
msgstr "Zeitpunkt der Erstellung"
|
||||
|
||||
|
@ -49,6 +49,9 @@ msgstr "Modelo"
|
||||
msgid "Description"
|
||||
msgstr "Descripción"
|
||||
|
||||
msgid "CI extension"
|
||||
msgstr ""
|
||||
|
||||
msgid "Creation date"
|
||||
msgstr "Fecha creación"
|
||||
|
||||
|
@ -49,6 +49,9 @@ msgstr "Malli"
|
||||
msgid "Description"
|
||||
msgstr "Kuvaus"
|
||||
|
||||
msgid "CI extension"
|
||||
msgstr "CI-laajennos"
|
||||
|
||||
msgid "Creation date"
|
||||
msgstr "Luontiajankohta"
|
||||
|
||||
|
3
setup.c
3
setup.c
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user