ソースを参照

Add MSG_LEVEL_BED_DONE and MSG_LEVEL_BED_WAITING

Scott Lahteine 8年前
コミット
5719fcba51

+ 2
- 0
Marlin/language_an.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Amortar motors"
44 44
 #define MSG_AUTO_HOME                       "Levar a l'orichen"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Set home offsets"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Establir zero"

+ 2
- 0
Marlin/language_bg.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Изкл. двигатели"
44 44
 #define MSG_AUTO_HOME                       "Паркиране"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Задай Начало"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Изходна точка"

+ 2
- 0
Marlin/language_ca.h ファイルの表示

@@ -44,6 +44,8 @@
44 44
 #define MSG_DISABLE_STEPPERS                "Apagar motors"
45 45
 #define MSG_AUTO_HOME                       "Home global"
46 46
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
47
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
48
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
47 49
 #define MSG_SET_HOME_OFFSETS                "Set home offsets"
48 50
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
49 51
 #define MSG_SET_ORIGIN                      "Establir origen"

+ 2
- 0
Marlin/language_cn.h ファイルの表示

@@ -41,6 +41,8 @@
41 41
 #define MSG_DISABLE_STEPPERS                "\xb5\xb6\xb7\xb8\xb9\xba"
42 42
 #define MSG_AUTO_HOME                       "\xbb\xbc\xbd"
43 43
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
44
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
45
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
44 46
 #define MSG_SET_HOME_OFFSETS                "\xbe\xbf\xbb\xbc\xbd\xc0\xc1"
45 47
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
46 48
 #define MSG_SET_ORIGIN                      "\xbe\xbf\xbc\xbd"

+ 2
- 0
Marlin/language_cz.h ファイルの表示

@@ -47,6 +47,8 @@
47 47
 #define MSG_DISABLE_STEPPERS                "Uvolnit motory"
48 48
 #define MSG_AUTO_HOME                       "Domovska pozice"
49 49
 #define MSG_LEVEL_BED_HOMING                "Mereni podlozky"
50
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
51
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
50 52
 #define MSG_SET_HOME_OFFSETS                "Nastavit ofsety"
51 53
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
52 54
 #define MSG_SET_ORIGIN                      "Nastavit pocatek"

+ 2
- 0
Marlin/language_da.h ファイルの表示

@@ -44,6 +44,8 @@
44 44
 #define MSG_COOLDOWN                        "Afkøl"
45 45
 #define MSG_DISABLE_STEPPERS                "Slå stepper fra"
46 46
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
47
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
48
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
47 49
 #define MSG_SET_HOME_OFFSETS                "Sæt home offsets"
48 50
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
49 51
 #define MSG_SET_ORIGIN                      "Sæt origin"

+ 2
- 0
Marlin/language_de.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Motoren Aus" // M84
44 44
 #define MSG_AUTO_HOME                       "Home" // G28
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Setze Home hier"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Setze Null hier" //"G92 X0 Y0 Z0" commented out in ultralcd.cpp

+ 6
- 0
Marlin/language_en.h ファイルの表示

@@ -64,6 +64,12 @@
64 64
 #ifndef MSG_LEVEL_BED_HOMING
65 65
   #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
66 66
 #endif
67
+#ifndef MSG_LEVEL_BED_WAITING
68
+  #define MSG_LEVEL_BED_WAITING               "Click to Begin"
69
+#endif
70
+#ifndef MSG_LEVEL_BED_DONE
71
+  #define MSG_LEVEL_BED_DONE                  "Leveling Done!"
72
+#endif
67 73
 #ifndef MSG_SET_HOME_OFFSETS
68 74
   #define MSG_SET_HOME_OFFSETS                "Set home offsets"
69 75
 #endif

+ 2
- 0
Marlin/language_es.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Apagar motores"
44 44
 #define MSG_AUTO_HOME                       "Llevar al origen"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Ajustar offsets"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Establecer cero"

+ 2
- 0
Marlin/language_eu.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Itzali motoreak"
44 44
 #define MSG_AUTO_HOME                       "Hasierara joan"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Set home offsets"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Hasiera ipini"

+ 2
- 0
Marlin/language_fi.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Vapauta moottorit"
44 44
 #define MSG_AUTO_HOME                       "Aja referenssiin"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Set home offsets"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Aseta origo"

+ 2
- 0
Marlin/language_fr.h ファイルの表示

@@ -44,6 +44,8 @@
44 44
 #define MSG_DISABLE_STEPPERS                "Arreter moteurs"
45 45
 #define MSG_AUTO_HOME                       "Home auto."
46 46
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
47
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
48
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
47 49
 #define MSG_SET_HOME_OFFSETS                "Set home offsets"
48 50
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
49 51
 #define MSG_SET_ORIGIN                      "Regler origine"

+ 2
- 0
Marlin/language_it.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Disabilita Motori"
44 44
 #define MSG_AUTO_HOME                       "Auto Home"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Setta offset home"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Imposta Origine"

+ 2
- 0
Marlin/language_kana.h ファイルの表示

