cec: localised 'XBMC connected' message
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 15 Oct 2011 15:23:18 +0000 (17:23 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 15 Oct 2011 15:23:18 +0000 (17:23 +0200)
language/English/strings.xml
xbmc/peripherals/devices/PeripheralCecAdapter.cpp

index c626923..fb23c27 100644 (file)
   <string id="36013">Unsupported libcec interface version. %d is greater than the version XBMC supports (%d)</string>
   <string id="36014">Put this PC in standby mode when the TV is switched off</string>
   <string id="36015">HDMI port number</string>
+  <string id="36016">XBMC connected</string>
 </strings>
index 45132e2..b9a4739 100644 (file)
@@ -239,7 +239,7 @@ void CPeripheralCecAdapter::Process(void)
   m_cecAdapter->SetActiveView();
   FlushLog();
 
-  m_cecAdapter->SetOSDString(CECDEVICE_TV, CEC_DISPLAY_CONTROL_DISPLAY_FOR_DEFAULT_TIME, "XBMC connected");
+  m_cecAdapter->SetOSDString(CECDEVICE_TV, CEC_DISPLAY_CONTROL_DISPLAY_FOR_DEFAULT_TIME, g_localizeStrings.Get(36016).c_str());
 
   while (!m_bStop)
   {