Browse Source

Update Slovak language (#13187)

pull/1/head
Roman Moravčík 6 years ago
committed by Scott Lahteine
parent
commit
567d03a269
  1. 3
      Marlin/src/lcd/language/language_en.h
  2. 3
      Marlin/src/lcd/language/language_sk.h
  3. 6
      Marlin/src/lcd/menu/menu_info.cpp

3
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

3
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:")

6
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

Loading…
Cancel
Save