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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. #ifndef LANGUAGE_H
  2. #define LANGUAGE_H
  3. // NOTE: IF YOU CHANGE LANGUAGE FILES OR MERGE A FILE WITH CHANGES
  4. //
  5. // ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT" #define IN "Configuration.h"
  6. // ==> ALSO TRY ALL AVAILABLE "LANGUAGE_CHOICE" OPTIONS
  7. // Languages
  8. // en English
  9. // pl Polish
  10. // fr French
  11. // de German
  12. // es Spanish
  13. // ru Russian
  14. // it Italian
  15. // pt Portuguese
  16. // fi Finnish
  17. // an Aragonese
  18. // nl Dutch
  19. // ca Catalan
  20. // eu Basque-Euskera
  21. #ifndef LANGUAGE_CHOICE
  22. #define LANGUAGE_CHOICE en // Pick your language from the list above
  23. #endif
  24. #if LANGUAGE_CHOICE >= 1
  25. #error "Languages now uses ISO language codes instead of numbers."
  26. #endif
  27. #define PROTOCOL_VERSION "1.0"
  28. #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
  29. #define MACHINE_NAME "Ultimaker"
  30. #define FIRMWARE_URL "http://firmware.ultimaker.com"
  31. #elif MB(RUMBA)
  32. #define MACHINE_NAME "Rumba"
  33. #define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
  34. #elif MB(3DRAG)
  35. #define MACHINE_NAME "3Drag"
  36. #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
  37. #elif MB(5DPRINT)
  38. #define MACHINE_NAME "Makibox"
  39. #define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
  40. #else
  41. #ifdef CUSTOM_MENDEL_NAME
  42. #define MACHINE_NAME CUSTOM_MENDEL_NAME
  43. #else
  44. #define MACHINE_NAME "Mendel"
  45. #endif
  46. // Default firmware set to Mendel
  47. #define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
  48. #endif
  49. #ifndef MACHINE_UUID
  50. #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
  51. #endif
  52. #define STRINGIFY_(n) #n
  53. #define STRINGIFY(n) STRINGIFY_(n)
  54. // Common LCD messages
  55. /* nothing here yet */
  56. // Common serial messages
  57. #define MSG_MARLIN "Marlin"
  58. // Serial Console Messages (do not translate those!)
  59. #define MSG_Enqueing "enqueing \""
  60. #define MSG_POWERUP "PowerUp"
  61. #define MSG_EXTERNAL_RESET " External Reset"
  62. #define MSG_BROWNOUT_RESET " Brown out Reset"
  63. #define MSG_WATCHDOG_RESET " Watchdog Reset"
  64. #define MSG_SOFTWARE_RESET " Software Reset"
  65. #define MSG_AUTHOR " | Author: "
  66. #define MSG_CONFIGURATION_VER " Last Updated: "
  67. #define MSG_FREE_MEMORY " Free Memory: "
  68. #define MSG_PLANNER_BUFFER_BYTES " PlannerBufferBytes: "
  69. #define MSG_OK "ok"
  70. #define MSG_FILE_SAVED "Done saving file."
  71. #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line: "
  72. #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line: "
  73. #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line: "
  74. #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line: "
  75. #define MSG_FILE_PRINTED "Done printing file"
  76. #define MSG_BEGIN_FILE_LIST "Begin file list"
  77. #define MSG_END_FILE_LIST "End file list"
  78. #define MSG_M104_INVALID_EXTRUDER "M104 Invalid extruder "
  79. #define MSG_M105_INVALID_EXTRUDER "M105 Invalid extruder "
  80. #define MSG_M200_INVALID_EXTRUDER "M200 Invalid extruder "
  81. #define MSG_M218_INVALID_EXTRUDER "M218 Invalid extruder "
  82. #define MSG_M221_INVALID_EXTRUDER "M221 Invalid extruder "
  83. #define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
  84. #define MSG_M109_INVALID_EXTRUDER "M109 Invalid extruder "
  85. #define MSG_HEATING "Heating..."
  86. #define MSG_HEATING_COMPLETE "Heating done."
  87. #define MSG_BED_HEATING "Bed Heating."
  88. #define MSG_BED_DONE "Bed done."
  89. #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) " UUID:" MACHINE_UUID "\n"
  90. #define MSG_COUNT_X " Count X: "
  91. #define MSG_ERR_KILLED "Printer halted. kill() called!"
  92. #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
  93. #define MSG_RESEND "Resend: "
  94. #define MSG_UNKNOWN_COMMAND "Unknown command: \""
  95. #define MSG_ACTIVE_EXTRUDER "Active Extruder: "
  96. #define MSG_INVALID_EXTRUDER "Invalid extruder"
  97. #define MSG_X_MIN "x_min: "
  98. #define MSG_X_MAX "x_max: "
  99. #define MSG_Y_MIN "y_min: "
  100. #define MSG_Y_MAX "y_max: "
  101. #define MSG_Z_MIN "z_min: "
  102. #define MSG_Z_MAX "z_max: "
  103. #define MSG_M119_REPORT "Reporting endstop status"
  104. #define MSG_ENDSTOP_HIT "TRIGGERED"
  105. #define MSG_ENDSTOP_OPEN "open"
  106. #define MSG_HOTEND_OFFSET "Hotend offsets:"
  107. #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir"
  108. #define MSG_SD_INIT_FAIL "SD init fail"
  109. #define MSG_SD_VOL_INIT_FAIL "volume.init failed"
  110. #define MSG_SD_OPENROOT_FAIL "openRoot failed"
  111. #define MSG_SD_CARD_OK "SD card ok"
  112. #define MSG_SD_WORKDIR_FAIL "workDir open failed"
  113. #define MSG_SD_OPEN_FILE_FAIL "open failed, File: "
  114. #define MSG_SD_FILE_OPENED "File opened: "
  115. #define MSG_SD_SIZE " Size: "
  116. #define MSG_SD_FILE_SELECTED "File selected"
  117. #define MSG_SD_WRITE_TO_FILE "Writing to file: "
  118. #define MSG_SD_PRINTING_BYTE "SD printing byte "
  119. #define MSG_SD_NOT_PRINTING "Not SD printing"
  120. #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file"
  121. #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir: "
  122. #define MSG_STEPPER_TOO_HIGH "Steprate too high: "
  123. #define MSG_ENDSTOPS_HIT "endstops hit: "
  124. #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented"
  125. #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
  126. #define MSG_BABYSTEPPING_X "Babystepping X"
  127. #define MSG_BABYSTEPPING_Y "Babystepping Y"
  128. #define MSG_BABYSTEPPING_Z "Babystepping Z"
  129. #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error in menu structure"
  130. // LCD Menu Messages
  131. #if LANGUAGE_CHOICE == en // English
  132. #include "language_en.h"
  133. #elif LANGUAGE_CHOICE == pl // Polish
  134. #include "language_pl.h"
  135. #elif LANGUAGE_CHOICE == fr // French
  136. #include "language_fr.h"
  137. #elif LANGUAGE_CHOICE == de // German
  138. #include "language_de.h"
  139. #elif LANGUAGE_CHOICE == es // Spanish
  140. #include "language_es.h"
  141. #elif LANGUAGE_CHOICE == ru // Russian
  142. #include "language_ru.h"
  143. #elif LANGUAGE_CHOICE == it // Italian
  144. #include "language_it.h"
  145. #elif LANGUAGE_CHOICE == pt // Portuguese
  146. #include "language_pt.h"
  147. #elif LANGUAGE_CHOICE == fi // Finnish
  148. #include "language_fi.h"
  149. #elif LANGUAGE_CHOICE == an // Aragonese
  150. #include "language_an.h"
  151. #elif LANGUAGE_CHOICE == nl // Dutch
  152. #include "language_nl.h"
  153. #elif LANGUAGE_CHOICE == ca // Catalan
  154. #include "language_ca.h"
  155. #elif LANGUAGE_CHOICE == eu // Basque-Euskera
  156. #include "language_eu.h"
  157. #endif
  158. #endif //__LANGUAGE_H