From bdc2f10b90343b4796e5ecd31537f2c02258248e Mon Sep 17 00:00:00 2001 From: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Thu, 14 Feb 2019 04:05:18 +0100 Subject: [PATCH] Update Italian language, fix unused var warning (#13164) --- Marlin/src/Marlin.cpp | 12 +++++++----- Marlin/src/lcd/language/language_it.h | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Marlin/src/Marlin.cpp b/Marlin/src/Marlin.cpp index ce2a1acfb..e101e9f2b 100644 --- a/Marlin/src/Marlin.cpp +++ b/Marlin/src/Marlin.cpp @@ -331,11 +331,13 @@ void disable_all_steppers() { ExtUI::onFilamentRunout(ExtUI::getActiveTool()); #endif - const char tool = '0' - #if NUM_RUNOUT_SENSORS > 1 - + active_extruder - #endif - ; + #if ENABLED(HOST_PROMPT_SUPPORT) || ENABLED(HOST_ACTION_COMMANDS) + const char tool = '0' + #if NUM_RUNOUT_SENSORS > 1 + + active_extruder + #endif + ; + #endif //action:out_of_filament #if ENABLED(HOST_PROMPT_SUPPORT) diff --git a/Marlin/src/lcd/language/language_it.h b/Marlin/src/lcd/language/language_it.h index 3a67cc5f9..d859f7dd6 100644 --- a/Marlin/src/lcd/language/language_it.h +++ b/Marlin/src/lcd/language/language_it.h @@ -431,12 +431,12 @@ #define MSG_GRADIENT _UxGT("Gradiente") #define MSG_FULL_GRADIENT _UxGT("Gradiente pieno") #define MSG_TOGGLE_MIX _UxGT("Alterna miscela") -//#define MSG_CYCLE_MIX _UxGT("Ciclo miscela") +#define MSG_CYCLE_MIX _UxGT("Ciclo miscela") #define MSG_GRADIENT_MIX _UxGT("Miscela gradiente") #define MSG_REVERSE_GRADIENT _UxGT("Inverti gradiente") #define MSG_ACTIVE_VTOOL _UxGT("V-tool attivo") -//#define MSG_START_VTOOL _UxGT("V-tool inizio") -//#define MSG_END_VTOOL _UxGT("V-tool fine") +#define MSG_START_VTOOL _UxGT("V-tool iniziale") +#define MSG_END_VTOOL _UxGT("V-tool finale") #define MSG_GRADIENT_ALIAS _UxGT("V-tool alias") #define MSG_RESET_VTOOLS _UxGT("Ripristina V-tools") #define MSG_COMMIT_VTOOL _UxGT("Commit mix V-tool")