From f05d5640e1e213a996abf6680a450a5dd310b577 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 12 Feb 2010 14:09:50 +0000 Subject: [PATCH] loclalize freq tiny fix git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@325 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/54beabe84d2c48b144e63dbea4ea2ee8649abdcd Author: Jacek Jendrzej Date: 2010-02-12 (Fri, 12 Feb 2010) --- src/gui/streaminfo2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 8d69bfc31..0d1283ad7 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -608,8 +608,9 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) 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) { + sprintf ((char *) buf, "%s:",g_Locale->getText (LOCALE_SCANTS_FREQDATA)); + g_Font[font_info]->RenderString(xpos, ypos, width*2/3-10, buf , COL_MENUCONTENTDARK, 0, true); // UTF-8 sprintf((char*) buf, "%d.%d MHz", si.tsfrequency/1000, si.tsfrequency%1000); - g_Font[font_info]->RenderString(xpos, ypos, width*2/3-10, g_Locale->getText (LOCALE_SCANTS_FREQDATA) , 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 scaling = 20000; }