chiark / gitweb /
Add M401 - Wait for user on LCD button press
[marlin.git] / Marlin / language.h
1 #ifndef LANGUAGE_H
2 #define LANGUAGE_H
3
4 // Languages
5 // 1  Custom (For you to add your own messages)
6 // 2  English 
7 // 3  French    (Waiting translation)
8 // 4  German    (Waiting translation)
9 // 5  Etc
10
11 #define LANGUAGE_CHOICE 1  // Pick your language from the list above
12
13 #define PROTOCOL_VERSION "1.0"
14
15 #if MOTHERBOARD == 7 || MOTHERBOARD == 71
16         #define MACHINE_NAME "Ultimaker"
17         #define FIRMWARE_URL "http://firmware.ultimaker.com"
18 #else
19         #define MACHINE_NAME "Mendel"
20         #define FIRMWARE_URL "http://www.mendel-parts.com"
21 #endif
22
23 #if LANGUAGE_CHOICE == 1
24
25 // LCD Menu Messages
26         #define WELCOME_MSG MACHINE_NAME " Ready."
27         #define MSG_SD_INSERTED "Card inserted"
28         #define MSG_SD_REMOVED "Card removed"
29         #define MSG_MAIN " Main \003"
30         #define MSG_AUTOSTART " Autostart"
31         #define MSG_DISABLE_STEPPERS " Disable Steppers"
32         #define MSG_AUTO_HOME " Auto Home"
33         #define MSG_SET_ORIGIN " Set Origin"
34         #define MSG_COOLDOWN " Cooldown"
35         #define MSG_EXTRUDE " Extrude"
36         #define MSG_PREHEAT_PLA " Preheat PLA"
37         #define MSG_PREHEAT_ABS " Preheat ABS"
38         #define MSG_MOVE_AXIS " Move Axis      \x7E"
39         #define MSG_SPEED " Speed:"
40         #define MSG_NOZZLE " \002Nozzle:"
41         #define MSG_NOZZLE1 " \002Nozzle2:"
42         #define MSG_NOZZLE2 " \002Nozzle3:"
43         #define MSG_BED " \002Bed:"
44         #define MSG_FAN_SPEED " Fan speed:"
45         #define MSG_FLOW " Flow:"
46         #define MSG_CONTROL " Control \003"
47         #define MSG_MIN " \002 Min:"
48         #define MSG_MAX " \002 Max:"
49         #define MSG_FACTOR " \002 Fact:"
50         #define MSG_AUTOTEMP " Autotemp:"
51         #define MSG_ON "On "
52         #define MSG_OFF "Off"
53         #define MSG_PID_P " PID-P: "
54         #define MSG_PID_I " PID-I: "
55         #define MSG_PID_D " PID-D: "
56         #define MSG_PID_C " PID-C: "
57         #define MSG_ACC  " Acc:"
58         #define MSG_VXY_JERK " Vxy-jerk: "
59         #define MSG_VMAX " Vmax "
60         #define MSG_X "x:"
61         #define MSG_Y "y:"
62         #define MSG_Z "z:"
63         #define MSG_E "e:"
64         #define MSG_VMIN " Vmin:"
65         #define MSG_VTRAV_MIN " VTrav min:"
66         #define MSG_AMAX " Amax "
67         #define MSG_A_RETRACT " A-retract:"
68         #define MSG_XSTEPS " Xsteps/mm:"
69         #define MSG_YSTEPS " Ysteps/mm:"
70         #define MSG_ZSTEPS " Zsteps/mm:"
71         #define MSG_ESTEPS " Esteps/mm:"
72         #define MSG_MAIN_WIDE " Main        \003"
73         #define MSG_TEMPERATURE_WIDE " Temperature \x7E"
74         #define MSG_MOTION_WIDE " Motion      \x7E"
75         #define MSG_STORE_EPROM " Store memory"
76         #define MSG_LOAD_EPROM " Load memory"
77         #define MSG_RESTORE_FAILSAFE " Restore Failsafe"
78         #define MSG_REFRESH "\004Refresh"
79         #define MSG_WATCH " Watch   \003"
80         #define MSG_PREPARE " Prepare \x7E"
81         #define MSG_PREPARE_ALT " Prepare \003"
82         #define MSG_CONTROL_ARROW " Control \x7E"
83         #define MSG_TUNE " Tune    \x7E"
84         #define MSG_STOP_PRINT " Stop Print   \x7E"
85         #define MSG_CARD_MENU " Card Menu    \x7E"
86         #define MSG_NO_CARD " No Card"
87         #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure."
88         #define MSG_DWELL "Sleep..."
89         #define MSG_USERWAIT "Wait for user..."
90         #define MSG_NO_MOVE "No move."
91         #define MSG_PART_RELEASE "Partial Release"
92         #define MSG_KILLED "KILLED. "
93         #define MSG_STOPPED "STOPPED. "
94         #define MSG_PREHEAT_PLA " Preheat PLA"
95         #define MSG_PREHEAT_ABS " Preheat ABS"
96         #define MSG_STEPPER_RELEASED "Released."
97
98
99 // Serial Console Messages
100
101         #define MSG_Enqueing "enqueing \""
102         #define MSG_POWERUP "PowerUp"
103         #define MSG_EXTERNAL_RESET " External Reset"
104         #define MSG_BROWNOUT_RESET " Brown out Reset"
105         #define MSG_WATCHDOG_RESET " Watchdog Reset"
106         #define MSG_SOFTWARE_RESET " Software Reset"
107         #define MSG_MARLIN "Marlin "
108         #define MSG_AUTHOR " | Author: "
109         #define MSG_CONFIGURATION_VER " Last Updated: "
110         #define MSG_FREE_MEMORY " Free Memory: "
111         #define MSG_PLANNER_BUFFER_BYTES "  PlannerBufferBytes: "
112         #define MSG_OK "ok"
113         #define MSG_FILE_SAVED "Done saving file."
114         #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line:"
115         #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line:"
116         #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line:"
117         #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line:"
118         #define MSG_FILE_PRINTED "Done printing file"
119         #define MSG_BEGIN_FILE_LIST "Begin file list"
120         #define MSG_END_FILE_LIST "End file list"
121         #define MSG_M104_INVALID_EXTRUDER "M104 Invalid extruder "
122         #define MSG_M105_INVALID_EXTRUDER "M105 Invalid extruder "
123         #define MSG_ERR_NO_THERMISTORS "No thermistors - no temp"
124         #define MSG_M109_INVALID_EXTRUDER "M109 Invalid extruder "
125         #define MSG_HEATING "Heating..."
126         #define MSG_HEATING_COMPLETE "Heating done."
127         #define MSG_BED_HEATING "Bed Heating."
128         #define MSG_BED_DONE "Bed done."
129         #define MSG_M115_REPORT "FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:" FIRMWARE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:1\n"
130         #define MSG_COUNT_X " Count X:"
131         #define MSG_ERR_KILLED "Printer halted. kill() called !!"
132         #define MSG_ERR_STOPPED "Printer stopped deu to errors. Fix the error and use M999 to restart!. (Temperature is reset. Set it before restarting)"
133         #define MSG_RESEND "Resend:"
134         #define MSG_UNKNOWN_COMMAND "Unknown command:\""
135         #define MSG_ACTIVE_EXTRUDER "Active Extruder: "
136         #define MSG_INVALID_EXTRUDER "Invalid extruder"
137         #define MSG_X_MIN "x_min:"
138         #define MSG_X_MAX "x_max:"
139         #define MSG_Y_MIN "y_min:"
140         #define MSG_Y_MAX "y_max:"
141         #define MSG_Z_MIN "z_min:"
142         #define MSG_Z_MAX "z_max:"
143
144         #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir"
145         #define MSG_SD_INIT_FAIL "SD init fail"
146         #define MSG_SD_VOL_INIT_FAIL "volume.init failed"
147         #define MSG_SD_OPENROOT_FAIL "openRoot failed"
148         #define MSG_SD_CARD_OK "SD card ok"
149         #define MSG_SD_WORKDIR_FAIL "workDir open failed"
150         #define MSG_SD_OPEN_FILE_FAIL "open failed, File: "
151         #define MSG_SD_FILE_OPENED "File opened:"
152         #define MSG_SD_SIZE " Size:"
153         #define MSG_SD_FILE_SELECTED "File selected"
154         #define MSG_SD_WRITE_TO_FILE "Writing to file: "
155         #define MSG_SD_PRINTING_BYTE "SD printing byte "
156         #define MSG_SD_NOT_PRINTING "Not SD printing"
157         #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file"
158         #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir:"
159
160         #define MSG_STEPPER_TO_HIGH "Steprate to high : "
161         #define MSG_ENDSTOPS_HIT "endstops hit: "
162         #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented"
163         #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
164
165 #endif
166 #if LANGUAGE_CHOICE == 4
167
168 // LCD Menu Messages
169
170         #define WELCOME_MSG MACHINE_NAME " Ready."
171
172         #define MSG_SD_INSERTED "Card inserted"
173         #define MSG_SD_REMOVED "Card removed"
174         #define MSG_MAIN " Main \003"
175         #define MSG_AUTOSTART " Autostart"
176         #define MSG_DISABLE_STEPPERS " Stepper abschalten"
177         #define MSG_AUTO_HOME " Auto Heim"
178         #define MSG_SET_ORIGIN " Position setzen"
179         #define MSG_PREHEAT_PLA " Aufheizen PLA"
180         #define MSG_PREHEAT_ABS " Aufheizen ABS"
181         #define MSG_COOLDOWN " Abkuehlen"
182         #define MSG_EXTRUDE " Extrude"
183         #define MSG_PREHEAT_PLA " Preheat PLA"
184         #define MSG_PREHEAT_ABS " Preheat ABS"
185         #define MSG_MOVE_AXIS " Move Axis      \x7E"
186         #define MSG_MOVE_AXIS " Achsen verfahren   \x7E"
187         #define MSG_SPEED " Geschw:"
188         #define MSG_NOZZLE " \002Duese:"
189         #define MSG_NOZZLE1 " \002Duese2:"
190         #define MSG_NOZZLE2 " \002Duese3:"
191         #define MSG_BED " \002Bett:"
192         #define MSG_FAN_SPEED " Luefter geschw.:"
193         #define MSG_FLOW " Fluss:"
194         #define MSG_CONTROL " Kontrolle \003"
195         #define MSG_MIN " \002 Min:"
196         #define MSG_MAX " \002 Max:"
197         #define MSG_FACTOR " \002 Faktor:"
198         #define MSG_AUTOTEMP " AutoTemp:"
199         #define MSG_ON "Ein "
200         #define MSG_OFF "Aus "
201         #define MSG_PID_P " PID-P: "
202         #define MSG_PID_I " PID-I: "
203         #define MSG_PID_D " PID-D: "
204         #define MSG_PID_C " PID-C: "
205         #define MSG_ACC  " Acc:"
206         #define MSG_VXY_JERK " Vxy-jerk: "
207         #define MSG_VMAX " Vmax "
208         #define MSG_X "x:"
209         #define MSG_Y "y:"
210         #define MSG_Z "z:"
211         #define MSG_E "e:"
212         #define MSG_VMIN " Vmin:"
213         #define MSG_VTRAV_MIN " VTrav min:"
214         #define MSG_AMAX " Amax "
215         #define MSG_A_RETRACT " A-retract:"
216         #define MSG_XSTEPS " Xsteps/mm:"
217         #define MSG_YSTEPS " Ysteps/mm:"
218         #define MSG_ZSTEPS " Zsteps/mm:"
219         #define MSG_ESTEPS " Esteps/mm:"
220         #define MSG_MAIN_WIDE " Main        \003"
221         #define MSG_TEMPERATURE_WIDE " Temperatur \x7E"
222         #define MSG_MOTION_WIDE " Motion      \x7E"
223         #define MSG_STORE_EPROM " EPROM speichern"
224         #define MSG_LOAD_EPROM "  EPROM laden"
225         #define MSG_RESTORE_FAILSAFE " Standard Konfig."
226         #define MSG_REFRESH "\004Refresh"
227         #define MSG_WATCH " Beobachten   \003"
228         #define MSG_PREPARE " Prepare \x7E"
229         #define MSG_PREPARE_ALT " Prepare \003"
230         #define MSG_CONTROL_ARROW " Control \x7E"
231         #define MSG_TUNE " Tune    \x7E"
232         #define MSG_STOP_PRINT " Druck stoppen   \x7E"
233         #define MSG_CARD_MENU " SDKarten Menue    \x7E"
234         #define MSG_NO_CARD " Keine SDKarte"
235         #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Fehler in der  Menuestruktur."
236         #define MSG_DWELL "DWELL..."            
237         #define MSG_NO_MOVE "No move."
238         #define MSG_PART_RELEASE "Partial Release"
239         #define MSG_KILLED "KILLED. "
240         #define MSG_STOPPED "STOPPED. "
241         #define MSG_PREHEAT_PLA " Preheat PLA"
242         #define MSG_PREHEAT_ABS " Preheat ABS"
243         #define MSG_STEPPER_RELEASED "Released."
244
245
246 // Serial Console Messages
247
248         #define MSG_Enqueing "enqueing \""
249         #define MSG_POWERUP "PowerUp"
250         #define MSG_EXTERNAL_RESET " External Reset"
251         #define MSG_BROWNOUT_RESET " Brown out Reset"
252         #define MSG_WATCHDOG_RESET " Watchdog Reset"
253         #define MSG_SOFTWARE_RESET " Software Reset"
254         #define MSG_MARLIN "Marlin: "
255         #define MSG_AUTHOR " | Author: "
256         #define MSG_CONFIGURATION_VER " Last Updated: "
257         #define MSG_FREE_MEMORY " Free Memory: "
258         #define MSG_PLANNER_BUFFER_BYTES "  PlannerBufferBytes: "
259         #define MSG_OK "ok"
260         #define MSG_FILE_SAVED "Done saving file."
261         #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line:"
262         #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line:"
263         #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line:"
264         #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line:"
265         #define MSG_FILE_PRINTED "Done printing file"
266         #define MSG_BEGIN_FILE_LIST "Begin file list"
267         #define MSG_END_FILE_LIST "End file list"
268         #define MSG_M104_INVALID_EXTRUDER "M104 Invalid extruder "
269         #define MSG_M105_INVALID_EXTRUDER "M105 Invalid extruder "
270         #define MSG_ERR_NO_THERMISTORS "No thermistors - no temp"
271         #define MSG_M109_INVALID_EXTRUDER "M109 Invalid extruder "
272         #define MSG_HEATING "Heating..."
273         #define MSG_HEATING_COMPLETE "Heating done."
274         #define MSG_BED_HEATING "Bed Heating."
275         #define MSG_BED_DONE "Bed done."
276         #define MSG_M115_REPORT "FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:" FIRMWARE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:\n"
277         #define MSG_COUNT_X " Count X:"
278         #define MSG_ERR_KILLED "Printer halted. kill() called !!"
279         #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart!"
280         #define MSG_RESEND "Resend:"
281         #define MSG_UNKNOWN_COMMAND "Unknown command:\""
282         #define MSG_ACTIVE_EXTRUDER "Active Extruder: "
283         #define MSG_INVALID_EXTRUDER "Invalid extruder"
284         #define MSG_X_MIN "x_min:"
285         #define MSG_X_MAX "x_max:"
286         #define MSG_Y_MIN "y_min:"
287         #define MSG_Y_MAX "y_max:"
288         #define MSG_Z_MIN "z_min:"
289         #define MSG_Z_MAX "z_max:"
290
291         #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir"
292         #define MSG_SD_INIT_FAIL "SD init fail"
293         #define MSG_SD_VOL_INIT_FAIL "volume.init failed"
294         #define MSG_SD_OPENROOT_FAIL "openRoot failed"
295         #define MSG_SD_CARD_OK "SD card ok"
296         #define MSG_SD_WORKDIR_FAIL "workDir open failed"
297         #define MSG_SD_OPEN_FILE_FAIL "open failed, File: "
298         #define MSG_SD_FILE_OPENED "File opened:"
299         #define MSG_SD_SIZE " Size:"
300         #define MSG_SD_FILE_SELECTED "File selected"
301         #define MSG_SD_WRITE_TO_FILE "Writing to file: "
302         #define MSG_SD_PRINTING_BYTE "SD printing byte "
303         #define MSG_SD_NOT_PRINTING "Not SD printing"
304         #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file"
305         #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir:"
306
307         #define MSG_STEPPER_TO_HIGH "Steprate to high : "
308         #define MSG_ENDSTOPS_HIT "endstops hit: "
309         #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented"
310         #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
311
312 #endif
313 #endif // ifndef LANGUAGE_H\r