diff --git a/src/gui/streaminfo1.cpp b/src/gui/streaminfo1.cpp index e674e7a05..dda955c26 100644 --- a/src/gui/streaminfo1.cpp +++ b/src/gui/streaminfo1.cpp @@ -313,8 +313,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); } @@ -781,7 +783,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) g_Font[font_info]->RenderString(xpos, ypos, box_width, buf, COL_MENUCONTENT_TEXT); - if (IS_WEBCHAN(current_channel_id)) + if (is_webchan) { if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) snprintf(buf, sizeof(buf), "%s", g_Locale->getText(LOCALE_WEBTV_HEAD));