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 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. #ifndef LANGUAGE_H
  2. #define LANGUAGE_H
  3. #include "Configuration.h"
  4. #define GENERATE_LANGUAGE_INCLUDE(M) STRINGIFY_(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. // See also documentation/LCDLanguageFont.md
  10. // Languages
  11. // en English
  12. // pl Polish
  13. // fr French
  14. // de German
  15. // es Spanish
  16. // ru Russian
  17. // bg Bulgarian
  18. // it Italian
  19. // pt Portuguese
  20. // pt_utf8 Portuguese (UTF8)
  21. // pt-br Portuguese (Brazilian)
  22. // pt-br_utf8 Portuguese (Brazilian UTF8)
  23. // fi Finnish
  24. // an Aragonese
  25. // nl Dutch
  26. // gl Galician
  27. // ca Catalan
  28. // eu Basque-Euskera
  29. // kana Japanese
  30. // kana_utf8 Japanese (UTF8)
  31. // cn Chinese
  32. // cz Czech
  33. // fallback if no language is set, don't change
  34. #ifndef LANGUAGE_INCLUDE
  35. #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
  36. #endif
  37. #if ENABLED(USE_AUTOMATIC_VERSIONING)
  38. #include "_Version.h"
  39. #else
  40. #include "Default_Version.h"
  41. #endif
  42. #define PROTOCOL_VERSION "1.0"
  43. #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
  44. #define DEFAULT_MACHINE_NAME "Ultimaker"
  45. #define DEFAULT_SOURCE_URL "https://github.com/Ultimaker/Marlin"
  46. #elif MB(RUMBA)
  47. #define DEFAULT_MACHINE_NAME "Rumba"
  48. #elif MB(3DRAG)
  49. #define DEFAULT_MACHINE_NAME "3Drag"
  50. #define DEFAULT_SOURCE_URL "http://3dprint.elettronicain.it/"
  51. #elif MB(K8200)
  52. #define DEFAULT_MACHINE_NAME "K8200"
  53. #define DEFAULT_SOURCE_URL "https://github.com/CONSULitAS/Marlin-K8200"
  54. #elif MB(5DPRINT)
  55. #define DEFAULT_MACHINE_NAME "Makibox"
  56. #elif MB(SAV_MKI)
  57. #define DEFAULT_MACHINE_NAME "SAV MkI"
  58. #define DEFAULT_SOURCE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
  59. #else
  60. #define DEFAULT_MACHINE_NAME "3D Printer"
  61. #define DEFAULT_SOURCE_URL "https://github.com/MarlinFirmware/Marlin"
  62. #endif
  63. #ifdef CUSTOM_MACHINE_NAME
  64. #define MACHINE_NAME CUSTOM_MACHINE_NAME
  65. #else
  66. #define MACHINE_NAME DEFAULT_MACHINE_NAME
  67. #endif
  68. #ifndef SOURCE_CODE_URL
  69. #define SOURCE_CODE_URL DEFAULT_SOURCE_URL
  70. #endif
  71. #ifndef DETAILED_BUILD_VERSION
  72. #error BUILD_VERSION Information must be specified
  73. #endif
  74. #ifndef MACHINE_UUID
  75. #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
  76. #endif
  77. // Common LCD messages
  78. /* nothing here yet */
  79. // Common serial messages
  80. #define MSG_MARLIN "Marlin"
  81. // Serial Console Messages (do not translate those!)
  82. #define MSG_Enqueueing "enqueueing \""
  83. #define MSG_POWERUP "PowerUp"
  84. #define MSG_EXTERNAL_RESET " External Reset"
  85. #define MSG_BROWNOUT_RESET " Brown out Reset"
  86. #define MSG_WATCHDOG_RESET " Watchdog Reset"
  87. #define MSG_SOFTWARE_RESET " Software Reset"
  88. #define MSG_AUTHOR " | Author: "
  89. #define MSG_CONFIGURATION_VER " Last Updated: "
  90. #define MSG_FREE_MEMORY " Free Memory: "
  91. #define MSG_PLANNER_BUFFER_BYTES " PlannerBufferBytes: "
  92. #define MSG_OK "ok"
  93. #define MSG_WAIT "wait"
  94. #define MSG_FILE_SAVED "Done saving file."
  95. #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line: "
  96. #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line: "
  97. #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line: "
  98. #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line: "
  99. #define MSG_FILE_PRINTED "Done printing file"
  100. #define MSG_BEGIN_FILE_LIST "Begin file list"
  101. #define MSG_END_FILE_LIST "End file list"
  102. #define MSG_INVALID_EXTRUDER "Invalid extruder"
  103. #define MSG_INVALID_SOLENOID "Invalid solenoid"
  104. #define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
  105. #define MSG_M115_REPORT "FIRMWARE_NAME:Marlin " DETAILED_BUILD_VERSION " SOURCE_CODE_URL:" SOURCE_CODE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
  106. #define MSG_COUNT_X " Count X: "
  107. #define MSG_COUNT_A " Count A: "
  108. #define MSG_ERR_KILLED "Printer halted. kill() called!"
  109. #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
  110. #define MSG_BUSY_PROCESSING "busy: processing"
  111. #define MSG_BUSY_PAUSED_FOR_USER "busy: paused for user"
  112. #define MSG_BUSY_PAUSED_FOR_INPUT "busy: paused for input"
  113. #define MSG_RESEND "Resend: "
  114. #define MSG_UNKNOWN_COMMAND "Unknown command: \""
  115. #define MSG_ACTIVE_EXTRUDER "Active Extruder: "
  116. #define MSG_X_MIN "x_min: "
  117. #define MSG_X_MAX "x_max: "
  118. #define MSG_Y_MIN "y_min: "
  119. #define MSG_Y_MAX "y_max: "
  120. #define MSG_Z_MIN "z_min: "
  121. #define MSG_Z_MAX "z_max: "
  122. #define MSG_Z2_MAX "z2_max: "
  123. #define MSG_Z_PROBE "z_probe: "
  124. #define MSG_ERR_MATERIAL_INDEX "M145 S<index> out of range (0-1)"
  125. #define MSG_ERR_M421_REQUIRES_XYZ "M421 requires XYZ parameters"
  126. #define MSG_ERR_MESH_INDEX_OOB "Mesh XY index is out of bounds"
  127. #define MSG_ERR_M428_TOO_FAR "Too far from reference point"
  128. #define MSG_M119_REPORT "Reporting endstop status"
  129. #define MSG_ENDSTOP_HIT "TRIGGERED"
  130. #define MSG_ENDSTOP_OPEN "open"
  131. #define MSG_HOTEND_OFFSET "Hotend offsets:"
  132. #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir"
  133. #define MSG_SD_INIT_FAIL "SD init fail"
  134. #define MSG_SD_VOL_INIT_FAIL "volume.init failed"
  135. #define MSG_SD_OPENROOT_FAIL "openRoot failed"
  136. #define MSG_SD_CARD_OK "SD card ok"
  137. #define MSG_SD_WORKDIR_FAIL "workDir open failed"
  138. #define MSG_SD_OPEN_FILE_FAIL "open failed, File: "
  139. #define MSG_SD_FILE_OPENED "File opened: "
  140. #define MSG_SD_SIZE " Size: "
  141. #define MSG_SD_FILE_SELECTED "File selected"
  142. #define MSG_SD_WRITE_TO_FILE "Writing to file: "
  143. #define MSG_SD_PRINTING_BYTE "SD printing byte "
  144. #define MSG_SD_NOT_PRINTING "Not SD printing"
  145. #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file"
  146. #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir: "
  147. #define MSG_STEPPER_TOO_HIGH "Steprate too high: "
  148. #define MSG_ENDSTOPS_HIT "endstops hit: "
  149. #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented"
  150. #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
  151. #define MSG_TOO_COLD_FOR_M600 "M600 Hotend too cold to change filament"
  152. #define MSG_BABYSTEPPING_X "Babystepping X"
  153. #define MSG_BABYSTEPPING_Y "Babystepping Y"
  154. #define MSG_BABYSTEPPING_Z "Babystepping Z"
  155. #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error in menu structure"
  156. #define MSG_ERR_EEPROM_WRITE "Error writing to EEPROM!"
  157. // temperature.cpp strings
  158. #define MSG_PID_AUTOTUNE "PID Autotune"
  159. #define MSG_PID_AUTOTUNE_START MSG_PID_AUTOTUNE " start"
  160. #define MSG_PID_AUTOTUNE_FAILED MSG_PID_AUTOTUNE " failed!"
  161. #define MSG_PID_BAD_EXTRUDER_NUM MSG_PID_AUTOTUNE_FAILED " Bad extruder number"
  162. #define MSG_PID_TEMP_TOO_HIGH MSG_PID_AUTOTUNE_FAILED " Temperature too high"
  163. #define MSG_PID_TIMEOUT MSG_PID_AUTOTUNE_FAILED " timeout"
  164. #define MSG_BIAS " bias: "
  165. #define MSG_D " d: "
  166. #define MSG_T_MIN " min: "
  167. #define MSG_T_MAX " max: "
  168. #define MSG_KU " Ku: "
  169. #define MSG_TU " Tu: "
  170. #define MSG_CLASSIC_PID " Classic PID "
  171. #define MSG_KP " Kp: "
  172. #define MSG_KI " Ki: "
  173. #define MSG_KD " Kd: "
  174. #define MSG_B "B:"
  175. #define MSG_T "T:"
  176. #define MSG_AT " @:"
  177. #define MSG_PID_AUTOTUNE_FINISHED MSG_PID_AUTOTUNE " finished! Put the last Kp, Ki and Kd constants from below into Configuration.h"
  178. #define MSG_PID_DEBUG " PID_DEBUG "
  179. #define MSG_PID_DEBUG_INPUT ": Input "
  180. #define MSG_PID_DEBUG_OUTPUT " Output "
  181. #define MSG_PID_DEBUG_PTERM " pTerm "
  182. #define MSG_PID_DEBUG_ITERM " iTerm "
  183. #define MSG_PID_DEBUG_DTERM " dTerm "
  184. #define MSG_PID_DEBUG_CTERM " cTerm "
  185. #define MSG_INVALID_EXTRUDER_NUM " - Invalid extruder number !"
  186. #define MSG_HEATER_BED "bed"
  187. #define MSG_STOPPED_HEATER ", system stopped! Heater_ID: "
  188. #define MSG_REDUNDANCY "Heater switched off. Temperature difference between temp sensors is too high !"
  189. #define MSG_T_HEATING_FAILED "Heating failed"
  190. #define MSG_T_THERMAL_RUNAWAY "Thermal Runaway"
  191. #define MSG_T_MAXTEMP "MAXTEMP triggered"
  192. #define MSG_T_MINTEMP "MINTEMP triggered"
  193. // Debug
  194. #define MSG_DEBUG_ECHO "DEBUG ECHO ENABLED"
  195. #define MSG_DEBUG_INFO "DEBUG INFO ENABLED"
  196. #define MSG_DEBUG_ERRORS "DEBUG ERRORS ENABLED"
  197. #define MSG_DEBUG_DRYRUN "DEBUG DRYRUN ENABLED"
  198. #define MSG_DEBUG_LEVELING "DEBUG LEVELING ENABLED"
  199. // LCD Menu Messages
  200. #if DISABLED(DISPLAY_CHARSET_HD44780_JAPAN) && DISABLED(DISPLAY_CHARSET_HD44780_WESTERN) && DISABLED(DISPLAY_CHARSET_HD44780_CYRILLIC)
  201. #define DISPLAY_CHARSET_HD44780_JAPAN
  202. #endif
  203. #include LANGUAGE_INCLUDE
  204. #include "language_en.h"
  205. #endif //__LANGUAGE_H