From 7f3f22ea6225ab5934050ffb0af745e0eacc24d3 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 17 Sep 2021 22:14:32 +0200 Subject: [PATCH] streaminfo2: show correct mode Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/184e0b8499acde1e4239b8524ad5498d27da5a06 Author: vanhofen Date: 2021-09-17 (Fri, 17 Sep 2021) Origin message was: ------------------ - streaminfo2: show correct mode ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/streaminfo2.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 612b53ed6..dd65cd294 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -615,8 +615,10 @@ void CStreamInfo2::paint_signal_fe_box(int _x, int _y, int w, int h) tname += ": "; if (mp) { - if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio) - tname += "Web-Channel"; // TODO split into WebTV/WebRadio + if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) + tname += g_Locale->getText(LOCALE_WEBTV_HEAD); + else if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio) + tname += g_Locale->getText(LOCALE_WEBRADIO_HEAD); else tname += g_Locale->getText(LOCALE_MAINMENU_MOVIEPLAYER); }