diff --git a/intl/msg_hash_ja.h b/intl/msg_hash_ja.h index 3b4b8bfa21..672d162bef 100644 --- a/intl/msg_hash_ja.h +++ b/intl/msg_hash_ja.h @@ -2906,4 +2906,4 @@ MSG_HASH( "Increase or decrease the amount of shader pipeline passes. You can bind a separate shader to each pipeline pass and configure its scale and filtering." ) MSG_HASH(MENU_ENUM_LABEL_VALUE_NETPLAY_USE_MITM_SERVER, - "MITMサーバを使用") + "MITMサーバーを使用") diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index fed68d0056..a44a6d0b70 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2967,3 +2967,5 @@ MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_VIEWPORT_CUSTOM_Y, "Custom viewport offset used for defining the Y-axis position of the viewport. These are ignored if 'Integer Scale' is enabled. It will be automatically centered then.") MSG_HASH(MENU_ENUM_LABEL_VALUE_NETPLAY_USE_MITM_SERVER, "Use MITM Server") +MSG_HASH(MENU_ENUM_SUBLABEL_NETPLAY_USE_MITM_SERVER, + "Forward netplay connections through a man-in-the-middle server. Useful if the host is behind a firewall or has NAT/UPnP problems.") diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index c59139b865..8ae1bd9cbd 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -316,6 +316,7 @@ default_sublabel_macro(action_bind_sublabel_video_viewport_custom_height, default_sublabel_macro(action_bind_sublabel_video_viewport_custom_width, MENU_ENUM_SUBLABEL_VIDEO_VIEWPORT_CUSTOM_WIDTH) default_sublabel_macro(action_bind_sublabel_video_viewport_custom_x, MENU_ENUM_SUBLABEL_VIDEO_VIEWPORT_CUSTOM_X) default_sublabel_macro(action_bind_sublabel_video_viewport_custom_y, MENU_ENUM_SUBLABEL_VIDEO_VIEWPORT_CUSTOM_Y) +default_sublabel_macro(action_bind_sublabel_netplay_use_mitm_server, MENU_ENUM_SUBLABEL_NETPLAY_USE_MITM_SERVER) static int action_bind_sublabel_cheevos_entry( file_list_t *list, @@ -1230,6 +1231,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, case MENU_ENUM_LABEL_CONTENT_HISTORY_SIZE: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_content_history_size); break; + case MENU_ENUM_LABEL_NETPLAY_USE_MITM_SERVER: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_use_mitm_server); + break; default: case MSG_UNKNOWN: return -1; diff --git a/msg_hash.h b/msg_hash.h index 33ed4b66ef..6e3c44c3a4 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -1558,8 +1558,7 @@ enum msg_hash_enums MENU_ENUM_LABEL_VALUE_NETPLAY_LOAD_CONTENT_MANUALLY, MENU_ENUM_LABEL_VALUE_NETPLAY_COMPAT_CONTENT_FOUND, - MENU_ENUM_LABEL_NETPLAY_USE_MITM_SERVER, - MENU_ENUM_LABEL_VALUE_NETPLAY_USE_MITM_SERVER, + MENU_LABEL(NETPLAY_USE_MITM_SERVER), MSG_LAST };