My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

language.h 13KB

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