DeviceInputToLocalizedAndTranslatedString -> DeviceInputToLocalizedString
(translation is a part of localization)
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -339,7 +339,7 @@ public:
|
||||
bool IsJoystick() const { return ::IsJoystick(device); }
|
||||
};
|
||||
|
||||
RString DeviceInputToLocalizedAndTranslatedString( DeviceInput di );
|
||||
RString DeviceInputToLocalizedString( DeviceInput di );
|
||||
|
||||
#endif
|
||||
/*
|
||||
|
||||
@@ -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) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user