Add another translatable string

This commit is contained in:
twinaphex 2016-10-22 04:49:04 +02:00
parent 9de0ebe859
commit 3334060b03
3 changed files with 5 additions and 1 deletions

View File

@ -1914,6 +1914,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
switch (msg)
{
case MSG_CONNECTION_SLOT:
return "Connection slot";
case MSG_GOT_CONNECTION_FROM:
return "Got connection from";
case MSG_SHUTTING_DOWN:

View File

@ -149,6 +149,7 @@ enum msg_hash_enums
MSG_RESTORED_OLD_SAVE_STATE,
MSG_NO_STATE_HAS_BEEN_LOADED_YET,
MSG_GOT_CONNECTION_FROM,
MSG_CONNECTION_SLOT,
MSG_NO_SAVE_STATE_HAS_BEEN_OVERWRITTEN_YET,
MSG_CANNOT_INFER_NEW_CONFIG_PATH,
MSG_UNDID_LOAD_STATE,

View File

@ -1017,7 +1017,8 @@ void netplay_log_connection(const struct sockaddr_storage *their_addr,
nick);
runloop_msg_queue_push(msg, 1, 180, false);
RARCH_LOG("%s\n", msg);
RARCH_LOG("Connection slot %u\n", slot);
RARCH_LOG("%s %u\n",
msg_hash_to_str(MSG_CONNECTION_SLOT), slot);
}
#endif