mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Make some more strings translatable
This commit is contained in:
parent
e2de11a698
commit
9de0ebe859
@ -1914,6 +1914,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
|
||||
|
||||
switch (msg)
|
||||
{
|
||||
case MSG_GOT_CONNECTION_FROM:
|
||||
return "Got connection from";
|
||||
case MSG_SHUTTING_DOWN:
|
||||
return "shutting_down";
|
||||
case MSG_REBOOTING:
|
||||
|
@ -148,6 +148,7 @@ enum msg_hash_enums
|
||||
MSG_VALUE_FOUND_LAST_STATE_SLOT,
|
||||
MSG_RESTORED_OLD_SAVE_STATE,
|
||||
MSG_NO_STATE_HAS_BEEN_LOADED_YET,
|
||||
MSG_GOT_CONNECTION_FROM,
|
||||
MSG_NO_SAVE_STATE_HAS_BEEN_OVERWRITTEN_YET,
|
||||
MSG_CANNOT_INFER_NEW_CONFIG_PATH,
|
||||
MSG_UNDID_LOAD_STATE,
|
||||
|
@ -987,14 +987,16 @@ void netplay_log_connection(const struct sockaddr_storage *their_addr,
|
||||
|
||||
if (str)
|
||||
{
|
||||
snprintf(msg, sizeof(msg), "Got connection from: \"%s (%s)\"",
|
||||
snprintf(msg, sizeof(msg), "%s: \"%s (%s)\"",
|
||||
msg_hash_to_str(MSG_GOT_CONNECTION_FROM),
|
||||
nick, str);
|
||||
runloop_msg_queue_push(msg, 1, 180, false);
|
||||
RARCH_LOG("%s\n", msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf(msg, sizeof(msg), "Got connection from: \"%s\"",
|
||||
snprintf(msg, sizeof(msg), "%s: \"%s\"",
|
||||
msg_hash_to_str(MSG_GOT_CONNECTION_FROM),
|
||||
nick);
|
||||
runloop_msg_queue_push(msg, 1, 180, false);
|
||||
RARCH_LOG("%s\n", msg);
|
||||
@ -1010,7 +1012,8 @@ void netplay_log_connection(const struct sockaddr_storage *their_addr,
|
||||
|
||||
msg[0] = '\0';
|
||||
|
||||
snprintf(msg, sizeof(msg), "Got connection from: \"%s\"",
|
||||
snprintf(msg, sizeof(msg), "%s: \"%s\"",
|
||||
msg_hash_to_str(MSG_GOT_CONNECTION_FROM),
|
||||
nick);
|
||||
runloop_msg_queue_push(msg, 1, 180, false);
|
||||
RARCH_LOG("%s\n", msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user