From b47a29b3883bc1a213f21adbef73b8a8ec18de17 Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Tue, 29 May 2018 15:56:00 +0200 Subject: [PATCH] New ML support - fixed invalid characters, added some cz translations --- Firmware/ultralcd.cpp | 10 +++++----- lang/lang_en_cz.txt | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index e940e488..e6acdf55 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -3610,7 +3610,7 @@ static void lcd_crash_mode_info() static uint32_t tim = 0; if ((tim + 1000) < millis()) { - fputs_P(_i("Crash detection canbe turned on only inNormal mode"), lcdout);////MSG_CRASH_DET_ONLY_IN_NORMAL c=20 r=4 + fputs_P(_i("\x1b[2JCrash detection can\x1b[1;0Hbe turned on only in\x1b[2;0HNormal mode"), lcdout);////MSG_CRASH_DET_ONLY_IN_NORMAL c=20 r=4 tim = millis(); } if (lcd_clicked()) @@ -3623,7 +3623,7 @@ static void lcd_crash_mode_info2() static uint32_t tim = 0; if ((tim + 1000) < millis()) { - fputs_P(_i("WARNING:Crash detectiondisabled inStealth mode"), lcdout);////MSG_CRASH_DET_STEALTH_FORCE_OFF c=20 r=4 + fputs_P(_i("\x1b[2JWARNING:\x1b[1;0HCrash detection\x1b[2;0Hdisabled in\x1b[3;0HStealth mode"), lcdout);////MSG_CRASH_DET_STEALTH_FORCE_OFF c=20 r=4 tim = millis(); } if (lcd_clicked()) @@ -5995,9 +5995,9 @@ static void lcd_control_temperature_menu() MENU_ITEM_EDIT(int3, _T(MSG_FAN_SPEED), &fanSpeed, 0, 255); #if defined AUTOTEMP && (TEMP_SENSOR_0 != 0) MENU_ITEM_EDIT(bool, MSG_AUTOTEMP, &autotemp_enabled); - MENU_ITEM_EDIT(float3, _i(" MENU_ITEM_EDIT(float3, MSG_MIN, &autotemp_min, 0, HEATER_0_MAXTEMP - 10);02 Min"), &autotemp_min, 0, HEATER_0_MAXTEMP - 10);////MSG_MIN c=0 r=0 - MENU_ITEM_EDIT(float3, _i(" MENU_ITEM_EDIT(float3, MSG_MAX, &autotemp_max, 0, HEATER_0_MAXTEMP - 10);02 Max"), &autotemp_max, 0, HEATER_0_MAXTEMP - 10);////MSG_MAX c=0 r=0 - MENU_ITEM_EDIT(float32, _i(" MENU_ITEM_EDIT(float32, MSG_FACTOR, &autotemp_factor, 0.0, 1.0);02 Fact"), &autotemp_factor, 0.0, 1.0);////MSG_FACTOR c=0 r=0 + MENU_ITEM_EDIT(float3, _i(" \002 Min"), &autotemp_min, 0, HEATER_0_MAXTEMP - 10);////MSG_MIN c=0 r=0 + MENU_ITEM_EDIT(float3, _i(" \002 Max"), &autotemp_max, 0, HEATER_0_MAXTEMP - 10);////MSG_MAX c=0 r=0 + MENU_ITEM_EDIT(float32, _i(" \002 Fact"), &autotemp_factor, 0.0, 1.0);////MSG_FACTOR c=0 r=0 #endif END_MENU(); diff --git a/lang/lang_en_cz.txt b/lang/lang_en_cz.txt index 19eba930..7d0a4cd8 100644 --- a/lang/lang_en_cz.txt +++ b/lang/lang_en_cz.txt @@ -436,7 +436,7 @@ #MSG_PRUSA3D_FORUM c=0 r=0 "forum.prusa3d.com" -"\x00" +"forum.prusa3d.com" #MSG_SELFTEST_COOLING_FAN c=20 r=0 "Front print fan?" @@ -472,7 +472,7 @@ #MSG_PRUSA3D_HOWTO c=0 r=0 "howto.prusa3d.com" -"\x00" +"howto.prusa3d.com" #MSG_CHANGE_EXTR c=20 r=1 "Change extruder" @@ -972,7 +972,7 @@ #MSG_PRUSA3D c=0 r=0 "prusa3d.com" -"\x00" +"prusa3d.com" #MSG_BED_CORRECTION_REAR c=14 r=1 "Rear side [um]"