From d5a348c9f29cadbfa444752b31b469be0d708740 Mon Sep 17 00:00:00 2001 From: satbaby Date: Thu, 11 Feb 2010 14:18:26 +0000 Subject: [PATCH] cosmetics git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@316 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/streaminfo2.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 0ff47eeb6..1b86f061d 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -564,7 +564,12 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) sat_iterator_t sit = satellitePositions.find(satellitePosition); if(sit != satellitePositions.end()) { ypos += iheight; - sprintf ((char *) buf, "%s:",g_Locale->getText (LOCALE_SATSETUP_SATELLITE));//swiped locale + if(frontend->getInfo()->type == FE_QPSK) { + sprintf ((char *) buf, "%s:",g_Locale->getText (LOCALE_SATSETUP_SATELLITE));//swiped locale + } + else if(frontend->getInfo()->type == FE_QAM) { + sprintf ((char *) buf, "%s:",g_Locale->getText (LOCALE_CHANNELLIST_PROVS)); + } g_Font[font_info]->RenderString(xpos, ypos, width*2/3-10, buf, COL_MENUCONTENTDARK, 0, true); // UTF-8 sprintf ((char *) buf, "%s", sit->second.name.c_str()); g_Font[font_info]->RenderString (xpos+spaceoffset, ypos, width*2/3-10, buf, COL_MENUCONTENTDARK, 0, true); // UTF-8 @@ -592,7 +597,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) s=const_cast("S1"); sprintf ((char *) buf,"%d.%d (%c) %d %s %s %s", si.tsfrequency / 1000, si.tsfrequency % 1000, si.polarisation ? 'V' : 'H', si.rate / 1000,f,m,s); - g_Font[font_info]->RenderString(xpos, ypos, width*2/3-10, "Tp. Freq.:" , COL_MENUCONTENTDARK, 0, true); // UTF-8 + g_Font[font_info]->RenderString(xpos, ypos, width*2/3-10, "Frequenz:" , COL_MENUCONTENTDARK, 0, true); // UTF-8 g_Font[font_info]->RenderString(xpos+spaceoffset, ypos, width*2/3-10, buf, COL_MENUCONTENTDARK, 0, true); // UTF-8 } else if(frontend->getInfo()->type == FE_QAM) {