FW Crash messages will not be translated

This commit is contained in:
3d-gussner 2022-02-22 12:36:33 +01:00
parent 9d2f3acd13
commit 571e6fabfa
2 changed files with 7 additions and 7 deletions

View File

@ -1011,7 +1011,7 @@ static void fw_crash_init()
eeprom_read_byte((uint8_t*)EEPROM_FW_CRASH_FLAG) != 0xFF)
{
lcd_show_fullscreen_message_and_wait_P(
_i("FW crash detected! "
_n("FW crash detected! "
"You can continue printing. "
"Debug data available for analysis. "
"Contact support to submit details."));
@ -1025,17 +1025,17 @@ static void fw_crash_init()
lcd_beeper_quick_feedback();
lcd_clear();
lcd_puts_P(_i("FIRMWARE CRASH!\nCrash reason:\n"));
lcd_puts_P(_n("FIRMWARE CRASH!\nCrash reason:\n"));
switch(crash_reason)
{
case dump_crash_reason::stack_error:
lcd_puts_P(_i("Static memory has\nbeen overwritten"));
lcd_puts_P(_n("Static memory has\nbeen overwritten"));
break;
case dump_crash_reason::watchdog:
lcd_puts_P(_i("Watchdog timeout"));
lcd_puts_P(_n("Watchdog timeout"));
break;
case dump_crash_reason::bad_isr:
lcd_puts_P(_i("Bad interrupt"));
lcd_puts_P(_n("Bad interrupt"));
break;
default:
lcd_print((uint8_t)crash_reason);

View File

@ -2051,11 +2051,11 @@ static void lcd_support_menu()
#endif //defined VOLT_BED_PIN || defined VOLT_PWR_PIN
#ifdef MENU_DUMP
MENU_ITEM_FUNCTION_P(_i("Dump memory"), lcd_dump_memory);
MENU_ITEM_FUNCTION_P(_n("Dump memory"), lcd_dump_memory);
#endif //MENU_DUMP
#ifdef MENU_SERIAL_DUMP
if (emergency_serial_dump)
MENU_ITEM_FUNCTION_P(_i("Dump to serial"), lcd_serial_dump);
MENU_ITEM_FUNCTION_P(_n("Dump to serial"), lcd_serial_dump);
#endif
#ifdef DEBUG_BUILD
#ifdef EMERGENCY_HANDLERS