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

language.h 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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/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. #elif MB(SAV_MKI)
  41. #define MACHINE_NAME "SAV MkI"
  42. #define FIRMWARE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
  43. #else
  44. #ifdef CUSTOM_MENDEL_NAME
  45. #define MACHINE_NAME CUSTOM_MENDEL_NAME
  46. #else
  47. #define MACHINE_NAME "Mendel"
  48. #endif
  49. // Default firmware set to Mendel
  50. #define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
  51. #endif
  52. #ifndef MACHINE_UUID
  53. #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
  54. #endif
  55. #define STRINGIFY_(n) #n
  56. #define STRINGIFY(n) STRINGIFY_(n)
  57. // Common LCD messages
  58. /* nothing here yet */
  59. // Common serial messages
  60. #define MSG_MARLIN "Marlin"
  61. // Serial Console Messages (do not translate those!)
  62. #define MSG_Enqueing "enqueing \""
  63. #define MSG_POWERUP "PowerUp"
  64. #define MSG_EXTERNAL_RESET " External Reset"
  65. #define MSG_BROWNOUT_RESET " Brown out Reset"
  66. #define MSG_WATCHDOG_RESET " Watchdog Reset"
  67. #define MSG_SOFTWARE_RESET " Software Reset"
  68. #define MSG_AUTHOR " | Author: "
  69. #define MSG_CONFIGURATION_VER " Last Updated: "
  70. #define MSG_FREE_MEMORY " Free Memory: "
  71. #define MSG_PLANNER_BUFFER_BYTES " PlannerBufferBytes: "
  72. #define MSG_OK "ok"
  73. #define MSG_FILE_SAVED "Done saving file."
  74. #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line: "
  75. #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line: "
  76. #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line: "
  77. #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line: "
  78. #define MSG_FILE_PRINTED "Done printing file"
  79. #define MSG_BEGIN_FILE_LIST "Begin file list"
  80. #define MSG_END_FILE_LIST "End file list"
  81. #define MSG_M104_INVALID_EXTRUDER "M104 Invalid extruder "
  82. #define MSG_M105_INVALID_EXTRUDER "M105 Invalid extruder "
  83. #define MSG_M200_INVALID_EXTRUDER "M200 Invalid extruder "
  84. #define MSG_M218_INVALID_EXTRUDER "M218 Invalid extruder "
  85. #define MSG_M221_INVALID_EXTRUDER "M221 Invalid extruder "
  86. #define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
  87. #define MSG_M109_INVALID_EXTRUDER "M109 Invalid extruder "
  88. #define MSG_HEATING "Heating..."
  89. #define MSG_HEATING_COMPLETE "Heating done."
  90. #define MSG_BED_HEATING "Bed Heating."
  91. #define MSG_BED_DONE "Bed done."
  92. #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"
  93. #define MSG_COUNT_X " Count X: "
  94. #define MSG_ERR_KILLED "Printer halted. kill() called!"
  95. #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
  96. #define MSG_RESEND "Resend: "
  97. #define MSG_UNKNOWN_COMMAND "Unknown command: \""
  98. #define MSG_ACTIVE_EXTRUDER "Active Extruder: "
  99. #define MSG_INVALID_EXTRUDER "Invalid extruder"
  100. #define MSG_X_MIN "x_min: "
  101. #define MSG_X_MAX "x_max: "
  102. #define MSG_Y_MIN "y_min: "
  103. #define MSG_Y_MAX "y_max: "
  104. #define MSG_Z_MIN "z_min: "
  105. #define MSG_Z_MAX "z_max: "
  106. #define MSG_M119_REPORT "Reporting endstop status"
  107. #define MSG_ENDSTOP_HIT "TRIGGERED"
  108. #define MSG_ENDSTOP_OPEN "open"
  109. #define MSG_HOTEND_OFFSET "Hotend offsets:"
  110. #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir"
  111. #define MSG_SD_INIT_FAIL "SD init fail"
  112. #define MSG_SD_VOL_INIT_FAIL "volume.init failed"
  113. #define MSG_SD_OPENROOT_FAIL "openRoot failed"
  114. #define MSG_SD_CARD_OK "SD card ok"
  115. #define MSG_SD_WORKDIR_FAIL "workDir open failed"
  116. #define MSG_SD_OPEN_FILE_FAIL "open failed, File: "
  117. #define MSG_SD_FILE_OPENED "File opened: "
  118. #define MSG_SD_SIZE " Size: "
  119. #define MSG_SD_FILE_SELECTED "File selected"
  120. #define MSG_SD_WRITE_TO_FILE "Writing to file: "
  121. #define MSG_SD_PRINTING_BYTE "SD printing byte "
  122. #define MSG_SD_NOT_PRINTING "Not SD printing"
  123. #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file"
  124. #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir: "
  125. #define MSG_STEPPER_TOO_HIGH "Steprate too high: "
  126. #define MSG_ENDSTOPS_HIT "endstops hit: "
  127. #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented"
  128. #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
  129. #define MSG_BABYSTEPPING_X "Babystepping X"
  130. #define MSG_BABYSTEPPING_Y "Babystepping Y"
  131. #define MSG_BABYSTEPPING_Z "Babystepping Z"
  132. #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error in menu structure"
  133. // LCD Menu Messages
  134. #include LANGUAGE_INCLUDE
  135. #endif //__LANGUAGE_H