More translated strings

This commit is contained in:
twinaphex 2016-08-22 13:11:40 +02:00
parent a43dab71ba
commit b0a8f72724
3 changed files with 16 additions and 3 deletions

View File

@ -1866,7 +1866,11 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
switch (msg)
{
case MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT:
case MSG_CONNECT_DEVICE_FROM_A_VALID_PORT:
return "connect_device_from_a_valid_port";
case MSG_DISCONNECT_DEVICE_FROM_A_VALID_PORT:
return "disconnect_device_from_a_valid_port";
case MSG_DISCONNECTING_DEVICE_FROM_PORT:
return "disconnecting_device_from_port";
case MSG_BRINGING_UP_COMMAND_INTERFACE_ON_PORT:
return "bringing_up_command_interface_at_port";
@ -2923,6 +2927,10 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
switch (msg)
{
case MSG_VALUE_CONNECT_DEVICE_FROM_A_VALID_PORT:
return "Connect device from a valid port.";
case MSG_VALUE_DISCONNECT_DEVICE_FROM_A_VALID_PORT:
return "Disconnect device from a valid port.";
case MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT:
return "Disconnecting device from port";
case MSG_VALUE_BRINGING_UP_COMMAND_INTERFACE_ON_PORT:

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_CONNECT_DEVICE_FROM_A_VALID_PORT,
MSG_VALUE_CONNECT_DEVICE_FROM_A_VALID_PORT,
MSG_DISCONNECT_DEVICE_FROM_A_VALID_PORT,
MSG_VALUE_DISCONNECT_DEVICE_FROM_A_VALID_PORT,
MSG_DISCONNECTING_DEVICE_FROM_PORT,
MSG_VALUE_DISCONNECTING_DEVICE_FROM_PORT,
MSG_BRINGING_UP_COMMAND_INTERFACE_ON_PORT,

View File

@ -767,7 +767,7 @@ static void retroarch_parse_input(int argc, char *argv[])
if (port < 1 || port > MAX_USERS)
{
RARCH_ERR("Connect device to a valid port.\n");
RARCH_ERR("%s\n", msg_hash_to_str(MSG_VALUE_CONNECT_DEVICE_FROM_A_VALID_PORT));
retroarch_print_help(argv[0]);
retroarch_fail(1, "retroarch_parse_input()");
}
@ -813,7 +813,8 @@ static void retroarch_parse_input(int argc, char *argv[])
port = strtol(optarg, NULL, 0);
if (port < 1 || port > MAX_USERS)
{
RARCH_ERR("Disconnect device from a valid port.\n");
RARCH_ERR("%s\n",
msg_hash_to_str(MSG_VALUE_DISCONNECT_DEVICE_FROM_A_VALID_PORT));
retroarch_print_help(argv[0]);
retroarch_fail(1, "retroarch_parse_input()");
}