Move wizard msgs into messages.h/c + add more translation markers
This commit is contained in:
parent
95567b8072
commit
734e497cd0
@ -116,6 +116,8 @@ const char MSG_WIZARD_CALIBRATION_FAILED[] PROGMEM_I1 = ISTR("Please check our h
|
|||||||
const char MSG_WIZARD_DONE[] PROGMEM_I1 = ISTR("All is done. Happy printing!"); ////c=20 r=8
|
const char MSG_WIZARD_DONE[] PROGMEM_I1 = ISTR("All is done. Happy printing!"); ////c=20 r=8
|
||||||
const char MSG_WIZARD_HEATING[] PROGMEM_I1 = ISTR("Preheating nozzle. Please wait."); ////c=20 r=3
|
const char MSG_WIZARD_HEATING[] PROGMEM_I1 = ISTR("Preheating nozzle. Please wait."); ////c=20 r=3
|
||||||
const char MSG_WIZARD_QUIT[] PROGMEM_I1 = ISTR("You can always resume the Wizard from Calibration -> Wizard."); ////c=20 r=8
|
const char MSG_WIZARD_QUIT[] PROGMEM_I1 = ISTR("You can always resume the Wizard from Calibration -> Wizard."); ////c=20 r=8
|
||||||
|
const char MSG_WIZARD_WELCOME[] PROGMEM_I1 = ISTR("Hi, I am your Original Prusa i3 printer. Would you like me to guide you through the setup process?"); //// c=20 r=7
|
||||||
|
const char MSG_WIZARD_WELCOME_SHIPPING[] PROGMEM_I1 = ISTR("Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."); ////c=20 r=16
|
||||||
const char MSG_YES[] PROGMEM_I1 = ISTR("Yes"); ////
|
const char MSG_YES[] PROGMEM_I1 = ISTR("Yes"); ////
|
||||||
const char MSG_V2_CALIBRATION[] PROGMEM_I1 = ISTR("First layer cal."); ////c=18
|
const char MSG_V2_CALIBRATION[] PROGMEM_I1 = ISTR("First layer cal."); ////c=18
|
||||||
const char WELCOME_MSG[] PROGMEM_I1 = ISTR(CUSTOM_MENDEL_NAME " OK."); ////c=20
|
const char WELCOME_MSG[] PROGMEM_I1 = ISTR(CUSTOM_MENDEL_NAME " OK."); ////c=20
|
||||||
|
@ -116,6 +116,8 @@ extern const char MSG_WIZARD_CALIBRATION_FAILED[];
|
|||||||
extern const char MSG_WIZARD_DONE[];
|
extern const char MSG_WIZARD_DONE[];
|
||||||
extern const char MSG_WIZARD_HEATING[];
|
extern const char MSG_WIZARD_HEATING[];
|
||||||
extern const char MSG_WIZARD_QUIT[];
|
extern const char MSG_WIZARD_QUIT[];
|
||||||
|
extern const char MSG_WIZARD_WELCOME[];
|
||||||
|
extern const char MSG_WIZARD_WELCOME_SHIPPING[];
|
||||||
extern const char MSG_YES[];
|
extern const char MSG_YES[];
|
||||||
extern const char MSG_V2_CALIBRATION[];
|
extern const char MSG_V2_CALIBRATION[];
|
||||||
extern const char WELCOME_MSG[];
|
extern const char WELCOME_MSG[];
|
||||||
|
@ -4987,10 +4987,10 @@ void lcd_wizard(WizState state)
|
|||||||
saved_printing = false;
|
saved_printing = false;
|
||||||
|
|
||||||
if( eeprom_read_byte((uint8_t*)EEPROM_WIZARD_ACTIVE)==2){
|
if( eeprom_read_byte((uint8_t*)EEPROM_WIZARD_ACTIVE)==2){
|
||||||
lcd_show_fullscreen_message_and_wait_P(_i("Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."));////MSG_WIZARD_WELCOME_SHIPPING c=20 r=7
|
lcd_show_fullscreen_message_and_wait_P(MSG_WIZARD_WELCOME_SHIPPING);
|
||||||
state = S::Restore;
|
state = S::Restore;
|
||||||
} else {
|
} else {
|
||||||
wizard_event = lcd_show_multiscreen_message_yes_no_and_wait_P(_i("Hi, I am your Original Prusa i3 printer. Would you like me to guide you through the setup process?"), false, true);////MSG_WIZARD_WELCOME c=20 r=7
|
wizard_event = lcd_show_multiscreen_message_yes_no_and_wait_P(MSG_WIZARD_WELCOME, false, true);
|
||||||
if (wizard_event) {
|
if (wizard_event) {
|
||||||
state = S::Restore;
|
state = S::Restore;
|
||||||
eeprom_update_byte((uint8_t*)EEPROM_WIZARD_ACTIVE, 1);
|
eeprom_update_byte((uint8_t*)EEPROM_WIZARD_ACTIVE, 1);
|
||||||
|
@ -385,7 +385,7 @@
|
|||||||
#MSG_LAST_PRINT_FAILURES c=20
|
#MSG_LAST_PRINT_FAILURES c=20
|
||||||
"Last print failures"
|
"Last print failures"
|
||||||
|
|
||||||
#
|
#MSG_WIZARD_WELCOME_SHIPPING c=20 r=16
|
||||||
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -514,7 +514,7 @@
|
|||||||
"Last print failures"
|
"Last print failures"
|
||||||
"Selhani posl. tisku"
|
"Selhani posl. tisku"
|
||||||
|
|
||||||
#
|
#MSG_WIZARD_WELCOME_SHIPPING c=20 r=16
|
||||||
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
||||||
"Ahoj, jsem vase tiskarna Original Prusa i3. Provedu vas kratkym procesem nastaveni, ve kterem zkalibrujeme osu Z. Pak budete moct zacit tisknout."
|
"Ahoj, jsem vase tiskarna Original Prusa i3. Provedu vas kratkym procesem nastaveni, ve kterem zkalibrujeme osu Z. Pak budete moct zacit tisknout."
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@
|
|||||||
"Last print failures"
|
"Last print failures"
|
||||||
"Letzte Druckfehler"
|
"Letzte Druckfehler"
|
||||||
|
|
||||||
#
|
#MSG_WIZARD_WELCOME_SHIPPING c=20 r=16
|
||||||
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
||||||
"Hallo, ich bin Ihr Original Prusa i3 Drucker. Ich werde Sie durch einen kurzen Einrichtungsprozess fuehren, bei dem die Z-Achse kalibriert wird. Danach sind Sie bereit fuer den Druck."
|
"Hallo, ich bin Ihr Original Prusa i3 Drucker. Ich werde Sie durch einen kurzen Einrichtungsprozess fuehren, bei dem die Z-Achse kalibriert wird. Danach sind Sie bereit fuer den Druck."
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@
|
|||||||
"Last print failures"
|
"Last print failures"
|
||||||
"Ultimos imp. fallos"
|
"Ultimos imp. fallos"
|
||||||
|
|
||||||
#
|
#MSG_WIZARD_WELCOME_SHIPPING c=20 r=16
|
||||||
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
||||||
"Hola, soy tu impresora Original Prusa i3. Te guiare a traves de un breve proceso de configuracion, en el que se calibrara el eje Z. Despues, estaras listo para imprimir."
|
"Hola, soy tu impresora Original Prusa i3. Te guiare a traves de un breve proceso de configuracion, en el que se calibrara el eje Z. Despues, estaras listo para imprimir."
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@
|
|||||||
"Last print failures"
|
"Last print failures"
|
||||||
"Echecs derniere imp."
|
"Echecs derniere imp."
|
||||||
|
|
||||||
#
|
#MSG_WIZARD_WELCOME_SHIPPING c=20 r=16
|
||||||
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
||||||
"Bonjour, je suis votre imprimante Original Prusa i3. Je vais vous accompagner au cours d'un bref processus de reglage, qui permettra de calibrer le Z-axis. Apres cela, tout sera pret pour imprimer."
|
"Bonjour, je suis votre imprimante Original Prusa i3. Je vais vous accompagner au cours d'un bref processus de reglage, qui permettra de calibrer le Z-axis. Apres cela, tout sera pret pour imprimer."
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@
|
|||||||
"Last print failures"
|
"Last print failures"
|
||||||
"Errori ultima stampa"
|
"Errori ultima stampa"
|
||||||
|
|
||||||
#
|
#MSG_WIZARD_WELCOME_SHIPPING c=20 r=16
|
||||||
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
||||||
"Ciao, sono la tua stampante Original Prusa i3. Ti guidero attraverso un rapido processo in cui verra calibrato l'asse Z. Poi, sarai pronto a stampare."
|
"Ciao, sono la tua stampante Original Prusa i3. Ti guidero attraverso un rapido processo in cui verra calibrato l'asse Z. Poi, sarai pronto a stampare."
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@
|
|||||||
"Last print failures"
|
"Last print failures"
|
||||||
"Ostatnie bledy druku"
|
"Ostatnie bledy druku"
|
||||||
|
|
||||||
#
|
#MSG_WIZARD_WELCOME_SHIPPING c=20 r=16
|
||||||
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
"Hi, I am your Original Prusa i3 printer. I will guide you through a short setup process, in which the Z-axis will be calibrated. Then, you will be ready to print."
|
||||||
"Czesc, jestem Twoja drukarka Original Prusa i3. Przeprowadze Cie przez krotka kalibracje osi Z, po ktorej mozesz rozpoczac drukowanie."
|
"Czesc, jestem Twoja drukarka Original Prusa i3. Przeprowadze Cie przez krotka kalibracje osi Z, po ktorej mozesz rozpoczac drukowanie."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user