Browse Source

Fix Probe Offset XY edit items (et Français) (#16523)

pull/1/head
Tanguy Pruvot 5 years ago
committed by Scott Lahteine
parent
commit
f9f7697b96
  1. 3
      Marlin/src/lcd/language/language_fr.h
  2. 4
      Marlin/src/lcd/menu/menu_advanced.cpp

3
Marlin/src/lcd/language/language_fr.h

@ -365,6 +365,9 @@ namespace Language_fr {
PROGMEM Language_Str MSG_MANUAL_DEPLOY = _UxGT("Déployer Sonde Z");
PROGMEM Language_Str MSG_MANUAL_STOW = _UxGT("Ranger Sonde Z");
PROGMEM Language_Str MSG_HOME_FIRST = _UxGT("Origine %s%s%s Premier");
PROGMEM Language_Str MSG_ZPROBE_OFFSETS = _UxGT("Position sonde Z");
PROGMEM Language_Str MSG_ZPROBE_XOFFSET = _UxGT("Décalage X");
PROGMEM Language_Str MSG_ZPROBE_YOFFSET = _UxGT("Décalage Y");
PROGMEM Language_Str MSG_ZPROBE_ZOFFSET = _UxGT("Décalage Z");
PROGMEM Language_Str MSG_BABYSTEP_TOTAL = _UxGT("Total");
PROGMEM Language_Str MSG_ENDSTOP_ABORT = _UxGT("Butée abandon");

4
Marlin/src/lcd/menu/menu_advanced.cpp

@ -506,8 +506,8 @@ void menu_cancelobject();
void menu_probe_offsets() {
START_MENU();
BACK_ITEM(MSG_ADVANCED_SETTINGS);
EDIT_ITEM(float51, MSG_ZPROBE_XOFFSET, &probe_offset.x, -(X_BED_SIZE), X_BED_SIZE);
EDIT_ITEM(float51, MSG_ZPROBE_YOFFSET, &probe_offset.y, -(Y_BED_SIZE), Y_BED_SIZE);
EDIT_ITEM(float51sign, MSG_ZPROBE_XOFFSET, &probe_offset.x, -(X_BED_SIZE), X_BED_SIZE);
EDIT_ITEM(float51sign, MSG_ZPROBE_YOFFSET, &probe_offset.y, -(Y_BED_SIZE), Y_BED_SIZE);
EDIT_ITEM(LCD_Z_OFFSET_TYPE, MSG_ZPROBE_ZOFFSET, &probe_offset.z, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
END_MENU();
}

Loading…
Cancel
Save