translatable

This commit is contained in:
Glenn Maynard
2005-12-06 00:57:29 +00:00
parent ab2c346e5a
commit 76f2581d44
+2 -1
View File
@@ -13,6 +13,7 @@
#include "InputEventPlus.h"
#define BUTTONS_TO_MAP THEME->GetMetric( m_sName, "ButtonsToMap" )
#define INVALID_BUTTON THEME->GetMetric( m_sName, "InvalidButton" )
static const ThemeMetric<apActorCommands> EVEN_LINE_IN ("ScreenMapControllers","EvenLineIn");
static const ThemeMetric<apActorCommands> EVEN_LINE_OUT ("ScreenMapControllers","EvenLineOut");
@@ -214,7 +215,7 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
/* Don't allow function keys to be mapped. */
if( input.DeviceI.device == DEVICE_KEYBOARD && (input.DeviceI.button >= KEY_F1 && input.DeviceI.button <= KEY_F12) )
{
SCREENMAN->SystemMessage( "That key can not be mapped." );
SCREENMAN->SystemMessage( INVALID_BUTTON );
SCREENMAN->PlayInvalidSound();
}
else