Browse Source

Mark strings needing translation

Scott Lahteine 7 years ago
parent
commit
a3abfeac47
2 changed files with 16 additions and 14 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp
  2. 13
    11
      Marlin/ubl_G29.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

@@ -5120,7 +5120,7 @@ void home_all_axes() { gcode_G28(true); }
5120 5120
       SERIAL_PROTOCOLPGM("Checking... AC");
5121 5121
       if (verbose_level == 0) SERIAL_PROTOCOLPGM(" (DRY-RUN)");
5122 5122
       SERIAL_EOL;
5123
-      LCD_MESSAGEPGM("Checking... AC");
5123
+      LCD_MESSAGEPGM("Checking... AC"); // TODO: Make translatable string
5124 5124
 
5125 5125
       SERIAL_PROTOCOLPAIR(".Height:", DELTA_HEIGHT + home_offset[Z_AXIS]);
5126 5126
       if (!do_height_only) {
@@ -5340,7 +5340,7 @@ void home_all_axes() { gcode_G28(true); }
5340 5340
             SERIAL_PROTOCOL_SP(36);
5341 5341
             SERIAL_PROTOCOLPGM("rolling back.");
5342 5342
             SERIAL_EOL;
5343
-            LCD_MESSAGEPGM("Calibration OK");
5343
+            LCD_MESSAGEPGM("Calibration OK"); // TODO: Make translatable string
5344 5344
           }
5345 5345
           else {                                                     // !end iterations
5346 5346
             char mess[15] = "No convergence";
@@ -5391,7 +5391,7 @@ void home_all_axes() { gcode_G28(true); }
5391 5391
           }
