Use a STR_ prefix for non-translated strings
This commit is contained in:
		@@ -118,7 +118,7 @@ void GcodeSuite::G0_G1(
 | 
			
		||||
      #endif
 | 
			
		||||
      if (_MOVE_SYNC) {
 | 
			
		||||
        planner.synchronize();
 | 
			
		||||
        SERIAL_ECHOLNPGM(MSG_Z_MOVE_COMP);
 | 
			
		||||
        SERIAL_ECHOLNPGM(STR_Z_MOVE_COMP);
 | 
			
		||||
      }
 | 
			
		||||
    #endif
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
@@ -327,7 +327,7 @@ void GcodeSuite::G2_G3(const bool clockwise) {
 | 
			
		||||
        // P indicates number of circles to do
 | 
			
		||||
        int8_t circles_to_do = parser.byteval('P');
 | 
			
		||||
        if (!WITHIN(circles_to_do, 0, 100))
 | 
			
		||||
          SERIAL_ERROR_MSG(MSG_ERR_ARC_ARGS);
 | 
			
		||||
          SERIAL_ERROR_MSG(STR_ERR_ARC_ARGS);
 | 
			
		||||
 | 
			
		||||
        while (circles_to_do--)
 | 
			
		||||
          plan_arc(current_position, arc_offset, clockwise);
 | 
			
		||||
@@ -338,7 +338,7 @@ void GcodeSuite::G2_G3(const bool clockwise) {
 | 
			
		||||
      reset_stepper_timeout();
 | 
			
		||||
    }
 | 
			
		||||
    else
 | 
			
		||||
      SERIAL_ERROR_MSG(MSG_ERR_ARC_ARGS);
 | 
			
		||||
      SERIAL_ERROR_MSG(STR_ERR_ARC_ARGS);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@ void GcodeSuite::G4() {
 | 
			
		||||
 | 
			
		||||
  planner.synchronize();
 | 
			
		||||
  #if ENABLED(NANODLP_Z_SYNC)
 | 
			
		||||
    SERIAL_ECHOLNPGM(MSG_Z_MOVE_COMP);
 | 
			
		||||
    SERIAL_ECHOLNPGM(STR_Z_MOVE_COMP);
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  if (!ui.has_status()) LCD_MESSAGEPGM(MSG_DWELL);
 | 
			
		||||
 
 | 
			
		||||
@@ -45,7 +45,7 @@ void GcodeSuite::G5() {
 | 
			
		||||
 | 
			
		||||
    #if ENABLED(CNC_WORKSPACE_PLANES)
 | 
			
		||||
      if (workspace_plane != PLANE_XY) {
 | 
			
		||||
        SERIAL_ERROR_MSG(MSG_ERR_BAD_PLANE_MODE);
 | 
			
		||||
        SERIAL_ERROR_MSG(STR_ERR_BAD_PLANE_MODE);
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
    #endif
 | 
			
		||||
 
 | 
			
		||||
@@ -48,13 +48,13 @@
 | 
			
		||||
    ) {
 | 
			
		||||
      probe.offset.z += offs;
 | 
			
		||||
      SERIAL_ECHO_START();
 | 
			
		||||
      SERIAL_ECHOLNPAIR(MSG_PROBE_OFFSET MSG_Z ": ", probe.offset.z);
 | 
			
		||||
      SERIAL_ECHOLNPAIR(STR_PROBE_OFFSET STR_Z ": ", probe.offset.z);
 | 
			
		||||
    }
 | 
			
		||||
    else {
 | 
			
		||||
      #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
 | 
			
		||||
        hotend_offset[active_extruder].z -= offs;
 | 
			
		||||
        SERIAL_ECHO_START();
 | 
			
		||||
        SERIAL_ECHOLNPAIR(MSG_PROBE_OFFSET MSG_Z ": ", hotend_offset[active_extruder].z);
 | 
			
		||||
        SERIAL_ECHOLNPAIR(STR_PROBE_OFFSET STR_Z ": ", hotend_offset[active_extruder].z);
 | 
			
		||||
      #endif
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
@@ -98,7 +98,7 @@ void GcodeSuite::M290() {
 | 
			
		||||
    SERIAL_ECHO_START();
 | 
			
		||||
 | 
			
		||||
    #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
 | 
			
		||||
      SERIAL_ECHOLNPAIR(MSG_PROBE_OFFSET " " MSG_Z, probe.offset.z);
 | 
			
		||||
      SERIAL_ECHOLNPAIR(STR_PROBE_OFFSET " " STR_Z, probe.offset.z);
 | 
			
		||||
    #endif
 | 
			
		||||
 | 
			
		||||
    #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user