Multi-language support (#15453)
This commit is contained in:
committed by
Scott Lahteine
parent
dc14d4a13c
commit
6a865a6146
@ -281,7 +281,7 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
|
||||
BUZZ(100, 659);
|
||||
BUZZ(100, 698);
|
||||
|
||||
PGM_P const ds_str = deploy ? PSTR(MSG_MANUAL_DEPLOY) : PSTR(MSG_MANUAL_STOW);
|
||||
PGM_P const ds_str = deploy ? GET_TEXT(MSG_MANUAL_DEPLOY) : GET_TEXT(MSG_MANUAL_STOW);
|
||||
ui.return_to_status(); // To display the new status message
|
||||
ui.set_status_P(ds_str, 99);
|
||||
serialprintPGM(ds_str);
|
||||
@ -293,7 +293,7 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
|
||||
host_prompt_do(PROMPT_USER_CONTINUE, PSTR("Stow Probe"), PSTR("Continue"));
|
||||
#endif
|
||||
#if ENABLED(EXTENSIBLE_UI)
|
||||
ExtUI::onUserConfirmRequired(PSTR("Stow Probe"));
|
||||
ExtUI::onUserConfirmRequired_P(PSTR("Stow Probe"));
|
||||
#endif
|
||||
while (wait_for_user) idle();
|
||||
ui.reset_status();
|
||||
@ -406,7 +406,7 @@ bool set_probe_deployed(const bool deploy) {
|
||||
if (PROBE_STOWED() == deploy) { // Unchanged after deploy/stow action?
|
||||
if (IsRunning()) {
|
||||
SERIAL_ERROR_MSG("Z-Probe failed");
|
||||
LCD_ALERTMESSAGEPGM("Err: ZPROBE");
|
||||
LCD_ALERTMESSAGEPGM_P(PSTR("Err: ZPROBE"));
|
||||
}
|
||||
stop();
|
||||
return true;
|
||||
@ -736,7 +736,7 @@ float probe_at_point(const float &rx, const float &ry, const ProbePtRaise raise_
|
||||
|
||||
if (isnan(measured_z)) {
|
||||
STOW_PROBE();
|
||||
LCD_MESSAGEPGM(MSG_ERR_PROBING_FAILED);
|
||||
LCD_MESSAGEPGM(MSG_LCD_PROBING_FAILED);
|
||||
SERIAL_ERROR_MSG(MSG_ERR_PROBING_FAILED);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user