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;
|
/* Return the name of the button, as it probably appears on the device itself, such as a keycap;
|
||||||
* eg. "a". */
|
* eg. "a". */
|
||||||
RString DeviceInputToLocalizedAndTranslatedString( DeviceInput di )
|
RString DeviceInputToLocalizedString( DeviceInput di )
|
||||||
{
|
{
|
||||||
switch( di.button )
|
switch( di.button )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ public:
|
|||||||
bool IsJoystick() const { return ::IsJoystick(device); }
|
bool IsJoystick() const { return ::IsJoystick(device); }
|
||||||
};
|
};
|
||||||
|
|
||||||
RString DeviceInputToLocalizedAndTranslatedString( DeviceInput di );
|
RString DeviceInputToLocalizedString( DeviceInput di );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -3585,9 +3585,9 @@ static RString GetDeviceButtonsLocalized( const vector<EditButton> &veb, const M
|
|||||||
DeviceInput diPress = editmap.button[*eb][s];
|
DeviceInput diPress = editmap.button[*eb][s];
|
||||||
DeviceInput diHold = editmap.hold[*eb][s];
|
DeviceInput diHold = editmap.hold[*eb][s];
|
||||||
if( diPress.IsValid() )
|
if( diPress.IsValid() )
|
||||||
vsPress.push_back( DeviceInputToLocalizedAndTranslatedString(diPress) );
|
vsPress.push_back( DeviceInputToLocalizedString(diPress) );
|
||||||
if( diHold.IsValid() )
|
if( diHold.IsValid() )
|
||||||
vsHold.push_back( DeviceInputToLocalizedAndTranslatedString(diHold) );
|
vsHold.push_back( DeviceInputToLocalizedString(diHold) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user