Christian Thalhammer
13 years ago
21 changed files with 900 additions and 609 deletions
@ -0,0 +1,2 @@ |
|||
*.o |
|||
applet/ |
@ -0,0 +1,339 @@ |
|||
#ifndef LANGUAGE_H |
|||
#define LANGUAGE_H |
|||
|
|||
// Languages
|
|||
// 1 Custom (For you to add your own messages)
|
|||
// 2 English
|
|||
// 3 French (Waiting translation)
|
|||
// 4 German (Waiting translation)
|
|||
// 5 Etc
|
|||
|
|||
#define LANGUAGE_CHOICE 1 // Pick your language from the list above
|
|||
|
|||
#if LANGUAGE_CHOICE == 1 |
|||
|
|||
// LCD Menu Messages
|
|||
|
|||
#define WELCOME_MSG "RepRap Ready." |
|||
#define MSG_SD_INSERTED "Card Ready" |
|||
#define MSG_SD_REMOVED "Card Initiate" |
|||
#define MSG_MAIN " Main \003" |
|||
#define MSG_AUTOSTART " Autostart" |
|||
#define MSG_DISABLE_STEPPERS " Disable Steppers" |
|||
#define MSG_AUTO_HOME " Auto Home" |
|||
#define MSG_SET_ORIGIN " Set Origin" |
|||
#define MSG_PREHEAT_PLA " Preheat PLA" |
|||
#define MSG_PREHEAT_ABS " Preheat ABS" |
|||
#define MSG_COOLDOWN " Cooldown" |
|||
#define MSG_EXTRUDE " Extrude" |
|||
#define MSG_MOVE_AXIS " Move Axis \x7E" |
|||
#define MSG_SPEED " Speed:" |
|||
#define MSG_NOZZLE " \002Nozzle:" |
|||
#define MSG_BED " \002Bed:" |
|||
#define MSG_FAN_SPEED " Fan speed:" |
|||
#define MSG_FLOW " Flow:" |
|||
#define MSG_CONTROL " Control \003" |
|||
#define MSG_MIN " \002 Min:" |
|||
#define MSG_MAX " \002 Max:" |
|||
#define MSG_FACTOR " \002 Fact:" |
|||
#define MSG_AUTOTEMP " Autotemp:" |
|||
#define MSG_ON "On " |
|||
#define MSG_OFF "Off" |
|||
#define MSG_PID_P " PID-P: " |
|||
#define MSG_PID_I " PID-I: " |
|||
#define MSG_PID_D " PID-D: " |
|||
#define MSG_PID_C " PID-C: " |
|||
#define MSG_ACC " Acc:" |
|||
#define MSG_VXY_JERK " Vxy-jerk: " |
|||
#define MSG_VMAX " Vmax " |
|||
#define MSG_X "x:" |
|||
#define MSG_Y "y:" |
|||
#define MSG_Z "z:" |
|||
#define MSG_E "e:" |
|||
#define MSG_VMIN " Vmin:" |
|||
#define MSG_VTRAV_MIN " VTrav min:" |
|||
#define MSG_AMAX " Amax " |
|||
#define MSG_A_RETRACT " A-retract:" |
|||
#define MSG_XSTEPS " Xsteps/mm:" |
|||
#define MSG_YSTEPS " Ysteps/mm:" |
|||
#define MSG_ZSTEPS " Zsteps/mm:" |
|||
#define MSG_ESTEPS " Esteps/mm:" |
|||
#define MSG_MAIN_WIDE " Main \003" |
|||
#define MSG_TEMPERATURE_WIDE " Temperature \x7E" |
|||
#define MSG_MOTION_WIDE " Motion \x7E" |
|||
#define MSG_STORE_EPROM " Store EPROM" |
|||
#define MSG_LOAD_EPROM " Load EPROM" |
|||
#define MSG_RESTORE_FAILSAFE " Restore Failsafe" |
|||
#define MSG_REFRESH "\004Refresh" |
|||
#define MSG_WATCH " Watch \003" |
|||
#define MSG_PREPARE " Prepare \x7E" |
|||
#define MSG_CONTROL_ARROW " Control \x7E" |
|||
#define MSG_TUNE " Tune \x7E" |
|||
#define MSG_STOP_PRINT " Stop Print \x7E" |
|||
#define MSG_CARD_MENU " Card Menu \x7E" |
|||
#define MSG_NO_CARD " No Card" |
|||
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure." |
|||
|
|||
#endif |
|||
|
|||
#if LANGUAGE_CHOICE == 2 |
|||
|
|||
// LCD Menu Messages
|
|||
|
|||
#define WELCOME_MSG "UltiMARLIN Ready." |
|||
#define MSG_SD_INSERTED "Card inserted" |
|||
#define MSG_SD_REMOVED "Card removed" |
|||
#define MSG_MAIN " Main \003" |
|||
#define MSG_AUTOSTART " Autostart" |
|||
#define MSG_DISABLE_STEPPERS " Disable Steppers" |
|||
#define MSG_AUTO_HOME " Auto Home" |
|||
#define MSG_SET_ORIGIN " Set Origin" |
|||
#define MSG_PREHEAT " Preheat" |
|||
#define MSG_COOLDOWN " Cooldown" |
|||
#define MSG_EXTRUDE " Extrude" |
|||
#define MSG_MOVE_AXIS " Move Axis \x7E" |
|||
#define MSG_SPEED " Speed:" |
|||
#define MSG_NOZZLE " \002Nozzle:" |
|||
#define MSG_BED " \002Bed:" |
|||
#define MSG_FAN_SPEED " Fan speed:" |
|||
#define MSG_FLOW " Flow:" |
|||
#define MSG_CONTROL " Control \003" |
|||
#define MSG_MIN " \002 Min:" |
|||
#define MSG_MAX " \002 Max:" |
|||
#define MSG_FACTOR " \002 Fact:" |
|||
#define MSG_AUTOTEMP " Autotemp:" |
|||
#define MSG_ON "On " |
|||
#define MSG_OFF "Off" |
|||
#define MSG_PID_P " PID-P: " |
|||
#define MSG_PID_I " PID-I: " |
|||
#define MSG_PID_D " PID-D: " |
|||
#define MSG_PID_C " PID-C: " |
|||
#define MSG_ACC " Acc:" |
|||
#define MSG_VXY_JERK " Vxy-jerk: " |
|||
#define MSG_VMAX " Vmax " |
|||
#define MSG_X "x:" |
|||
#define MSG_Y "y:" |
|||
#define MSG_Z "z:" |
|||
#define MSG_E "e:" |
|||
#define MSG_VMIN " Vmin:" |
|||
#define MSG_VTRAV_MIN " VTrav min:" |
|||
#define MSG_AMAX " Amax " |
|||
#define MSG_A_RETRACT " A-retract:" |
|||
#define MSG_XSTEPS " Xsteps/mm:" |
|||
#define MSG_YSTEPS " Ysteps/mm:" |
|||
#define MSG_ZSTEPS " Zsteps/mm:" |
|||
#define MSG_ESTEPS " Esteps/mm:" |
|||
#define MSG_MAIN_WIDE " Main \003" |
|||
#define MSG_TEMPERATURE_WIDE " Temperature \x7E" |
|||
#define MSG_MOTION_WIDE " Motion \x7E" |
|||
#define MSG_STORE_EPROM " Store EPROM" |
|||
#define MSG_LOAD_EPROM " Load EPROM" |
|||
#define MSG_RESTORE_FAILSAFE " Restore Failsafe" |
|||
#define MSG_REFRESH "\004Refresh" |
|||
#define MSG_WATCH " Watch \003" |
|||
#define MSG_PREPARE " Prepare \x7E" |
|||
#define MSG_CONTROL_ARROW " Control \x7E" |
|||
#define MSG_TUNE " Tune \x7E" |
|||
#define MSG_STOP_PRINT " Stop Print \x7E" |
|||
#define MSG_CARD_MENU " Card Menu \x7E" |
|||
#define MSG_NO_CARD " No Card" |
|||
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure." |
|||
|
|||
#endif |
|||
|
|||
#if LANGUAGE_CHOICE == 3 |
|||
|
|||
// LCD Menu Messages
|
|||
|
|||
#define WELCOME_MSG "RepRap Ready." |
|||
#define MSG_SD_INSERTED "Card Ready" |
|||
#define MSG_SD_REMOVED "Card Initiate" |
|||
#define MSG_MAIN " Main \003" |
|||
#define MSG_AUTOSTART " Autostart" |
|||
#define MSG_DISABLE_STEPPERS " Disable Steppers" |
|||
#define MSG_AUTO_HOME " Auto Home" |
|||
#define MSG_SET_ORIGIN " Set Origin" |
|||
#define MSG_PREHEAT " Preheat" |
|||
#define MSG_COOLDOWN " Cooldown" |
|||
#define MSG_EXTRUDE " Extrude" |
|||
#define MSG_MOVE_AXIS " Move Axis \x7E" |
|||
#define MSG_SPEED " Speed:" |
|||
#define MSG_NOZZLE " \002Nozzle:" |
|||
#define MSG_BED " \002Bed:" |
|||
#define MSG_FAN_SPEED " Fan speed:" |
|||
#define MSG_FLOW " Flow:" |
|||
#define MSG_CONTROL " Control \003" |
|||
#define MSG_MIN " \002 Min:" |
|||
#define MSG_MAX " \002 Max:" |
|||
#define MSG_FACTOR " \002 Fact:" |
|||
#define MSG_AUTOTEMP " Autotemp:" |
|||
#define MSG_ON "On " |
|||
#define MSG_OFF "Off" |
|||
#define MSG_PID_P " PID-P: " |
|||
#define MSG_PID_I " PID-I: " |
|||
#define MSG_PID_D " PID-D: " |
|||
#define MSG_PID_C " PID-C: " |
|||
#define MSG_ACC " Acc:" |
|||
#define MSG_VXY_JERK " Vxy-jerk: " |
|||
#define MSG_VMAX " Vmax " |
|||
#define MSG_X "x:" |
|||
#define MSG_Y "y:" |
|||
#define MSG_Z "z:" |
|||
#define MSG_E "e:" |
|||
#define MSG_VMIN " Vmin:" |
|||
#define MSG_VTRAV_MIN " VTrav min:" |
|||
#define MSG_AMAX " Amax " |
|||
#define MSG_A_RETRACT " A-retract:" |
|||
#define MSG_XSTEPS " Xsteps/mm:" |
|||
#define MSG_YSTEPS " Ysteps/mm:" |
|||
#define MSG_ZSTEPS " Zsteps/mm:" |
|||
#define MSG_ESTEPS " Esteps/mm:" |
|||
#define MSG_MAIN_WIDE " Main \003" |
|||
#define MSG_TEMPERATURE_WIDE " Temperature \x7E" |
|||
#define MSG_MOTION_WIDE " Motion \x7E" |
|||
#define MSG_STORE_EPROM " Store EPROM" |
|||
#define MSG_LOAD_EPROM " Load EPROM" |
|||
#define MSG_RESTORE_FAILSAFE " Restore Failsafe" |
|||
#define MSG_REFRESH "\004Refresh" |
|||
#define MSG_WATCH " Watch \003" |
|||
#define MSG_PREPARE " Prepare \x7E" |
|||
#define MSG_CONTROL_ARROW " Control \x7E" |
|||
#define MSG_TUNE " Tune \x7E" |
|||
#define MSG_STOP_PRINT " Stop Print \x7E" |
|||
#define MSG_CARD_MENU " Card Menu \x7E" |
|||
#define MSG_NO_CARD " No Card" |
|||
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure." |
|||
|
|||
#endif |
|||
|
|||
#if LANGUAGE_CHOICE == 4 |
|||
|
|||
// LCD Menu Messages
|
|||
|
|||
#define WELCOME_MSG "RepRap Ready." |
|||
#define MSG_SD_INSERTED "Card Ready" |
|||
#define MSG_SD_REMOVED "Card Initiate" |
|||
#define MSG_MAIN " Main \003" |
|||
#define MSG_AUTOSTART " Autostart" |
|||
#define MSG_DISABLE_STEPPERS " Disable Steppers" |
|||
#define MSG_AUTO_HOME " Auto Home" |
|||
#define MSG_SET_ORIGIN " Set Origin" |
|||
#define MSG_PREHEAT " Preheat" |
|||
#define MSG_COOLDOWN " Cooldown" |
|||
#define MSG_EXTRUDE " Extrude" |
|||
#define MSG_MOVE_AXIS " Move Axis \x7E" |
|||
#define MSG_SPEED " Speed:" |
|||
#define MSG_NOZZLE " \002Nozzle:" |
|||
#define MSG_BED " \002Bed:" |
|||
#define MSG_FAN_SPEED " Fan speed:" |
|||
#define MSG_FLOW " Flow:" |
|||
#define MSG_CONTROL " Control \003" |
|||
#define MSG_MIN " \002 Min:" |
|||
#define MSG_MAX " \002 Max:" |
|||
#define MSG_FACTOR " \002 Fact:" |
|||
#define MSG_AUTOTEMP " Autotemp:" |
|||
#define MSG_ON "On " |
|||
#define MSG_OFF "Off" |
|||
#define MSG_PID_P " PID-P: " |
|||
#define MSG_PID_I " PID-I: " |
|||
#define MSG_PID_D " PID-D: " |
|||
#define MSG_PID_C " PID-C: " |
|||
#define MSG_ACC " Acc:" |
|||
#define MSG_VXY_JERK " Vxy-jerk: " |
|||
#define MSG_VMAX " Vmax " |
|||
#define MSG_X "x:" |
|||
#define MSG_Y "y:" |
|||
#define MSG_Z "z:" |
|||
#define MSG_E "e:" |
|||
#define MSG_VMIN " Vmin:" |
|||
#define MSG_VTRAV_MIN " VTrav min:" |
|||
#define MSG_AMAX " Amax " |
|||
#define MSG_A_RETRACT " A-retract:" |
|||
#define MSG_XSTEPS " Xsteps/mm:" |
|||
#define MSG_YSTEPS " Ysteps/mm:" |
|||
#define MSG_ZSTEPS " Zsteps/mm:" |
|||
#define MSG_ESTEPS " Esteps/mm:" |
|||
#define MSG_MAIN_WIDE " Main \003" |
|||
#define MSG_TEMPERATURE_WIDE " Temperature \x7E" |
|||
#define MSG_MOTION_WIDE " Motion \x7E" |
|||
#define MSG_STORE_EPROM " Store EPROM" |
|||
#define MSG_LOAD_EPROM " Load EPROM" |
|||
#define MSG_RESTORE_FAILSAFE " Restore Failsafe" |
|||
#define MSG_REFRESH "\004Refresh" |
|||
#define MSG_WATCH " Watch \003" |
|||
#define MSG_PREPARE " Prepare \x7E" |
|||
#define MSG_CONTROL_ARROW " Control \x7E" |
|||
#define MSG_TUNE " Tune \x7E" |
|||
#define MSG_STOP_PRINT " Stop Print \x7E" |
|||
#define MSG_CARD_MENU " Card Menu \x7E" |
|||
#define MSG_NO_CARD " No Card" |
|||
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure." |
|||
|
|||
#endif |
|||
|
|||
#if LANGUAGE_CHOICE == 5 |
|||
|
|||
// LCD Menu Messages
|
|||
|
|||
#define WELCOME_MSG "RepRap Ready." |
|||
#define MSG_SD_INSERTED "Card Ready" |
|||
#define MSG_SD_REMOVED "Card Initiate" |
|||
#define MSG_MAIN " Main \003" |
|||
#define MSG_AUTOSTART " Autostart" |
|||
#define MSG_DISABLE_STEPPERS " Disable Steppers" |
|||
#define MSG_AUTO_HOME " Auto Home" |
|||
#define MSG_SET_ORIGIN " Set Origin" |
|||
#define MSG_PREHEAT " Preheat" |
|||
#define MSG_COOLDOWN " Cooldown" |
|||
#define MSG_EXTRUDE " Extrude" |
|||
#define MSG_MOVE_AXIS " Move Axis \x7E" |
|||
#define MSG_SPEED " Speed:" |
|||
#define MSG_NOZZLE " \002Nozzle:" |
|||
#define MSG_BED " \002Bed:" |
|||
#define MSG_FAN_SPEED " Fan speed:" |
|||
#define MSG_FLOW " Flow:" |
|||
#define MSG_CONTROL " Control \003" |
|||
#define MSG_MIN " \002 Min:" |
|||
#define MSG_MAX " \002 Max:" |
|||
#define MSG_FACTOR " \002 Fact:" |
|||
#define MSG_AUTOTEMP " Autotemp:" |
|||
#define MSG_ON "On " |
|||
#define MSG_OFF "Off" |
|||
#define MSG_PID_P " PID-P: " |
|||
#define MSG_PID_I " PID-I: " |
|||
#define MSG_PID_D " PID-D: " |
|||
#define MSG_PID_C " PID-C: " |
|||
#define MSG_ACC " Acc:" |
|||
#define MSG_VXY_JERK " Vxy-jerk: " |
|||
#define MSG_VMAX " Vmax " |
|||
#define MSG_X "x:" |
|||
#define MSG_Y "y:" |
|||
#define MSG_Z "z:" |
|||
#define MSG_E "e:" |
|||
#define MSG_VMIN " Vmin:" |
|||
#define MSG_VTRAV_MIN " VTrav min:" |
|||
#define MSG_AMAX " Amax " |
|||
#define MSG_A_RETRACT " A-retract:" |
|||
#define MSG_XSTEPS " Xsteps/mm:" |
|||
#define MSG_YSTEPS " Ysteps/mm:" |
|||
#define MSG_ZSTEPS " Zsteps/mm:" |
|||
#define MSG_ESTEPS " Esteps/mm:" |
|||
#define MSG_MAIN_WIDE " Main \003" |
|||
#define MSG_TEMPERATURE_WIDE " Temperature \x7E" |
|||
#define MSG_MOTION_WIDE " Motion \x7E" |
|||
#define MSG_STORE_EPROM " Store EPROM" |
|||
#define MSG_LOAD_EPROM " Load EPROM" |
|||
#define MSG_RESTORE_FAILSAFE " Restore Failsafe" |
|||
#define MSG_REFRESH "\004Refresh" |
|||
#define MSG_WATCH " Watch \003" |
|||
#define MSG_PREPARE " Prepare \x7E" |
|||
#define MSG_CONTROL_ARROW " Control \x7E" |
|||
#define MSG_TUNE " Tune \x7E" |
|||
#define MSG_STOP_PRINT " Stop Print \x7E" |
|||
#define MSG_CARD_MENU " Card Menu \x7E" |
|||
#define MSG_NO_CARD " No Card" |
|||
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Something is wrong in the MenuStructure." |
|||
|
|||
#endif |
|||
|
|||
#endif // ifndef LANGUAGE_H
|
Loading…
Reference in new issue