My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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