Show ALT as OPTION in keyboard shortcut list

This commit is contained in:
Marijn van der Werf 2016-01-12 23:05:03 +01:00
parent 2d53c28342
commit a85b2d3982
3 changed files with 6 additions and 0 deletions

View File

@ -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 #

View File

@ -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) {

View File

@ -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