From 0c03c1b8d4ccee027c1255659f7bf6514fbf4ad6 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Tue, 6 Jan 2015 19:45:39 +0200 Subject: [PATCH] Added a CI extension item into the device info menu. --- po/ca_ES.po | 3 +++ po/de_DE.po | 3 +++ po/es_ES.po | 3 +++ po/fi_FI.po | 3 +++ setup.c | 3 +++ 5 files changed, 15 insertions(+) diff --git a/po/ca_ES.po b/po/ca_ES.po index 3a83c78..ece3857 100644 --- a/po/ca_ES.po +++ b/po/ca_ES.po @@ -49,6 +49,9 @@ msgstr "Model" msgid "Description" msgstr "Descripció" +msgid "CI extension" +msgstr "" + msgid "Creation date" msgstr "Creació de data" diff --git a/po/de_DE.po b/po/de_DE.po index f8ba6e8..445951e 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -49,6 +49,9 @@ msgstr "Modell" msgid "Description" msgstr "Beschreibung" +msgid "CI extension" +msgstr "CI Erweiterung" + msgid "Creation date" msgstr "Zeitpunkt der Erstellung" diff --git a/po/es_ES.po b/po/es_ES.po index fa5a023..a154a89 100644 --- a/po/es_ES.po +++ b/po/es_ES.po @@ -49,6 +49,9 @@ msgstr "Modelo" msgid "Description" msgstr "Descripción" +msgid "CI extension" +msgstr "" + msgid "Creation date" msgstr "Fecha creación" diff --git a/po/fi_FI.po b/po/fi_FI.po index 273a115..9f6142a 100644 --- a/po/fi_FI.po +++ b/po/fi_FI.po @@ -49,6 +49,9 @@ msgstr "Malli" msgid "Description" msgstr "Kuvaus" +msgid "CI extension" +msgstr "CI-laajennos" + msgid "Creation date" msgstr "Luontiajankohta" diff --git a/setup.c b/setup.c index 9678bd7..c897dd2 100644 --- a/setup.c +++ b/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)); }