diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index 9ebcf5d185..f338cedb63 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -1600,6 +1600,18 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len) snprintf(s, len, "Shows current core inside menu."); break; + case MENU_ENUM_LABEL_NETPLAY_ENABLE_HOST: + snprintf(s, len, + "Enables Netplay in host (server) mode."); + break; + case MENU_ENUM_LABEL_NETPLAY_ENABLE_CLIENT: + snprintf(s, len, + "Enables Netplay in client mode."); + break; + case MENU_ENUM_LABEL_NETPLAY_DISCONNECT: + snprintf(s, len, + "Disconnects an active Netplay connection."); + break; case MENU_ENUM_LABEL_DYNAMIC_WALLPAPER: snprintf(s, len, "Dynamically load a new wallpaper \n" @@ -2470,6 +2482,12 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg) return "menu_pointer_enable"; case MENU_ENUM_LABEL_CORE_ENABLE: return "menu_core_enable"; + case MENU_ENUM_LABEL_NETPLAY_ENABLE_HOST: + return "menu_netplay_enable_host"; + case MENU_ENUM_LABEL_NETPLAY_ENABLE_CLIENT: + return "menu_netplay_enable_client"; + case MENU_ENUM_LABEL_NETPLAY_DISCONNECT: + return "menu_netplay_disconnect"; case MENU_ENUM_LABEL_DPI_OVERRIDE_ENABLE: return "dpi_override_enable"; case MENU_ENUM_LABEL_DPI_OVERRIDE_VALUE: @@ -3799,6 +3817,12 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg) return "Touch Support"; case MENU_ENUM_LABEL_VALUE_CORE_ENABLE: return "Display core name"; + case MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_HOST: + return "Start hosting"; + case MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_CLIENT: + return "Connect to Netplay host"; + case MENU_ENUM_LABEL_VALUE_NETPLAY_DISCONNECT: + return "Disconnect"; case MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_ENABLE: return "DPI Override Enable"; case MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_VALUE: diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 3d4fa0a295..f894b6042e 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -1505,20 +1505,20 @@ static int menu_displaylist_parse_netplay( { #ifdef HAVE_NETPLAY menu_entries_append_enum(info->list, - "Start hosting" /* FIXME */, - "enable_netplay_host" /* FIXME */, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_HOST), + msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_ENABLE_HOST), MENU_ENUM_LABEL_NETPLAY_ENABLE_HOST, MENU_SETTING_ACTION, 0, 0); menu_entries_append_enum(info->list, - "Connect to Netplay host" /* FIXME */, - "enable_netplay_client" /* FIXME */, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_CLIENT), + msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_ENABLE_CLIENT), MENU_ENUM_LABEL_NETPLAY_ENABLE_CLIENT, MENU_SETTING_ACTION, 0, 0); menu_entries_append_enum(info->list, - "Disconnect" /* FIXME */, - "disconnect_netplay" /* FIXME */, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETPLAY_DISCONNECT), + msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_DISCONNECT), MENU_ENUM_LABEL_NETPLAY_DISCONNECT, MENU_SETTING_ACTION, 0, 0); diff --git a/msg_hash.h b/msg_hash.h index 0b8a49722f..f293ff5f82 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -961,8 +961,11 @@ enum msg_hash_enums /* Netplay */ MENU_ENUM_LABEL_NETPLAY_ENABLE_HOST, + MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_HOST, MENU_ENUM_LABEL_NETPLAY_ENABLE_CLIENT, + MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_CLIENT, MENU_ENUM_LABEL_NETPLAY_DISCONNECT, + MENU_ENUM_LABEL_VALUE_NETPLAY_DISCONNECT,