language.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. #define PROTOCOL_VERSION "1.0"
  24. #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
  25. #define MACHINE_NAME "Ultimaker"
  26. #define FIRMWARE_URL "http://firmware.ultimaker.com"
  27. #elif MB(RUMBA)
  28. #define MACHINE_NAME "Rumba"
  29. #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
  30. #elif MB(3DRAG)
  31. #define MACHINE_NAME "3Drag"
  32. #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
  33. #elif MB(5DPRINT)
  34. #define MACHINE_NAME "Makibox"
  35. #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
  36. #elif MB(SAV_MKI)
  37. #define MACHINE_NAME "SAV MkI"
  38. #define FIRMWARE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
  39. #else
  40. #ifdef CUSTOM_MENDEL_NAME
  41. // #define CUSTOM_MENDEL_NAME CUSTOM_MENDEL_NAME
  42. #else
  43. #define MACHINE_NAME "Mendel"
  44. #endif
  45. // Default firmware set to Mendel
  46. #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
  47. #endif
  48. #ifndef MACHINE_UUID
  49. #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
  50. #endif
  51. #define MSG_FW_VERSION "Firmware"
  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. // LCD Menu Messages
  60. //#include LANGUAGE_INCLUDE
  61. #include "language_all.h"
  62. #endif //__LANGUAGE_H