From 567d03a2693df88346e15b9ed24cf3a78dd79f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Morav=C4=8D=C3=ADk?= Date: Sun, 17 Feb 2019 19:29:49 +0100 Subject: [PATCH] Update Slovak language (#13187) --- Marlin/src/lcd/language/language_en.h | 3 +++ Marlin/src/lcd/language/language_sk.h | 3 +++ Marlin/src/lcd/menu/menu_info.cpp | 6 +++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Marlin/src/lcd/language/language_en.h b/Marlin/src/lcd/language/language_en.h index 70c3fdaffc..97f04028d9 100644 --- a/Marlin/src/lcd/language/language_en.h +++ b/Marlin/src/lcd/language/language_en.h @@ -1362,3 +1362,6 @@ #ifndef MSG_SERVICE_RESET #define MSG_SERVICE_RESET _UxGT("Reset") #endif +#ifndef MSG_SERVICE_IN + #define MSG_SERVICE_IN _UxGT(" in:") +#endif diff --git a/Marlin/src/lcd/language/language_sk.h b/Marlin/src/lcd/language/language_sk.h index 7bd7f60f20..8be4b13b7b 100644 --- a/Marlin/src/lcd/language/language_sk.h +++ b/Marlin/src/lcd/language/language_sk.h @@ -506,3 +506,6 @@ #define MSG_TMC_HOMING_THRS _UxGT("Bezsenzor. domov") #define MSG_TMC_STEPPING_MODE _UxGT("Režim krokovania") #define MSG_TMC_STEALTH_ENABLED _UxGT("StealthChop zapnutý") + +#define MSG_SERVICE_RESET _UxGT("Vynulovať") +#define MSG_SERVICE_IN _UxGT(" za:") diff --git a/Marlin/src/lcd/menu/menu_info.cpp b/Marlin/src/lcd/menu/menu_info.cpp index 3f3ace0f6a..f5a84b093b 100644 --- a/Marlin/src/lcd/menu/menu_info.cpp +++ b/Marlin/src/lcd/menu/menu_info.cpp @@ -74,19 +74,19 @@ #if SERVICE_INTERVAL_1 > 0 elapsed = stats.nextService1; elapsed.toString(buffer); - STATIC_ITEM(SERVICE_NAME_1 " in:", false, false); // Service X in: + STATIC_ITEM(SERVICE_NAME_1 MSG_SERVICE_IN, false, false); // Service X in: STATIC_ITEM("> ", false, false, buffer); // > 7d 12h 11m 10s #endif #if SERVICE_INTERVAL_2 > 0 elapsed = stats.nextService2; elapsed.toString(buffer); - STATIC_ITEM(SERVICE_NAME_2 " in:", false, false); + STATIC_ITEM(SERVICE_NAME_2 MSG_SERVICE_IN, false, false); STATIC_ITEM("> ", false, false, buffer); #endif #if SERVICE_INTERVAL_3 > 0 elapsed = stats.nextService3; elapsed.toString(buffer); - STATIC_ITEM(SERVICE_NAME_3 " in:", false, false); + STATIC_ITEM(SERVICE_NAME_3 MSG_SERVICE_IN, false, false); STATIC_ITEM("> ", false, false, buffer); #endif