mirror of https://github.com/OpenRCT2/OpenRCT2.git
Show ALT as OPTION in keyboard shortcut list
This commit is contained in:
parent
2d53c28342
commit
a85b2d3982
|
@ -3972,6 +3972,7 @@ STR_5630 :Enable unlocking of scenarios
|
|||
STR_5631 :Original DLC Parks
|
||||
STR_5632 :Build your own...
|
||||
STR_5633 :CMD +
|
||||
STR_5634 :OPTION +
|
||||
|
||||
#############
|
||||
# Scenarios #
|
||||
|
|
|
@ -97,7 +97,11 @@ void keyboard_shortcut_format_string(char *buffer, uint16 shortcutKey)
|
|||
strcat(buffer, formatBuffer);
|
||||
}
|
||||
if (shortcutKey & 0x400) {
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
format_string(formatBuffer, STR_OPTION_PLUS, NULL);
|
||||
#else
|
||||
format_string(formatBuffer, STR_ALT_PLUS, NULL);
|
||||
#endif
|
||||
strcat(buffer, formatBuffer);
|
||||
}
|
||||
if (shortcutKey & 0x800) {
|
||||
|
|
|
@ -2258,6 +2258,7 @@ enum {
|
|||
STR_BUILD_YOUR_OWN_PARKS = 5632,
|
||||
|
||||
STR_CMD_PLUS = 5633,
|
||||
STR_OPTION_PLUS = 5634,
|
||||
|
||||
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
||||
STR_COUNT = 32768
|
||||
|
|
Loading…
Reference in New Issue