DeviceInputToLocalizedAndTranslatedString -> DeviceInputToLocalizedString

(translation is a part of localization)
This commit is contained in:
Glenn Maynard
2006-06-15 04:12:30 +00:00
parent c65580fed2
commit 80c3beccb6
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ static LocalizedString BACKSLASH ( "DeviceButton", "Backslash" );
/* Return the name of the button, as it probably appears on the device itself, such as a keycap;
* eg. "a". */
RString DeviceInputToLocalizedAndTranslatedString( DeviceInput di )
RString DeviceInputToLocalizedString( DeviceInput di )
{
switch( di.button )
{
+1 -1
View File
@@ -339,7 +339,7 @@ public:
bool IsJoystick() const { return ::IsJoystick(device); }
};
RString DeviceInputToLocalizedAndTranslatedString( DeviceInput di );
RString DeviceInputToLocalizedString( DeviceInput di );
#endif
/*
+2 -2
View File
@@ -3585,9 +3585,9 @@ static RString GetDeviceButtonsLocalized( const vector<EditButton> &veb, const M
DeviceInput diPress = editmap.button[*eb][s];
DeviceInput diHold = editmap.hold[*eb][s];
if( diPress.IsValid() )
vsPress.push_back( DeviceInputToLocalizedAndTranslatedString(diPress) );
vsPress.push_back( DeviceInputToLocalizedString(diPress) );
if( diHold.IsValid() )
vsHold.push_back( DeviceInputToLocalizedAndTranslatedString(diHold) );
vsHold.push_back( DeviceInputToLocalizedString(diHold) );
}
}