@@ -45,6 +45,8 @@
45 45
 #define MSG_DISABLE_STEPPERS                "\xd3\xb0\xc0\xb0\xc3\xde\xdd\xb9\xde\xdd\x20\xb5\xcc"         // "Disable steppers"
46 46
 #define MSG_AUTO_HOME                       "\xb9\xde\xdd\xc3\xdd\xc6\xb2\xc4\xde\xb3"                     // "Auto home"
47 47
 #define MSG_LEVEL_BED_HOMING                "\xb9\xde\xdd\xc3\xdd\xc6\xb2\xc4\xde\xb3"                     // "Homing XYZ"
48
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
49
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
48 50
 #define MSG_SET_HOME_OFFSETS                "\xb7\xbc\xde\xad\xdd\xb5\xcc\xbe\xaf\xc4\xbe\xaf\xc3\xb2"     // "Set home offsets"
49 51
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
50 52
 #define MSG_SET_ORIGIN                      "\xb7\xbc\xde\xad\xdd\xbe\xaf\xc4"                             // "Set origin"

+ 2
- 0
Marlin/language_kana_utf8.h ファイルの表示

@@ -49,6 +49,8 @@
49 49
 #define MSG_DISABLE_STEPPERS                "モーターデンゲン オフ"            // "Disable steppers"
50 50
 #define MSG_AUTO_HOME                       "ゲンテンニイドウ"                // "Auto home"
51 51
 #define MSG_LEVEL_BED_HOMING                "ゲンテンニイドウ"                // "Homing XYZ"
52
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
53
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
52 54
 #define MSG_SET_HOME_OFFSETS                "キジュンオフセットセッテイ"         // "Set home offsets"
53 55
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
54 56
 #define MSG_SET_ORIGIN                      "キジュンセット"                 // "Set origin"

+ 2
- 0
Marlin/language_nl.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Motoren uit"
44 44
 #define MSG_AUTO_HOME                       "Auto home"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Set home offsets"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Nulpunt instellen"

+ 2
- 0
Marlin/language_pl.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Wylacz silniki"
44 44
 #define MSG_AUTO_HOME                       "Auto. poz. zerowa"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Set home offsets"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Ustaw punkt zero"

+ 2
- 0
Marlin/language_pt-br.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Desabi. motores"
44 44
 #define MSG_AUTO_HOME                       "Ir para origen"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Ajustar Jogo"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Ajustar orig."

+ 2
- 0
Marlin/language_pt-br_utf8.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Desabi. motores"
44 44
 #define MSG_AUTO_HOME                       "Ir para origen"
45 45
 #define MSG_LEVEL_BED_HOMING                "Indo para origem"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Ajustar Jogo"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Ajustar orig."

+ 2
- 0
Marlin/language_pt.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Desactivar motores"
44 44
 #define MSG_AUTO_HOME                       "Ir para origem"
45 45
 #define MSG_LEVEL_BED_HOMING                "Indo para origem"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Definir desvio"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Definir origem"

+ 2
- 0
Marlin/language_pt_utf8.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Desactivar motores"
44 44
 #define MSG_AUTO_HOME                       "Ir para origem"
45 45
 #define MSG_LEVEL_BED_HOMING                "Indo para origem"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Definir desvio"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Definir origem"

+ 2
- 0
Marlin/language_ru.h ファイルの表示

@@ -43,6 +43,8 @@
43 43
 #define MSG_DISABLE_STEPPERS                "Выкл. двигатели"
44 44
 #define MSG_AUTO_HOME                       "Парковка"
45 45
 #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
46
+#define MSG_LEVEL_BED_WAITING               "Click to Begin"
47
+#define MSG_LEVEL_BED_DONE                  "Leveling Done!"
46 48
 #define MSG_SET_HOME_OFFSETS                "Запомнить парковку"
47 49
 #define MSG_HOME_OFFSETS_APPLIED            "Offsets applied"
48 50
 #define MSG_SET_ORIGIN                      "Запомнить ноль"

+ 2
- 2
Marlin/ultralcd.cpp ファイルの表示

@@ -2516,7 +2516,7 @@ char* ftostr52(const float& x) {
2516 2516
           #if ENABLED(NEWPANEL)
2517 2517
             lcd_quick_feedback();
2518 2518
           #endif
2519
-          LCD_ALERTMESSAGEPGM("Leveling Done!");
2519
+          LCD_ALERTMESSAGEPGM(MSG_LEVEL_BED_DONE);
2520 2520
           #if HAS_BUZZER
2521 2521
             buzz(200, 659);
2522 2522
             buzz(200, 698);
@@ -2541,7 +2541,7 @@ char* ftostr52(const float& x) {
2541 2541
   }
2542 2542
 
2543 2543
   static void _lcd_level_bed_homing_done() {
2544
-    if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("Click to Begin"), NULL);
2544
+    if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(MSG_LEVEL_BED_WAITING), NULL);
2545 2545
     lcdDrawUpdate = LCD_DRAW_UPDATE_CALL_NO_REDRAW;
2546 2546
     if (LCD_CLICKED) {
2547 2547
       current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;

読み込み中…
キャンセル
保存