5392 5392
           else {
5393 5393
             SERIAL_PROTOCOLLNPGM("Calibration OK");
5394
-            LCD_MESSAGEPGM("Calibration OK");
5394
+            LCD_MESSAGEPGM("Calibration OK"); // TODO: Make translatable string
5395 5395
             SERIAL_PROTOCOLPAIR(".Height:", DELTA_HEIGHT + home_offset[Z_AXIS]);
5396 5396
             SERIAL_EOL;
5397 5397
             serialprintPGM(save_message);

+ 13
- 11
Marlin/ubl_G29.cpp View File

@@ -668,7 +668,7 @@
668 668
           if (ELAPSED(millis(), nxt)) {
669 669
             SERIAL_PROTOCOLLNPGM("\nZ-Offset Adjustment Stopped.");
670 670
             do_blocking_move_to_z(Z_CLEARANCE_DEPLOY_PROBE);
671
-            LCD_MESSAGEPGM("Z-Offset Stopped");
671
+            LCD_MESSAGEPGM("Z-Offset Stopped"); // TODO: Make translatable string
672 672
             ubl.restore_ubl_active_state_and_leave();
673 673
             goto LEAVE;
674 674
           }
@@ -920,7 +920,7 @@
920 920
     stepper.synchronize();
921 921
 
922 922
     SERIAL_PROTOCOLPGM("Place shim under nozzle");
923
-    LCD_MESSAGEPGM("Place shim & measure");
923
+    LCD_MESSAGEPGM("Place shim & measure"); // TODO: Make translatable string
924 924
     lcd_goto_screen(lcd_status_screen);
925 925
     echo_and_take_a_measurement();
926 926
 
@@ -976,7 +976,7 @@
976 976
 
977 977
       do_blocking_move_to_z(Z_CLEARANCE_BETWEEN_PROBES);
978 978
 
979
-      LCD_MESSAGEPGM("Moving to next");
979
+      LCD_MESSAGEPGM("Moving to next"); // TODO: Make translatable string
980 980
 
981 981
       do_blocking_move_to_xy(xProbe, yProbe);
982 982
       do_blocking_move_to_z(z_clearance);
@@ -986,8 +986,10 @@
986 986
 
987 987
       if (do_ubl_mesh_map) ubl.display_map(map_type);  // show user where we're probing
988 988
 
989
-      if (code_seen('B')) {LCD_MESSAGEPGM("Place shim & measure");}
990
-      else {LCD_MESSAGEPGM("Measure");}
989
+      if (code_seen('B'))
990
+        LCD_MESSAGEPGM("Place shim & measure"); // TODO: Make translatable string
991
+      else
992
+        LCD_MESSAGEPGM("Measure"); // TODO: Make translatable string
991 993
 
992 994
       while (ubl_lcd_clicked()) delay(50);             // wait for user to release encoder wheel
993 995
       delay(50);                                       // debounce
@@ -1034,7 +1036,7 @@
1034 1036
   bool g29_parameter_parsing() {
1035 1037
     bool err_flag = false;
1036 1038
 
1037
-    LCD_MESSAGEPGM("Doing G29 UBL!");
1039
+    LCD_MESSAGEPGM("Doing G29 UBL!"); // TODO: Make translatable string
1038 1040
     lcd_quick_feedback();
1039 1041
 
1040 1042
     ubl_constant = 0.0;
@@ -1137,7 +1139,7 @@
1137 1139
     ubl_state_recursion_chk++;
1138 1140
     if (ubl_state_recursion_chk != 1) {
1139 1141
       SERIAL_ECHOLNPGM("save_ubl_active_state_and_disabled() called multiple times in a row.");
1140
-      LCD_MESSAGEPGM("save_UBL_active() error");
1142
+      LCD_MESSAGEPGM("save_UBL_active() error"); // TODO: Make translatable string
1141 1143
       lcd_quick_feedback();
1142 1144
       return;
1143 1145
     }
@@ -1148,7 +1150,7 @@
1148 1150
   void unified_bed_leveling::restore_ubl_active_state_and_leave() {
1149 1151
     if (--ubl_state_recursion_chk) {
1150 1152
       SERIAL_ECHOLNPGM("restore_ubl_active_state_and_leave() called too many times.");
1151
-      LCD_MESSAGEPGM("restore_UBL_active() error");
1153
+      LCD_MESSAGEPGM("restore_UBL_active() error"); // TODO: Make translatable string
1152 1154
       lcd_quick_feedback();
1153 1155
       return;
1154 1156
     }
@@ -1394,7 +1396,7 @@
1394 1396
 
1395 1397
     memset(not_done, 0xFF, sizeof(not_done));
1396 1398
 
1397
-    LCD_MESSAGEPGM("Fine Tuning Mesh");
1399
+    LCD_MESSAGEPGM("Fine Tuning Mesh"); // TODO: Make translatable string
1398 1400
 
1399 1401
     do_blocking_move_to_z(Z_CLEARANCE_DEPLOY_PROBE);
1400 1402
     do_blocking_move_to_xy(lx, ly);
@@ -1452,7 +1454,7 @@
1452 1454
           lcd_return_to_status();
1453 1455
           //SERIAL_PROTOCOLLNPGM("\nFine Tuning of Mesh Stopped.");
1454 1456
           do_blocking_move_to_z(Z_CLEARANCE_DEPLOY_PROBE);
1455
-          LCD_MESSAGEPGM("Mesh Editing Stopped");
1457
+          LCD_MESSAGEPGM("Mesh Editing Stopped"); // TODO: Make translatable string
1456 1458
 
1457 1459
           while (ubl_lcd_clicked()) idle();
1458 1460
 
@@ -1479,7 +1481,7 @@
1479 1481
 
1480 1482
     do_blocking_move_to_xy(lx, ly);
1481 1483
 
1482
-    LCD_MESSAGEPGM("Done Editing Mesh");
1484
+    LCD_MESSAGEPGM("Done Editing Mesh"); // TODO: Make translatable string
1483 1485
     SERIAL_ECHOLNPGM("Done Editing Mesh");
1484 1486
   }
1485 1487
 

Loading…
Cancel
Save