From e88ac72cc8392af0c61b566364d9dbefc69d9e6c Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Tue, 7 Nov 2017 16:57:52 +0100 Subject: [PATCH] missing messages added --- Firmware/language_all.cpp | 20 ++++++++++++++++++++ Firmware/language_all.h | 8 ++++++++ Firmware/language_en.h | 7 ++++++- 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/Firmware/language_all.cpp b/Firmware/language_all.cpp index a5195b53..6f8f047a 100644 --- a/Firmware/language_all.cpp +++ b/Firmware/language_all.cpp @@ -730,6 +730,16 @@ const char * const MSG_COUNT_X_LANG_TABLE[1] PROGMEM = { MSG_COUNT_X_EN }; +const char MSG_CRASHDETECT_OFF_EN[] PROGMEM = "Crash det. [off]"; +const char * const MSG_CRASHDETECT_OFF_LANG_TABLE[1] PROGMEM = { + MSG_CRASHDETECT_OFF_EN +}; + +const char MSG_CRASHDETECT_ON_EN[] PROGMEM = "Crash det. [on]"; +const char * const MSG_CRASHDETECT_ON_LANG_TABLE[1] PROGMEM = { + MSG_CRASHDETECT_ON_EN +}; + const char MSG_CRASH_DETECTED_EN[] PROGMEM = "Crash detected. Continue printing?"; const char * const MSG_CRASH_DETECTED_LANG_TABLE[1] PROGMEM = { MSG_CRASH_DETECTED_EN @@ -1196,6 +1206,16 @@ const char * const MSG_FREE_MEMORY_LANG_TABLE[1] PROGMEM = { MSG_FREE_MEMORY_EN }; +const char MSG_FSENSOR_OFF_EN[] PROGMEM = "Fil. sensor [off]"; +const char * const MSG_FSENSOR_OFF_LANG_TABLE[1] PROGMEM = { + MSG_FSENSOR_OFF_EN +}; + +const char MSG_FSENSOR_ON_EN[] PROGMEM = "Fil. sensor [on]"; +const char * const MSG_FSENSOR_ON_LANG_TABLE[1] PROGMEM = { + MSG_FSENSOR_ON_EN +}; + const char MSG_HEATING_EN[] PROGMEM = "Heating"; const char MSG_HEATING_CZ[] PROGMEM = "Zahrivani"; const char MSG_HEATING_IT[] PROGMEM = "Riscaldamento..."; diff --git a/Firmware/language_all.h b/Firmware/language_all.h index b7480f55..9bfcbd83 100644 --- a/Firmware/language_all.h +++ b/Firmware/language_all.h @@ -144,6 +144,10 @@ extern const char* const MSG_CORRECTLY_LANG_TABLE[LANG_NUM]; #define MSG_CORRECTLY LANG_TABLE_SELECT(MSG_CORRECTLY_LANG_TABLE) extern const char* const MSG_COUNT_X_LANG_TABLE[1]; #define MSG_COUNT_X LANG_TABLE_SELECT_EXPLICIT(MSG_COUNT_X_LANG_TABLE, 0) +extern const char* const MSG_CRASHDETECT_OFF_LANG_TABLE[1]; +#define MSG_CRASHDETECT_OFF LANG_TABLE_SELECT_EXPLICIT(MSG_CRASHDETECT_OFF_LANG_TABLE, 0) +extern const char* const MSG_CRASHDETECT_ON_LANG_TABLE[1]; +#define MSG_CRASHDETECT_ON LANG_TABLE_SELECT_EXPLICIT(MSG_CRASHDETECT_ON_LANG_TABLE, 0) extern const char* const MSG_CRASH_DETECTED_LANG_TABLE[1]; #define MSG_CRASH_DETECTED LANG_TABLE_SELECT_EXPLICIT(MSG_CRASH_DETECTED_LANG_TABLE, 0) extern const char* const MSG_CURRENT_LANG_TABLE[LANG_NUM]; @@ -240,6 +244,10 @@ extern const char* const MSG_FOLLOW_CALIBRATION_FLOW_LANG_TABLE[LANG_NUM]; #define MSG_FOLLOW_CALIBRATION_FLOW LANG_TABLE_SELECT(MSG_FOLLOW_CALIBRATION_FLOW_LANG_TABLE) extern const char* const MSG_FREE_MEMORY_LANG_TABLE[1]; #define MSG_FREE_MEMORY LANG_TABLE_SELECT_EXPLICIT(MSG_FREE_MEMORY_LANG_TABLE, 0) +extern const char* const MSG_FSENSOR_OFF_LANG_TABLE[1]; +#define MSG_FSENSOR_OFF LANG_TABLE_SELECT_EXPLICIT(MSG_FSENSOR_OFF_LANG_TABLE, 0) +extern const char* const MSG_FSENSOR_ON_LANG_TABLE[1]; +#define MSG_FSENSOR_ON LANG_TABLE_SELECT_EXPLICIT(MSG_FSENSOR_ON_LANG_TABLE, 0) extern const char* const MSG_HEATING_LANG_TABLE[LANG_NUM]; #define MSG_HEATING LANG_TABLE_SELECT(MSG_HEATING_LANG_TABLE) extern const char* const MSG_HEATING_COMPLETE_LANG_TABLE[LANG_NUM]; diff --git a/Firmware/language_en.h b/Firmware/language_en.h index 77542261..38bc393c 100644 --- a/Firmware/language_en.h +++ b/Firmware/language_en.h @@ -336,4 +336,9 @@ #define(lenght=20, lines=2) MSG_WIZARD_PLA_FILAMENT "Is it PLA filament?" #define(lenght=20, lines=8) MSG_WIZARD_INSERT_CORRECT_FILAMENT "Please load PLA filament and then resume Wizard by rebooting the printer." #define(lenght=20, lines=2) MSG_PLA_FILAMENT_LOADED "Is PLA filament loaded?" -#define(lenght=20, lines=4) MSG_PLEASE_LOAD_PLA "Please load PLA filament first." \ No newline at end of file +#define(lenght=20, lines=4) MSG_PLEASE_LOAD_PLA "Please load PLA filament first." + +#define MSG_CRASHDETECT_OFF "Crash det. [off]" +#define MSG_CRASHDETECT_ON "Crash det. [on]" +#define MSG_FSENSOR_OFF "Fil. sensor [off]" +#define MSG_FSENSOR_ON "Fil. sensor [on]" \ No newline at end of file