Make two strings translatable

This commit is contained in:
twinaphex 2016-10-20 18:02:23 +02:00
parent c135e5d688
commit 09fd2fa118
2 changed files with 4 additions and 4 deletions

View File

@ -2227,14 +2227,14 @@ bool command_event(enum event_command cmd, void *data)
break;
case CMD_EVENT_SHUTDOWN:
#if defined(__linux__) && !defined(ANDROID)
runloop_msg_queue_push("Shutting down...", 1, 180, true);
runloop_msg_queue_push(msg_hash_to_str(MSG_VALUE_SHUTTING_DOWN), 1, 180, true);
command_event(CMD_EVENT_QUIT, NULL);
system("shutdown -P now");
#endif
break;
case CMD_EVENT_REBOOT:
#if defined(__linux__) && !defined(ANDROID)
runloop_msg_queue_push("Rebooting...", 1, 180, true);
runloop_msg_queue_push(msg_hash_to_str(MSG_VALUE_REBOOTING), 1, 180, true);
command_event(CMD_EVENT_QUIT, NULL);
system("shutdown -r now");
#endif

View File

@ -3030,9 +3030,9 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
case MENU_ENUM_SUBLABEL_SUSPEND_SCREENSAVER_ENABLE:
return "Prevents your system's screensaver from becoming active.";
case MSG_VALUE_SHUTTING_DOWN:
return "Shutting down";
return "Shutting down...";
case MSG_VALUE_REBOOTING:
return "Rebooting";
return "Rebooting...";
case MSG_VALUE_FAILED_TO_START_AUDIO_DRIVER:
return "Failed to start audio driver. Will continue without audio.";
case MSG_VALUE_FOUND_LAST_STATE_SLOT: