My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

language.h 6.8KB

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