Skip to content

Commit 6b55eec

Browse files
committed
🩹 Print English to serial out
1 parent 4a50d89 commit 6b55eec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Marlin/src/core/multi_language.h

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ typedef const char Language_Str[];
8080
#endif
8181
#define GET_TEXT_F(MSG) FPSTR(GET_TEXT(MSG))
8282

83+
#define GET_EN_TEXT(MSG) GET_LANG(en)::MSG
84+
#define GET_EN_TEXT_F(MSG) FPSTR(GET_EN_TEXT(MSG))
85+
8386
#define GET_LANGUAGE_NAME(INDEX) GET_LANG(LCD_LANGUAGE_##INDEX)::LANGUAGE
8487
#define LANG_CHARSIZE GET_TEXT(CHARSIZE)
8588
#define USE_WIDE_GLYPH (LANG_CHARSIZE > 2)

Marlin/src/module/probe.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
311311
FSTR_P const ds_str = deploy ? GET_TEXT_F(MSG_MANUAL_DEPLOY) : GET_TEXT_F(MSG_MANUAL_STOW);
312312
ui.return_to_status(); // To display the new status message
313313
ui.set_status(ds_str, 99);
314-
SERIAL_ECHOLNF(ds_str);
314+
SERIAL_ECHOLNF(deploy ? GET_EN_TEXT_F(MSG_MANUAL_DEPLOY) : GET_EN_TEXT_F(MSG_MANUAL_STOW));
315315

316316
TERN_(HOST_PROMPT_SUPPORT, hostui.prompt_do(PROMPT_USER_CONTINUE, F("Stow Probe"), FPSTR(CONTINUE_STR)));
317317
TERN_(EXTENSIBLE_UI, ExtUI::onUserConfirmRequired(F("Stow Probe")));

0 commit comments

Comments
 (0)