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