mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 09:29:16 +00:00
All Netplay menu options are now internationalizable.
This commit is contained in:
parent
eb86bafece
commit
5dba982cae
@ -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:
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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,
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user