Browse Source

Move MSG_MARLIN

pull/1/head
Scott Lahteine 5 years ago
parent
commit
ffcbba4447
  1. 2
      Marlin/src/MarlinCore.cpp
  2. 9
      Marlin/src/core/language.h
  3. 1
      Marlin/src/lcd/language/language_en.h
  4. 2
      Marlin/src/lcd/menu/menu_info.cpp

2
Marlin/src/MarlinCore.cpp

@ -912,7 +912,7 @@ void setup() {
if (mcu & 32) SERIAL_ECHOLNPGM(MSG_SOFTWARE_RESET);
HAL_clear_reset_source();
SERIAL_ECHOPGM(MSG_MARLIN);
serialprintPGM(GET_TEXT(MSG_MARLIN));
SERIAL_CHAR(' ');
SERIAL_ECHOLNPGM(SHORT_BUILD_VERSION);
SERIAL_EOL();

9
Marlin/src/core/language.h

@ -135,14 +135,7 @@
#endif
// Common LCD messages
/* nothing here yet */
// Common serial messages
#define MSG_MARLIN "Marlin"
// Serial Console Messages (do not translate those!)
// Common Serial Console Messages (do not translate those!)
#define MSG_ENQUEUEING "enqueueing \""
#define MSG_POWERUP "PowerUp"

1
Marlin/src/lcd/language/language_en.h

@ -40,6 +40,7 @@ namespace Language_en {
PROGMEM Language_Str LANGUAGE = _UxGT("English");
PROGMEM Language_Str WELCOME_MSG = MACHINE_NAME _UxGT(" Ready.");
PROGMEM Language_Str MSG_MARLIN = _UxGT("Marlin");
PROGMEM Language_Str MSG_YES = _UxGT("YES");
PROGMEM Language_Str MSG_NO = _UxGT("NO");
PROGMEM Language_Str MSG_BACK = _UxGT("Back");

2
Marlin/src/lcd/menu/menu_info.cpp

@ -265,7 +265,7 @@ void menu_info_board() {
void menu_info_printer() {
if (ui.use_click()) return ui.go_back();
START_SCREEN();
STATIC_ITEM_P(PSTR(MSG_MARLIN), SS_CENTER|SS_INVERT); // Marlin
STATIC_ITEM(MSG_MARLIN, SS_CENTER|SS_INVERT); // Marlin
STATIC_ITEM_P(PSTR(SHORT_BUILD_VERSION)); // x.x.x-Branch
STATIC_ITEM_P(PSTR(STRING_DISTRIBUTION_DATE)); // YYYY-MM-DD HH:MM
STATIC_ITEM_P(PSTR(MACHINE_NAME)); // My3DPrinter

Loading…
Cancel
Save