Remaining changes for the simple help text replacements.

This commit is contained in:
zoltanvb 2023-01-02 18:14:04 +01:00 committed by LibretroAdmin
parent a5431dd965
commit 92c143ca51
3 changed files with 26 additions and 31 deletions

View File

@ -614,6 +614,7 @@ int msg_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OVERLAY_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU));
break;
/* TODO/FIXME: move these VIDEO_MESSAGE related help texts to sublabels. */
case MENU_ENUM_LABEL_VIDEO_MESSAGE_BGCOLOR_ENABLE:
snprintf(s, len,
"Enables a background color for the OSD.");
@ -648,41 +649,19 @@ int msg_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
break;
#ifdef HAVE_LAKKA
case MENU_ENUM_LABEL_TIMEZONE:
snprintf(s, len,
"Displays a list of available timezones. After\n"
"selecting a time zone, time and date is adjusted\n"
"to the selected time zone. It assumes, that system/\n"
"hardware clock is set to UTC.");
strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_HELP_TIMEZONE), len);
break;
#endif
case MENU_ENUM_LABEL_MIDI_INPUT:
snprintf(s, len,
"Sets the input device (driver specific).\n"
"When set to \"Off\", MIDI input will be disabled.\n"
"Device name can also be typed in.");
strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_HELP_MIDI_INPUT), len);
break;
case MENU_ENUM_LABEL_MIDI_OUTPUT:
snprintf(s, len,
"Sets the output device (driver specific).\n"
"When set to \"Off\", MIDI output will be disabled.\n"
"Device name can also be typed in.\n"
" \n"
"When MIDI output is enabled and core and game/app support MIDI output,\n"
"some or all sounds (depends on game/app) will be generated by MIDI device.\n"
"In case of \"null\" MIDI driver this means that those sounds won't be audible.");
strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_HELP_MIDI_OUTPUT), len);
break;
#ifdef __linux__
case MENU_ENUM_LABEL_GAMEMODE_ENABLE:
snprintf(s, len,
"Enabling Linux GameMode can improve latency, fix audio\n"
"crackling issues and maximize overall performance by\n"
"automatically configuring your CPU and GPU for best\n"
"performance.\n"
" \n"
"The GameMode software needs to be installed for this to\n"
"work. See https://github.com/FeralInteractive/gamemode for\n"
"information on how to install GameMode.");
break;
strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_HELP_GAMEMODE_ENABLE), len);
break;
#endif
default:
if (string_is_empty(s))

View File

@ -2497,6 +2497,10 @@ MSG_HASH(
MENU_ENUM_SUBLABEL_MIDI_INPUT,
"Select input device."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_MIDI_INPUT,
"Sets the input device (driver specific). When set to 'Off', MIDI input will be disabled. Device name can also be typed in."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_MIDI_OUTPUT,
"Output"
@ -2505,6 +2509,10 @@ MSG_HASH(
MENU_ENUM_SUBLABEL_MIDI_OUTPUT,
"Select output device."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_MIDI_OUTPUT,
"Sets the output device (driver specific). When set to 'Off', MIDI output will be disabled. Device name can also be typed in.\nWhen MIDI output is enabled and core and game/app support MIDI output, some or all sounds (depends on game/app) will be generated by MIDI device. In case of 'null' MIDI driver this means that those sounds won't be audible."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_MIDI_VOLUME,
"Volume"
@ -14315,6 +14323,10 @@ MSG_HASH(
MENU_ENUM_SUBLABEL_GAMEMODE_ENABLE_LINUX,
"Can improve performance, reduce latency and fix audio crackling issues. You need https://github.com/FeralInteractive/gamemode for this to work."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_GAMEMODE_ENABLE,
"Enabling Linux GameMode can improve latency, fix audio crackling issues and maximize overall performance by automatically configuring your CPU and GPU for best performance.\nThe GameMode software needs to be installed for this to work. See https://github.com/FeralInteractive/gamemode for information on how to install GameMode."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_PAL60_ENABLE,
"Use PAL60 Mode"
@ -14485,6 +14497,10 @@ MSG_HASH(
MENU_ENUM_SUBLABEL_TIMEZONE,
"Select your time zone to adjust the date and time to your location."
)
MSG_HASH(
MENU_ENUM_LABEL_HELP_TIMEZONE,
"Displays a list of available timezones. After selecting a time zone, time and date is adjusted to the selected time zone. It assumes, that system/hardware clock is set to UTC."
)
MSG_HASH(
MSG_LOCALAP_SWITCHING_OFF,
"Switching off Wi-Fi Access Point."

View File

@ -2150,7 +2150,7 @@ enum msg_hash_enums
MENU_LABEL(SAMBA_ENABLE),
MENU_LABEL(BLUETOOTH_ENABLE),
MENU_LABEL(LOCALAP_ENABLE),
MENU_LABEL(TIMEZONE),
MENU_LBL_H(TIMEZONE),
#endif
MENU_LABEL(NETPLAY_DELAY_FRAMES), /* deprecated */
MENU_LABEL(NETPLAY_PUBLIC_ANNOUNCE),
@ -3420,8 +3420,8 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_QT_RESET,
MENU_ENUM_LABEL_VALUE_QT_RESET_ALL,
MENU_LABEL(MIDI_INPUT),
MENU_LABEL(MIDI_OUTPUT),
MENU_LBL_H(MIDI_INPUT),
MENU_LBL_H(MIDI_OUTPUT),
MENU_LABEL(MIDI_VOLUME),
/* Power Management */
@ -3436,7 +3436,7 @@ enum msg_hash_enums
MENU_LABEL(CPU_POLICY_MENU_GOVERNOR),
MENU_LABEL(CPU_MANAGED_MIN_FREQ),
MENU_LABEL(CPU_MANAGED_MAX_FREQ),
MENU_LABEL(GAMEMODE_ENABLE),
MENU_LBL_H(GAMEMODE_ENABLE),
MENU_ENUM_SUBLABEL_GAMEMODE_ENABLE_LINUX,
MENU_ENUM_LABEL_VALUE_CPU_PERF_MODE_MANAGED_PERF,