More translated strings

This commit is contained in:
twinaphex 2016-08-22 02:38:19 +02:00
parent 36d9b866cc
commit a43dab71ba
3 changed files with 17 additions and 2 deletions

View File

@ -378,7 +378,8 @@ static bool command_network_init(command_t *handle, uint16_t port)
int fd;
struct addrinfo *res = NULL;
RARCH_LOG("Bringing up command interface on port %hu.\n",
RARCH_LOG("%s %hu.\n",
msg_hash_to_str(MSG_VALUE_BRINGING_UP_COMMAND_INTERFACE_ON_PORT),
(unsigned short)port);
fd = socket_init((void**)&res, port, NULL, SOCKET_TYPE_DATAGRAM);
@ -1130,7 +1131,9 @@ static void command_event_init_controllers(void)
switch (device)
{
case RETRO_DEVICE_NONE:
RARCH_LOG("Disconnecting device from port %u.\n", i + 1);
RARCH_LOG("%s %u.\n",
msg_hash_to_str(MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT),
i + 1);
set_controller = true;
break;
case RETRO_DEVICE_JOYPAD:

View File

@ -1866,6 +1866,10 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
switch (msg)
{
case MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT:
return "disconnecting_device_from_port";
case MSG_BRINGING_UP_COMMAND_INTERFACE_ON_PORT:
return "bringing_up_command_interface_at_port";
case MENU_ENUM_LABEL_VIDEO_MAX_SWAPCHAIN_IMAGES:
return "video_max_swapchain_images";
case MENU_ENUM_LABEL_CORE_SETTINGS:
@ -2919,6 +2923,10 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
switch (msg)
{
case MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT:
return "Disconnecting device from port";
case MSG_VALUE_BRINGING_UP_COMMAND_INTERFACE_ON_PORT:
return "Bringing up command interface on port";
case MSG_LOADING_HISTORY_FILE:
return "Loading history file";
case MENU_ENUM_LABEL_VALUE_SHADER_PIPELINE_RIBBON_SIMPLIFIED:

View File

@ -133,6 +133,10 @@ enum msg_hash_enums
MSG_CANNOT_INFER_NEW_CONFIG_PATH,
MSG_UNDID_LOAD_STATE,
MSG_UNDID_SAVE_STATE,
MSG_DISCONNECTING_DEVICE_FROM_PORT,
MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT,
MSG_BRINGING_UP_COMMAND_INTERFACE_ON_PORT,
MSG_VALUE_BRINGING_UP_COMMAND_INTERFACE_ON_PORT,
MSG_FAILED_TO_ACCEPT_INCOMING_SPECTATOR,
MSG_FAILED_TO_GET_NICKNAME_FROM_CLIENT,
MSG_FAILED_TO_SEND_NICKNAME_TO_CLIENT,