theme backslash to fix ugly slashes in edit help text
This commit is contained in:
@@ -1579,6 +1579,7 @@ Insert=Insert
|
||||
Delete=Delete
|
||||
PgUp=PgUp
|
||||
PgDn=PgDn
|
||||
Backslash=Backslash
|
||||
|
||||
[EditHelpDescription]
|
||||
Move cursor=Move cursor
|
||||
|
||||
@@ -159,6 +159,7 @@ static LocalizedString INSERT ( "DeviceButton", "Insert" );
|
||||
static LocalizedString DELETE ( "DeviceButton", "Delete" );
|
||||
static LocalizedString PGUP ( "DeviceButton", "PgUp" );
|
||||
static LocalizedString PGDN ( "DeviceButton", "PgDn" );
|
||||
static LocalizedString BACKSLASH ( "DeviceButton", "Backslash" );
|
||||
|
||||
RString DeviceButtonToLocalizedString( DeviceButton key )
|
||||
{
|
||||
@@ -176,6 +177,7 @@ RString DeviceButtonToLocalizedString( DeviceButton key )
|
||||
case KEY_DEL: return DELETE.GetValue();
|
||||
case KEY_PGUP: return PGUP.GetValue();
|
||||
case KEY_PGDN: return PGDN.GetValue();
|
||||
case KEY_BACKSLASH: return BACKSLASH.GetValue();
|
||||
default: return Capitalize( DeviceButtonToString(key) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user