From 4423106fadabea90e42484209c0e477602eed140 Mon Sep 17 00:00:00 2001 From: DRracer Date: Fri, 13 Sep 2019 16:55:05 +0200 Subject: [PATCH 1/7] dialogs' layouts fixes (support menu dlgs, statistics etc.) French translation polished --- Firmware/menu.cpp | 2 +- Firmware/ultralcd.cpp | 111 +++++++++++--------- lang/lang_en.txt | 7 +- lang/lang_en_cz.txt | 20 ++-- lang/lang_en_de.txt | 8 +- lang/lang_en_es.txt | 10 +- lang/lang_en_fr.txt | 235 +++++++++++++++++++++--------------------- lang/lang_en_it.txt | 8 +- lang/lang_en_pl.txt | 8 +- 9 files changed, 217 insertions(+), 192 deletions(-) diff --git a/Firmware/menu.cpp b/Firmware/menu.cpp index 7aad723c..bb721dba 100755 --- a/Firmware/menu.cpp +++ b/Firmware/menu.cpp @@ -423,7 +423,7 @@ void menu_draw_P(char chr, const char* str, int16_t val) float factor = 1.0f + static_cast(val) / 1000.0f; if (val <= _md->minEditValue) { - lcd_printf_P(menu_fmt_float13off, chr, str, " [off]"); + lcd_printf_P(menu_fmt_float13off, chr, str, _i(" [off]")); } else { diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 0abdf1b5..26d78b64 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -1670,6 +1670,24 @@ static void lcd_cooldown() lcd_return_to_status(); } +//! @brief append text label with a colon and format it into a fixed size output buffer +//! It would have been much easier if there was a ':' in the labels. +//! But since the texts like Bed, Nozzle and PINDA are used in other places +//! it is better to reuse these texts even though it requires some extra formatting code. +static void pgmtext_with_colon(const char *ipgmLabel, char *dst, uint8_t dstSize){ + uint8_t i = 0; + for(; i < dstSize - 2; ++i){ // 1 byte less than buffer, we'd be adding a ':' to the end + uint8_t b = pgm_read_byte(ipgmLabel + i); + if( ! b ) + break; + dst[i] = b; + } + dst[i] = ':'; // append the colon + ++i; + for(; i < dstSize - 1; ++i) // fill the rest with spaces + dst[i] = ' '; + dst[dstSize-1] = 0; // terminate the string properly +} void lcd_menu_extruder_info() // NOT static due to using inside "Marlin_main" module ("manage_inactivity()") { @@ -1679,23 +1697,14 @@ void lcd_menu_extruder_info() // NOT static due to using ins //|Fil. Xd: Yd: | //|Int: Shut: | //---------------------- - int fan_speed_RPM[2]; - // Display Nozzle fan RPM - fan_speed_RPM[0] = 60*fan_speed[0]; - fan_speed_RPM[1] = 60*fan_speed[1]; - lcd_timeoutToStatus.stop(); //infinite timeout - - lcd_home(); - lcd_printf_P(_N( - "%S: %4d RPM\n" - "%S: %4d RPM\n" - ), - _i("Nozzle FAN"), - fan_speed_RPM[0], - _i("Print FAN"), - fan_speed_RPM[1] - ); + // Display Nozzle fan RPM + lcd_timeoutToStatus.stop(); //infinite timeout + lcd_home(); + char nozzle[12], print[12]; + pgmtext_with_colon(_i("Nozzle FAN"), nozzle, 12); + pgmtext_with_colon(_i("Print FAN"), print, 12); + lcd_printf_P(_N("%s %4d RPM\n" "%s %4d RPM\n"), nozzle, 60*fan_speed[0], print, 60*fan_speed[1] ); #ifdef PAT9125 // Display X and Y difference from Filament sensor @@ -1745,12 +1754,12 @@ static void lcd_menu_fails_stats_mmu_print() // MMU load fails 000 // ////////////////////// - lcd_timeoutToStatus.stop(); //infinite timeout + lcd_timeoutToStatus.stop(); //infinite timeout uint8_t fails = eeprom_read_byte((uint8_t*)EEPROM_MMU_FAIL); uint16_t load_fails = eeprom_read_byte((uint8_t*)EEPROM_MMU_LOAD_FAIL); - lcd_home(); - lcd_printf_P(PSTR("%S\n" " %S %-3d\n" " %S %-3d"), _i("Last print failures"), _i("MMU fails"), fails, _i("MMU load fails"), load_fails); - menu_back_if_clicked_fb(); + lcd_home(); + lcd_printf_P(PSTR("%S\n" " %-16.16S%-3d\n" " %-16.16S%-3d"), _i("Last print failures"), _i("MMU fails"), fails, _i("MMU load fails"), load_fails); + menu_back_if_clicked_fb(); } static void lcd_menu_fails_stats_mmu_total() @@ -1761,16 +1770,17 @@ static void lcd_menu_fails_stats_mmu_total() // MMU load fails 000 // ////////////////////// - mmu_command(MmuCmd::S3); - lcd_timeoutToStatus.stop(); //infinite timeout + mmu_command(MmuCmd::S3); + lcd_timeoutToStatus.stop(); //infinite timeout uint8_t fails = eeprom_read_byte((uint8_t*)EEPROM_MMU_FAIL_TOT); uint16_t load_fails = eeprom_read_byte((uint8_t*)EEPROM_MMU_LOAD_FAIL_TOT); - lcd_home(); - lcd_printf_P(PSTR("%S\n" " %S %-3d\n" " %S %-3d\n" " %S %-3d"), _i("Total failures"), _i("MMU fails"), fails, _i("MMU load fails"), load_fails, _i("MMU power fails"), mmu_power_failures); - menu_back_if_clicked_fb(); + lcd_home(); + lcd_printf_P(PSTR("%S\n" " %-16.16S%-3d\n" " %-16.16S%-3d\n" " %-16.16S%-3d"), _i("Total failures"), _i("MMU fails"), fails, _i("MMU load fails"), load_fails, _i("MMU power fails"), mmu_power_failures); + menu_back_if_clicked_fb(); } #if defined(TMC2130) && defined(FILAMENT_SENSOR) +static const char failStatsFmt[] PROGMEM = "%S\n" " %-16.16S%-3d\n" " %-16.16S%-3d\n" " %-7.7SX %-3d Y %-3d"; static void lcd_menu_fails_stats_total() { //01234567890123456789 @@ -1779,14 +1789,14 @@ static void lcd_menu_fails_stats_total() // Filam. runouts 000 // Crash X 000 Y 000 ////////////////////// - lcd_timeoutToStatus.stop(); //infinite timeout + lcd_timeoutToStatus.stop(); //infinite timeout uint16_t power = eeprom_read_word((uint16_t*)EEPROM_POWER_COUNT_TOT); uint16_t filam = eeprom_read_word((uint16_t*)EEPROM_FERROR_COUNT_TOT); uint16_t crashX = eeprom_read_word((uint16_t*)EEPROM_CRASH_COUNT_X_TOT); uint16_t crashY = eeprom_read_word((uint16_t*)EEPROM_CRASH_COUNT_Y_TOT); - lcd_home(); - lcd_printf_P(PSTR("%S\n" " %S %-3d\n" " %S %-3d\n" " %S X %-3d Y %-3d"), _i("Total failures"), _i("Power failures"), power, _i("Filam. runouts"), filam, _i("Crash"), crashX, crashY); - menu_back_if_clicked_fb(); + lcd_home(); + lcd_printf_P(failStatsFmt, _i("Total failures"), _i("Power failures"), power, _i("Filam. runouts"), filam, _i("Crash"), crashX, crashY); + menu_back_if_clicked_fb(); } static void lcd_menu_fails_stats_print() @@ -1797,14 +1807,14 @@ static void lcd_menu_fails_stats_print() // Filam. runouts 000 // Crash X 000 Y 000 ////////////////////// - lcd_timeoutToStatus.stop(); //infinite timeout + lcd_timeoutToStatus.stop(); //infinite timeout uint8_t power = eeprom_read_byte((uint8_t*)EEPROM_POWER_COUNT); uint8_t filam = eeprom_read_byte((uint8_t*)EEPROM_FERROR_COUNT); uint8_t crashX = eeprom_read_byte((uint8_t*)EEPROM_CRASH_COUNT_X); uint8_t crashY = eeprom_read_byte((uint8_t*)EEPROM_CRASH_COUNT_Y); - lcd_home(); - lcd_printf_P(PSTR("%S\n" " %S %-3d\n" " %S %-3d\n" " %S X %-3d Y %-3d"), _i("Last print failures"), _i("Power failures"), power, _i("Filam. runouts"), filam, _i("Crash"), crashX, crashY); - menu_back_if_clicked_fb(); + lcd_home(); + lcd_printf_P(failStatsFmt, _i("Last print failures"), _i("Power failures"), power, _i("Filam. runouts"), filam, _i("Crash"), crashX, crashY); + menu_back_if_clicked_fb(); } /** @@ -1877,16 +1887,23 @@ static void lcd_menu_debug() } #endif /* DEBUG_BUILD */ +//! @brief common line print for lcd_menu_temperatures +static void lcd_menu_temperatures_line(const char *ipgmLabel, int value){ + char tmp[15]; + pgmtext_with_colon(ipgmLabel, tmp, 15); + lcd_printf_P(PSTR(" %s%3d\x01 \n"), tmp, value); // no need to add -14.14 to string alignment +} static void lcd_menu_temperatures() { - lcd_timeoutToStatus.stop(); //infinite timeout - lcd_home(); - lcd_printf_P(PSTR(" %S: %d%c \n" " %S: %d%c \n"), _i("Nozzle"), (int)current_temperature[0], '\x01', _i("Bed"), (int)current_temperature_bed, '\x01'); + lcd_timeoutToStatus.stop(); //infinite timeout + lcd_home(); + lcd_menu_temperatures_line( _T(MSG_NOZZLE), (int)current_temperature[0] ); + lcd_menu_temperatures_line( _T(MSG_BED), (int)current_temperature_bed ); #ifdef AMBIENT_THERMISTOR - lcd_printf_P(PSTR(" %S: %d%c\n" " PINDA: %d%c"), _i("Ambient"), (int)current_temperature_ambient, '\x01', (int)current_temperature_pinda, '\x01'); -#else //AMBIENT_THERMISTOR - lcd_printf_P(PSTR(" PINDA: %d%c"), (int)current_temperature_pinda, '\x01'); -#endif //AMBIENT_THERMISTOR + lcd_menu_temperatures_line( _i("Ambient"), (int)current_temperature_ambient ); +#endif + lcd_menu_temperatures_line( _i("PINDA"), (int)current_temperature_pinda ); + menu_back_if_clicked(); } @@ -2659,7 +2676,7 @@ void lcd_menu_statistics() lcd_clear(); lcd_printf_P(_N( "%S:\n" - "%8.2fm\n" + "%17.2fm \n" "%S:\n" "%2dh %02dm %02ds" ),_i("Filament used"), _met, _i("Print time"), _h, _m, _s); @@ -2681,7 +2698,7 @@ void lcd_menu_statistics() lcd_clear(); lcd_printf_P(_N( "%S:\n" - "%8.2fm\n" + "%17.2fm \n" "%S:\n" "%7ldd :%2hhdh :%02hhdm" ), _i("Total filament"), _filament_m, _i("Total print time"), _days, _hours, _minutes); @@ -2823,17 +2840,17 @@ static void lcd_menu_xyz_skew() lcd_printf_P(_N( "%S:\n" "%S\n" - "%S: %5.2f\x01\n" - "%S: %5.2f\x01" + "%-15.15S%3.2f\x01\n" + "%-15.15S%3.2f\x01" ), _i("Measured skew"), separator, - _i("Slight skew"), _deg(bed_skew_angle_mild), - _i("Severe skew"), _deg(bed_skew_angle_extreme) + _i("Slight skew:"), _deg(bed_skew_angle_mild), + _i("Severe skew:"), _deg(bed_skew_angle_extreme) ); if (angleDiff < 100){ lcd_set_cursor(15,0); - lcd_printf_P(_N("%4.2f\x01"), _deg(angleDiff)); + lcd_printf_P(_N("%3.2f\x01"), _deg(angleDiff)); } else{ lcd_set_cursor(15,0); diff --git a/lang/lang_en.txt b/lang/lang_en.txt index 272c800c..a39ae94b 100755 --- a/lang/lang_en.txt +++ b/lang/lang_en.txt @@ -734,7 +734,7 @@ "Sort [time]" # -"Severe skew" +"Severe skew:" #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" @@ -746,7 +746,7 @@ "Sound [loud]" # -"Slight skew" +"Slight skew:" #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" @@ -1074,3 +1074,6 @@ # "Z-probe nr. [3]" + +# +"Z-probe nr. [5]" diff --git a/lang/lang_en_cz.txt b/lang/lang_en_cz.txt index 659a9372..8d8bed55 100755 --- a/lang/lang_en_cz.txt +++ b/lang/lang_en_cz.txt @@ -92,7 +92,7 @@ #MSG_BED_HEATING "Bed Heating" -"Zahrivani bed" +"Zahrivani bedu" #MSG_BED_CORRECTION_MENU "Bed level correct" @@ -508,7 +508,7 @@ # "Left" -"Vlevo:" +"Vlevo" #MSG_BED_CORRECTION_LEFT c=14 r=1 "Left side [um]" @@ -688,7 +688,7 @@ # "Nozzle FAN" -"Tryska V." +"Vent. trysky" #MSG_PAUSE_PRINT "Pause print" @@ -819,8 +819,8 @@ "Predehrev k vyjmuti" #MSG_SELFTEST_PRINT_FAN_SPEED c=18 -"Print fan:" -"Tiskovy v:" +"Print fan" +"Tiskovy vent." #MSG_CARD_MENU "Print from SD" @@ -844,7 +844,7 @@ # "Print FAN" -"Tiskovy v" +"Tiskovy vent." #MSG_PRUSA3D "prusa3d.com" @@ -979,8 +979,8 @@ "Trideni [cas]" # -"Severe skew" -"Tezke zkoseni" +"Severe skew:" +"Tezke zkoseni:" #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" @@ -995,8 +995,8 @@ "Zvuk [hlasity]" # -"Slight skew" -"Lehke zkoseni" +"Slight skew:" +"Lehke zkoseni:" #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" diff --git a/lang/lang_en_de.txt b/lang/lang_en_de.txt index a426c13a..00d48eca 100755 --- a/lang/lang_en_de.txt +++ b/lang/lang_en_de.txt @@ -979,8 +979,8 @@ "Sort. [Zeit]" # -"Severe skew" -"Schwer.Schr" +"Severe skew:" +"Schwer.Schr:" #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" @@ -995,8 +995,8 @@ "Sound [laut]" # -"Slight skew" -"Leicht.Schr" +"Slight skew:" +"Leicht.Schr:" #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" diff --git a/lang/lang_en_es.txt b/lang/lang_en_es.txt index dd4db925..bcf3794a 100755 --- a/lang/lang_en_es.txt +++ b/lang/lang_en_es.txt @@ -979,8 +979,8 @@ "Ordenar [tiempo]" # -"Severe skew" -"Incl.severa" +"Severe skew:" +"Incl.severa:" #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" @@ -995,8 +995,8 @@ "Sonido [alto]" # -"Slight skew" -"Liger.incl." +"Slight skew:" +"Liger.incl.:" #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" @@ -1240,7 +1240,7 @@ #MSG_OFF " [off]" -" [apagado]" +"[apag]" # "Back" diff --git a/lang/lang_en_fr.txt b/lang/lang_en_fr.txt index 5c4f7e9d..3f53ff9a 100755 --- a/lang/lang_en_fr.txt +++ b/lang/lang_en_fr.txt @@ -16,7 +16,7 @@ #MSG_CRASH_DET_STEALTH_FORCE_OFF c=20 r=4 "WARNING:\x0aCrash detection\x0adisabled in\x0aStealth mode" -"ATTENTION:\x0aDetection de crash\x0adesactivee en\x0amode Furtif" +"ATTENTION:\x0aDetection de crash\x0adesactivee en\x0amode feutre" # ">Cancel" @@ -24,7 +24,7 @@ #MSG_BABYSTEPPING_Z c=15 "Adjusting Z:" -"Ajuster Z :" +"Ajuster Z:" #MSG_SELFTEST_CHECK_ALLCORRECT c=20 "All correct " @@ -32,7 +32,7 @@ #MSG_WIZARD_DONE c=20 r=8 "All is done. Happy printing!" -"Tout est pret. Bonne impression !" +"Tout est pret. Bonne impression!" # "Ambient" @@ -62,9 +62,9 @@ "Auto home" "Mise a 0 des axes" -#MSG_AUTOLOAD_FILAMENT c=17 +#MSG_AUTOLOAD_FILAMENT c=18 "AutoLoad filament" -"AutoCharge du filament" +"Autocharge du fil." #MSG_AUTOLOADING_ONLY_IF_FSENS_ON c=20 r=4 "Autoloading filament available only when filament sensor is turned on..." @@ -72,7 +72,7 @@ #MSG_AUTOLOADING_ENABLED c=20 r=4 "Autoloading filament is active, just press the knob and insert filament..." -"Chargement auto du filament actif, appuyez sur le btn et inserez le fil." +"Chargement auto. du fil. active, appuyez sur le bouton et inserez le fil." #MSG_SELFTEST_AXIS_LENGTH "Axis length" @@ -100,7 +100,7 @@ #MSG_BED_LEVELING_FAILED_POINT_LOW c=20 r=4 "Bed leveling failed. Sensor didnt trigger. Debris on nozzle? Waiting for reset." -"Echec bed leveling. Capt. non declenche. Debris sur buse ? En attente d'un reset." +"Echec bed leveling. Capt. non declenche. Debris sur buse? En attente d'un reset." #MSG_BED "Bed" @@ -112,7 +112,7 @@ #MSG_RECOVER_PRINT c=20 r=2 "Blackout occurred. Recover print?" -"Coupure detectee. Recup. impression ?" +"Coupure detectee. Reprendre impression?" # "Calibrating home" @@ -132,7 +132,7 @@ #MSG_MOVE_CARRIAGE_TO_THE_TOP c=20 r=8 "Calibrating XYZ. Rotate the knob to move the Z carriage up to the end stoppers. Click when done." -"Calibration de XYZ. Tournez le bouton pour monter le chariot de l'axe Z jusqu'aux butees. Cliquez une fois fait." +"Calibration de XYZ. Tournez le bouton pour faire monter l'extrudeur dans l'axe Z jusqu'aux butees. Cliquez une fois fait." #MSG_CALIBRATE_Z_AUTO c=20 r=2 "Calibrating Z" @@ -140,7 +140,7 @@ #MSG_MOVE_CARRIAGE_TO_THE_TOP_Z c=20 r=8 "Calibrating Z. Rotate the knob to move the Z carriage up to the end stoppers. Click when done." -"Calibration de Z. Tournez le bouton pour monter le chariot de l'axe Z jusqu'aux butees. Cliquez une fois fait." +"Calibration de Z. Tournez le bouton pour faire monter l'extrudeur dans l'axe Z jusqu'aux butees. Cliquez une fois fait." #MSG_HOMEYZ_DONE "Calibration done" @@ -168,7 +168,7 @@ # "Copy selected language?" -"Copier la langue selectionne ?" +"Copier la langue selectionne?" #MSG_CRASHDETECT_ON "Crash det. [on]" @@ -188,7 +188,7 @@ # "Crash detected. Resume print?" -"Crash detecte. Poursuivre l'impression ?" +"Crash detecte. Poursuivre l'impression?" # "Crash" @@ -200,7 +200,7 @@ #MSG_DATE c=17 r=1 "Date:" -"Date :" +"Date:" #MSG_DISABLE_STEPPERS "Disable steppers" @@ -212,7 +212,7 @@ #MSG_WIZARD_REPEAT_V2_CAL c=20 r=7 "Do you want to repeat last step to readjust distance between nozzle and heatbed?" -"Voulez-vous repeter la derniere etape pour reajuster la distance entre la buse et le plateau chauffant ?" +"Voulez-vous repeter la derniere etape pour reajuster la distance entre la buse et le plateau chauffant?" #MSG_EXTRUDER_CORRECTION c=10 "E-correct:" @@ -220,15 +220,15 @@ #MSG_EJECT_FILAMENT c=17 r=1 "Eject filament" -"Ejecter le fil." +"Remonter le fil." # "Eject" -"Ejecter" +"Remonter" #MSG_EJECTING_FILAMENT c=20 r=1 "Ejecting filament" -"Ejection filament" +"Le fil. remonte" #MSG_SELFTEST_ENDSTOP_NOTHIT c=20 r=1 "Endstop not hit" @@ -248,11 +248,11 @@ #MSG_FSENS_NOT_RESPONDING c=20 r=4 "ERROR: Filament sensor is not responding, please check connection." -"ERREUR : Le capteur de filament ne repond pas, verifiez le branchement." +"ERREUR: Le capteur de filament ne repond pas, verifiez le branchement." #MSG_ERROR "ERROR:" -"ERREUR :" +"ERREUR:" #MSG_SELFTEST_EXTRUDER_FAN_SPEED c=18 "Extruder fan:" @@ -268,23 +268,23 @@ # "Fail stats MMU" -"Stat. echecs MMU" +"Stat. d'echec MMU" #MSG_FSENS_AUTOLOAD_ON c=17 r=1 "F. autoload [on]" -"ChargAuto f. [on]" +"Autochargeur [on]" #MSG_FSENS_AUTOLOAD_NA c=17 r=1 "F. autoload [N/A]" -"AutoCharg F [N/A]" +"Autochargeur[N/A]" #MSG_FSENS_AUTOLOAD_OFF c=17 r=1 "F. autoload [off]" -"AutoCharg F [off]" +"Autochargeur[off]" # "Fail stats" -"Statist. d'echec" +"Stat. d'echec" #MSG_FAN_SPEED c=14 "Fan speed" @@ -292,15 +292,15 @@ #MSG_SELFTEST_FAN c=20 "Fan test" -"Test ventilateur" +"Test du ventilateur" #MSG_FANS_CHECK_ON c=17 r=1 "Fans check [on]" -"Verif ventilo[on]" +"Verif vent. [on]" #MSG_FANS_CHECK_OFF c=17 r=1 "Fans check [off]" -"Verif venti [off]" +"Verif vent. [off]" #MSG_FSENSOR_ON "Fil. sensor [on]" @@ -308,7 +308,7 @@ #MSG_FSENSOR_NA "Fil. sensor [N/A]" -"Capteur Fil. [N/A]" +"Capteur Fil.[N/A]" #MSG_FSENSOR_OFF "Fil. sensor [off]" @@ -320,7 +320,7 @@ #MSG_FILAMENT_CLEAN c=20 r=2 "Filament extruding & with correct color?" -"Filament extrude et avec bonne couleur ?" +"Filament extrude et avec bonne couleur?" #MSG_NOT_LOADED c=19 "Filament not loaded" @@ -340,11 +340,11 @@ #MSG_FILE_INCOMPLETE c=20 r=2 "File incomplete. Continue anyway?" -"Fichier incomplet. Continuer qd meme ?" +"Fichier incomplet. Continuer qd meme?" #MSG_FINISHING_MOVEMENTS c=20 r=1 "Finishing movements" -"Mouvements de fin" +"Mouvement final" #MSG_V2_CALIBRATION c=17 r=1 "First layer cal." @@ -352,11 +352,11 @@ #MSG_WIZARD_SELFTEST c=20 r=8 "First, I will run the selftest to check most common assembly problems." -"D'abord, je vais lancer le Selftest pour verifier les problemes d'assemblage les plus communs." +"D'abord, je vais lancer le Auto-test pour verifier les problemes d'assemblage les plus communs." # "Fix the issue and then press button on MMU unit." -"Corrigez le probleme et appuyez sur le bouton de l'unite MMU." +"Corrigez le probleme et appuyez sur le bouton sur la MMU." #MSG_FLOW "Flow" @@ -368,7 +368,7 @@ #MSG_SELFTEST_COOLING_FAN c=20 "Front print fan?" -"Ventilo impr avant ?" +"Ventilo impr avant?" #MSG_BED_CORRECTION_FRONT c=14 r=1 "Front side[um]" @@ -384,7 +384,7 @@ #MSG_BED_HEATING_SAFETY_DISABLED "Heating disabled by safety timer." -"Chauffe desactivee par le compteur de securite." +"Chauffage desactivee par le compteur de securite." #MSG_HEATING_COMPLETE c=20 "Heating done." @@ -396,7 +396,7 @@ #MSG_WIZARD_WELCOME c=20 r=7 "Hi, I am your Original Prusa i3 printer. Would you like me to guide you through the setup process?" -"Bonjour, je suis votre imprimante Original Prusa i3. Voulez-vous que je vous guide a travers le processus d'installation ?" +"Bonjour, je suis votre imprimante Original Prusa i3. Voulez-vous que je vous guide a travers le processus d'installation?" #MSG_PRUSA3D_HOWTO "howto.prusa3d.com" @@ -420,11 +420,11 @@ #MSG_SELFTEST_CHECK_ENDSTOPS c=20 "Checking endstops" -"Verifications butees" +"Verification butees" #MSG_SELFTEST_CHECK_HOTEND c=20 "Checking hotend " -"Verif. tete impr." +"Verif. du hotend" #MSG_SELFTEST_CHECK_FSENSOR c=20 "Checking sensors " @@ -444,11 +444,11 @@ #MSG_CHOOSE_EXTRUDER c=20 r=1 "Choose extruder:" -"Choisir extrudeur :" +"Choisir extrudeur:" #MSG_CHOOSE_FILAMENT c=20 r=1 "Choose filament:" -"Choix du filament :" +"Choix du filament:" #MSG_FILAMENT c=17 r=1 "Filament" @@ -456,11 +456,11 @@ #MSG_WIZARD_XYZ_CAL c=20 r=8 "I will run xyz calibration now. It will take approx. 12 mins." -"Je vais maintenant lancer la calibration xyz. Cela prendra 12 min environ." +"Je vais maintenant lancer la calibration XYZ. Cela prendra 12 min environ." #MSG_WIZARD_Z_CAL c=20 r=8 "I will run z calibration now." -"Je vais maintenant lancer la calibration z." +"Je vais maintenant lancer la calibration Z." #MSG_WIZARD_V2_CAL_2 c=20 r=12 "I will start to print line and you will gradually lower the nozzle by rotating the knob, until you reach optimal height. Check the pictures in our handbook in chapter Calibration." @@ -472,7 +472,7 @@ # "Is filament 1 loaded?" -"Le filament 1 est-il charge ?" +"Fil.1 est-il charge?" #MSG_INSERT_FILAMENT c=20 "Insert filament" @@ -480,27 +480,27 @@ #MSG_WIZARD_FILAMENT_LOADED c=20 r=2 "Is filament loaded?" -"Le filament est-il charge ?" +"Fil. est-il charge?" #MSG_WIZARD_PLA_FILAMENT c=20 r=2 "Is it PLA filament?" -"Est-ce du filament PLA ?" +"Est-ce du filament PLA?" #MSG_PLA_FILAMENT_LOADED c=20 r=2 "Is PLA filament loaded?" -"Le filament PLA est-il charge ?" +"Fil. PLA est-il charge?" #MSG_STEEL_SHEET_CHECK c=20 r=2 "Is steel sheet on heatbed?" -"Feuille d'acier sur plateau chauffant ?" +"Plaque d'impression sur le lit chauffant?" # "Last print failures" -"Echecs derniere impr" +"Echecs derniere imp." # "Last print" -"Derniere impression" +"Derniere impres." #MSG_SELFTEST_EXTRUDER_FAN c=20 "Left hotend fan?" @@ -520,7 +520,7 @@ #MSG_BABYSTEP_Z "Live adjust Z" -"Ajuster Z en direct" +"Ajuster Z en dir." #MSG_LOAD_FILAMENT c=17 "Load filament" @@ -528,11 +528,11 @@ #MSG_LOADING_COLOR "Loading color" -"Chargement couleur" +"Charg. de la couleur" #MSG_LOADING_FILAMENT c=20 "Loading filament" -"Chargement filament" +"Chargement du fil." #MSG_LOOSE_PULLEY c=20 r=1 "Loose pulley" @@ -540,7 +540,7 @@ # "Load to nozzle" -"Charger dans la buse" +"Charger la buse" #MSG_M117_V2_CALIBRATION c=25 r=1 "M117 First layer cal." @@ -548,7 +548,7 @@ #MSG_MAIN "Main" -"Principal" +"Menu principal" #MSG_MEASURE_BED_REFERENCE_HEIGHT_LINE1 c=60 "Measuring reference height of calibration point" @@ -564,15 +564,15 @@ #MSG_MMU_OK_RESUMING_TEMPERATURE c=20 r=4 "MMU OK. Resuming temperature..." -"MMU OK. Remontee en temperature..." +"MMU OK. Rechauffage de la buse..." # "Measured skew" -"Deviation mesuree" +"Deviat.mesuree" # "MMU fails" -"Echec MMU" +"Echecs MMU" # "MMU load failed " @@ -592,7 +592,7 @@ #MSG_SILENT_MODE_ON "Mode [silent]" -"Mode [silencieux]" +"Mode [feutre]" # "MMU needs user attention." @@ -604,7 +604,7 @@ #MSG_STEALTH_MODE_ON "Mode [Stealth]" -"Mode [Furtif]" +"Mode [furtif]" #MSG_AUTO_MODE_ON "Mode [auto power]" @@ -684,7 +684,7 @@ # "Now remove the test print from steel sheet." -"Retirez maintenant l'impression de test de la feuille d'acier." +"Retirez maintenant l'impression de test de la plaque en acier." # "Nozzle FAN" @@ -716,7 +716,7 @@ #MSG_WIZARD_CLEAN_HEATBED c=20 r=8 "Please clean heatbed and then press the knob." -"Nettoyez le plateau chauffant et appuyez sur le bouton." +"Nettoyez la plaque en acier et appuyez sur le bouton." #MSG_CONFIRM_NOZZLE_CLEAN c=20 r=8 "Please clean the nozzle for calibration. Click when done." @@ -724,11 +724,11 @@ #MSG_SELFTEST_PLEASECHECK "Please check :" -"Verifiez :" +"Verifiez:" #MSG_WIZARD_CALIBRATION_FAILED c=20 r=8 "Please check our handbook and fix the problem. Then resume the Wizard by rebooting the printer." -"Merci de verifier notre manuel et de corriger le probleme. Poursuivez alors l'assistant en redemarrant l'imprimante." +"Merci de consulter notre manuel et de corriger le probleme. Poursuivez alors l'assistant en redemarrant l'imprimante." #MSG_WIZARD_LOAD_FILAMENT c=20 r=8 "Please insert PLA filament to the extruder, then press knob to load it." @@ -744,7 +744,7 @@ #MSG_PLACE_STEEL_SHEET c=20 r=4 "Please place steel sheet on heatbed." -"Placez la feuille d'acier sur le plateau chauffant." +"Placez la plaque en acier sur le plateau chauffant." #MSG_PRESS_TO_UNLOAD c=20 r=4 "Please press the knob to unload filament" @@ -752,7 +752,7 @@ # "Please insert PLA filament to the first tube of MMU, then press the knob to load it." -"Veuillez inserer du filament PLA dans le premier tube du MMU, et pressez sur le bouton pour le charger." +"Inserez du PLA dans le 1er tube du MMU, appuyez sur le bouton pour le charger." #MSG_PULL_OUT_FILAMENT c=20 r=4 "Please pull out filament immediately" @@ -764,7 +764,7 @@ #MSG_REMOVE_STEEL_SHEET c=20 r=4 "Please remove steel sheet from heatbed." -"Retirez la feuille d'acier du plateau chauffant." +"Retirez la plaque en acier du plateau chauffant." #MSG_RUN_XYZ c=20 r=4 "Please run XYZ calibration first." @@ -780,7 +780,7 @@ # "Please remove shipping helpers first." -"Veuillez retirer d'abord les protections d'envoi." +"Retirez d'abord les protections de transport." #MSG_PREHEAT_NOZZLE c=20 "Preheat the nozzle!" @@ -810,21 +810,21 @@ "Print aborted" "Impression annulee" -# +# c=20 r=1 "Preheating to load" "Chauffe pour charger" -# +# c=20 r=1 "Preheating to unload" -"Chauffe pr decharger" +"Chauf.pour decharger" #MSG_SELFTEST_PRINT_FAN_SPEED c=18 "Print fan:" -"Vent.impr:" +"Vent. impr:" #MSG_CARD_MENU "Print from SD" -"Impr depuis la SD" +"Impr. depuis la SD" # "Press the knob" @@ -836,7 +836,7 @@ # "Press the knob to resume nozzle temperature." -"Appuyez sur le bouton pour poursuivre la mise en temperature de la buse." +"Appuyez sur le bouton pour rechauffer la buse." #MSG_FOLLOW_CALIBRATION_FLOW c=20 r=8 "Printer has not been calibrated yet. Please follow the manual, chapter First steps, section Calibration flow." @@ -844,7 +844,7 @@ # "Print FAN" -"Vent.impr" +"Vent. impr" #MSG_PRUSA3D "prusa3d.com" @@ -868,7 +868,7 @@ #MSG_CALIBRATE_BED_RESET "Reset XYZ calibr." -"Reinit.calibr. XYZ" +"Reinit. calib. XYZ" #MSG_BED_CORRECTION_RESET "Reset" @@ -896,7 +896,7 @@ #MSG_WIZARD_RERUN c=20 r=7 "Running Wizard will delete current calibration results and start from the beginning. Continue?" -"Lancer l'Assistant supprimera les resultats actuels de calibration et commencera du debut. Continuer ?" +"Lancement de l'Assistant supprimera les resultats actuels de calibration et commencera du debut. Continuer?" #MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY_OFF c=19 r=1 "SD card [normal]" @@ -904,7 +904,7 @@ #MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY_ON c=19 r=1 "SD card [flshAir]" -"CarteSD[flashAir]" +"CarteSD [flshAir]" # "Right" @@ -932,7 +932,7 @@ #MSG_SELFTEST_ERROR "Selftest error !" -"Erreur auto-test !" +"Erreur auto-test!" #MSG_SELFTEST_FAILED c=20 "Selftest failed " @@ -948,11 +948,11 @@ # "Select PLA filament:" -"Selectionnez le filament PLA :" +"Selectionnez le fil. PLA:" #MSG_SET_TEMPERATURE c=19 r=1 "Set temperature:" -"Regler temp. :" +"Regler temp.:" #MSG_SETTINGS "Settings" @@ -979,8 +979,8 @@ "Tri [heure]" # -"Severe skew" -"Deviat.sev." +"Severe skew:" +"Deviat.sev.:" #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" @@ -995,8 +995,8 @@ "Son [fort]" # -"Slight skew" -"Deviat.leg." +"Slight skew:" +"Deviat.leg.:" #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" @@ -1004,7 +1004,7 @@ # "Some problem encountered, Z-leveling enforced ..." -"Problemes rencontres, nivellement de l'axe Z applique..." +"Probleme rencontre, cliquez sur le bouton pour niveller l'axe Z..." #MSG_SOUND_ONCE c=17 r=1 "Sound [once]" @@ -1012,7 +1012,7 @@ #MSG_SOUND_SILENT c=17 r=1 "Sound [silent]" -"Son [silencieux]" +"Son [feutre]" #MSG_SPEED "Speed" @@ -1080,7 +1080,7 @@ #MSG_FOLLOW_Z_CALIBRATION_FLOW c=20 r=4 "There is still a need to make Z calibration. Please follow the manual, chapter First steps, section Calibration flow." -"Il y a encore besoin d'effectuer la calibration Z. Veuillez suivre le manuel, chapitre Premiers pas, section Processus de calibration." +"Il faut toujours effectuer la Calibration Z. Veuillez suivre le manuel, chapitre Premiers pas, section Processus de calibration." # "Total filament" @@ -1148,23 +1148,23 @@ # "Use unload to remove filament 1 if it protrudes outside of the rear MMU tube. Use eject if it is hidden in tube." -"Utilisez decharger pour retirer le filament 1 s'il depasse du tube arriere du MMU. Utilisez ejecter s'il est cache dans le tube." +"Utilisez Remonter le fil. pour retirer le filament 1 s'il depasse du tube arriere du MMU. Utilisez ejecter s'il est cache dans le tube." #MSG_CHANGED_BOTH c=20 r=4 "Warning: both printer type and motherboard type changed." -"Attention : Types d'imprimante et de carte mere modifies" +"Attention: Types d'imprimante et de carte mere modifies" #MSG_CHANGED_MOTHERBOARD c=20 r=4 "Warning: motherboard type changed." -"Attention : Type de carte mere modifie." +"Attention: Type de carte mere modifie." #MSG_CHANGED_PRINTER c=20 r=4 "Warning: printer type changed." -"Attention : Type d'imprimante modifie" +"Attention: Type d'imprimante modifie" #MSG_UNLOAD_SUCCESSFUL c=20 r=2 "Was filament unload successful?" -"Dechargement du filament reussi ?" +"Dechargement du filament reussi?" #MSG_SELFTEST_WIRINGERROR "Wiring error" @@ -1188,7 +1188,7 @@ #MSG_WIZARD_QUIT c=20 r=8 "You can always resume the Wizard from Calibration -> Wizard." -"Vous pouvez toujours relancer l'assistant dans Calibration-> Assistant." +"Vous pouvez toujours relancer l'Assistant dans Calibration > Assistant." #MSG_BED_SKEW_OFFSET_DETECTION_SKEW_EXTREME c=20 r=8 "XYZ calibration all right. Skew will be corrected automatically." @@ -1196,7 +1196,7 @@ #MSG_BED_SKEW_OFFSET_DETECTION_SKEW_MILD c=20 r=8 "XYZ calibration all right. X/Y axes are slightly skewed. Good job!" -"Calibration XYZ OK. Les axes X/Y sont legerement non perpendiculaires. Bon boulot !" +"Calibration XYZ OK. Les axes X/Y sont legerement non perpendiculaires. Bon boulot!" # "X-correct:" @@ -1204,11 +1204,11 @@ #MSG_BED_SKEW_OFFSET_DETECTION_PERFECT c=20 r=8 "XYZ calibration ok. X/Y axes are perpendicular. Congratulations!" -"Calibration XYZ OK. Les axes X/Y sont perpendiculaires. Felicitations !" +"Calibration XYZ OK. Les axes X/Y sont perpendiculaires. Felicitations!" #MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_BOTH_FAR c=20 r=8 "XYZ calibration compromised. Front calibration points not reachable." -"Calibration XYZ compromise. Les points de calibration avant ne sont pas atteignables." +"Calibration XYZ compromise. Les points de calibration en avant ne sont pas atteignables." #MSG_BED_SKEW_OFFSET_DETECTION_WARNING_FRONT_RIGHT_FAR c=20 r=8 "XYZ calibration compromised. Right front calibration point not reachable." @@ -1216,7 +1216,7 @@ #MSG_LOAD_ALL c=17 "Load all" -"Tout charger" +"Charger un par un" # "XYZ calibration failed. Bed calibration point was not found." @@ -1224,7 +1224,7 @@ # "XYZ calibration failed. Front calibration points not reachable." -"Echec calibration XYZ. Les points de calibration avant ne sont pas atteignables." +"Echec calibration XYZ. Les points de calibration en avant ne sont pas atteignables." # "XYZ calibration failed. Right front calibration point not reachable." @@ -1280,15 +1280,15 @@ # "Magnets comp.[N/A]" -"Comp. aimants[N/A]" +"Compens. aim.[N/A]" # "Magnets comp.[Off]" -"Comp. aimants[Off]" +"Compens. aim.[off]" # "Magnets comp. [On]" -"Comp. aimants [On]" +"Compens. aim. [on]" # "Mesh [3x3]" @@ -1308,11 +1308,11 @@ # "MMU Mode [Normal]" -"Mode MMU [Normal]" +"Mode MMU [normal]" # "MMU Mode[Stealth]" -"Mode MMU [Furtif]" +"Mode MMU [feutre]" # "Mode change in progress ..." @@ -1368,7 +1368,7 @@ # "G-code sliced for a different printer type. Please re-slice the model again. Print cancelled." -"Le G-code a ete prepare pour une autre version de l'imprimante. Veuillez decouper le modele a nouveau. L'impression a ete annulee. " +"Le G-code a ete prepare pour une autre version de l'imprimante. Veuillez decouper le modele a nouveau. L'impression a ete annulee." # "G-code sliced for a newer firmware. Continue?" @@ -1376,27 +1376,27 @@ # "G-code sliced for a newer firmware. Please update the firmware. Print cancelled." -"Le G-code a ete prepare pour une version plus recente du firmware. Veuillez mettre a jour le firmware. L'impression annulee." +"Le G-code a ete prepare pour une version plus recente du firmware. Veuillez mettre a jour le firmware. L'impression annulee." # "PINDA:" "PINDA:" -# +# c=20 r=1 "Preheating to cut" -"Prechauffage pour couper" +"Chauffe pour couper" -# +# c=20 r=1 "Preheating to eject" -"Prechauffage pour ejecter" +"Chauf. pour remonter" # "Printer nozzle diameter differs from the G-code. Continue?" -"Diametre de la buse de l'imprimante different du G-Code. Continuer ?" +"Diametre de la buse dans les reglages ne correspond pas a celui dans le G-Code. Continuer?" # "Printer nozzle diameter differs from the G-code. Please check the value in settings. Print cancelled." -"Diametre de la buse de l'imprimante different du G-Code. Merci de verifier le parametre dans les reglages. Impression annulee." +"Diametre de la buse dans les reglages ne correspond pas a celui dans le G-Code. Merci de verifier le parametre dans les reglages. Impression annulee." # "Rename" @@ -1412,11 +1412,11 @@ # "Sheet" -"Feuille" +"Plaque" # "Sound [assist]" -"Son [Assist]" +"Son [assist]" # "Steel sheets" @@ -1428,8 +1428,13 @@ # "Z-probe nr. [1]" -"Sonde-Z num. [1]" +"Mesurer x-fois [1]" # "Z-probe nr. [3]" -"Sonde-Z num. [3]" +"Mesurer x-fois [3]" + +# +"Z-probe nr. [5]" +"Mesurer x-fois [5]" + diff --git a/lang/lang_en_it.txt b/lang/lang_en_it.txt index 0ee9dbec..9895e889 100755 --- a/lang/lang_en_it.txt +++ b/lang/lang_en_it.txt @@ -979,8 +979,8 @@ "Ordina [tempo]" # -"Severe skew" -"Devia.grave" +"Severe skew:" +"Devia.grave:" #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" @@ -995,8 +995,8 @@ "Suono [forte]" # -"Slight skew" -"Devia.lieve" +"Slight skew:" +"Devia.lieve:" #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" diff --git a/lang/lang_en_pl.txt b/lang/lang_en_pl.txt index 602775ff..36a0f396 100755 --- a/lang/lang_en_pl.txt +++ b/lang/lang_en_pl.txt @@ -979,8 +979,8 @@ "Sortowanie [czas]" # -"Severe skew" -"ZnacznySkos" +"Severe skew:" +"Znaczny skos:" #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" @@ -995,8 +995,8 @@ "Dzwiek [Glosny]" # -"Slight skew" -"Lekki skos" +"Slight skew:" +"Lekki skos:" #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" From 2541ceccc988af05779f44abcb4795215d6ab423 Mon Sep 17 00:00:00 2001 From: DRracer Date: Mon, 16 Sep 2019 16:20:19 +0200 Subject: [PATCH 2/7] PL translation tuning --- lang/lang_en_pl.txt | 69 +++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 33 deletions(-) diff --git a/lang/lang_en_pl.txt b/lang/lang_en_pl.txt index 36a0f396..e3d434d7 100755 --- a/lang/lang_en_pl.txt +++ b/lang/lang_en_pl.txt @@ -52,7 +52,7 @@ # "SpoolJoin [N/A]" -"SpoolJoin [nd]" +"SpoolJoin [N/D]" #MSG_AUTO_DEPLETE_OFF c=17 r=1 "SpoolJoin [off]" @@ -64,7 +64,7 @@ #MSG_AUTOLOAD_FILAMENT c=17 "AutoLoad filament" -"AutoLadowanie fil." +"Autoladowanie fil." #MSG_AUTOLOADING_ONLY_IF_FSENS_ON c=20 r=4 "Autoloading filament available only when filament sensor is turned on..." @@ -96,7 +96,7 @@ #MSG_BED_CORRECTION_MENU "Bed level correct" -"Korekta poziomowania stolu" +"Korekta stolu" #MSG_BED_LEVELING_FAILED_POINT_LOW c=20 r=4 "Bed leveling failed. Sensor didnt trigger. Debris on nozzle? Waiting for reset." @@ -176,7 +176,7 @@ #MSG_CRASHDETECT_NA "Crash det. [N/A]" -"Wykr.zderzen[n/d]" +"Wykr.zderzen[N/D]" #MSG_CRASHDETECT_OFF "Crash det. [off]" @@ -204,7 +204,7 @@ #MSG_DISABLE_STEPPERS "Disable steppers" -"Wylaczenie silnikow" +"Wylacz silniki" #MSG_BABYSTEP_Z_NOT_SET c=20 r=12 "Distance between tip of the nozzle and the bed surface has not been set yet. Please follow the manual, chapter First steps, section First layer calibration." @@ -256,11 +256,11 @@ #MSG_SELFTEST_EXTRUDER_FAN_SPEED c=18 "Extruder fan:" -"Went. ekstr:" +"WentHotend:" #MSG_INFO_EXTRUDER c=15 r=1 "Extruder info" -"Informacje o ekstruderze" +"Ekstruder - info" #MSG_MOVE_E "Extruder" @@ -272,7 +272,7 @@ #MSG_FSENS_AUTOLOAD_ON c=17 r=1 "F. autoload [on]" -"Autolad. fil [wl]" +"Autolad.fil. [wl]" #MSG_FSENS_AUTOLOAD_NA c=17 r=1 "F. autoload [N/A]" @@ -320,7 +320,7 @@ #MSG_FILAMENT_CLEAN c=20 r=2 "Filament extruding & with correct color?" -"Filament wychodzi z dyszy a kolor jest czysty?" +"Filament wychodzi z dyszy, kolor jest ok?" #MSG_NOT_LOADED c=19 "Filament not loaded" @@ -516,7 +516,7 @@ # "Lin. correction" -"Korekcja lin." +"Korekcja liniowa" #MSG_BABYSTEP_Z "Live adjust Z" @@ -604,7 +604,7 @@ #MSG_STEALTH_MODE_ON "Mode [Stealth]" -"Tryb [Stealth]" +"Tryb [cichy]" #MSG_AUTO_MODE_ON "Mode [auto power]" @@ -688,7 +688,7 @@ # "Nozzle FAN" -"Went. Hotend" +"WentHotend" #MSG_PAUSE_PRINT "Pause print" @@ -720,7 +720,7 @@ #MSG_CONFIRM_NOZZLE_CLEAN c=20 r=8 "Please clean the nozzle for calibration. Click when done." -"Dla prawidl. kalibracji nalezy oczyscic dysze. Potw. guzikiem." +"Dla prawidlowej kalibracji nalezy oczyscic dysze. Potwierdz guzikiem." #MSG_SELFTEST_PLEASECHECK "Please check :" @@ -820,7 +820,7 @@ #MSG_SELFTEST_PRINT_FAN_SPEED c=18 "Print fan:" -"Went.wydr:" +"WentWydruk:" #MSG_CARD_MENU "Print from SD" @@ -840,11 +840,11 @@ #MSG_FOLLOW_CALIBRATION_FLOW c=20 r=8 "Printer has not been calibrated yet. Please follow the manual, chapter First steps, section Calibration flow." -"Drukarka nie zostala jeszcze skalibrowana. Kieruj sie Samouczkiem: rozdzial Pierwsze Kroki, sekcja Konfiguracja przed drukowaniem." +"Drukarka nie byla jeszcze kalibrowana. Kieruj sie Samouczkiem: rozdzial Pierwsze Kroki, sekcja Konfiguracja przed drukowaniem." # "Print FAN" -"Went.wydr" +"WentWydruk" #MSG_PRUSA3D "prusa3d.com" @@ -924,7 +924,7 @@ #MSG_SELFTEST_START c=20 "Self test start " -"Rozpoczynanie Selftestu" +"Selftest startuje" #MSG_SELFTEST "Selftest " @@ -932,7 +932,7 @@ #MSG_SELFTEST_ERROR "Selftest error !" -"Blad selftest !" +"Blad selftest!" #MSG_SELFTEST_FAILED c=20 "Selftest failed " @@ -952,7 +952,7 @@ #MSG_SET_TEMPERATURE c=19 r=1 "Set temperature:" -"Ustaw. temperatury:" +"Ustaw temperature:" #MSG_SETTINGS "Settings" @@ -984,7 +984,7 @@ #MSG_SORT_ALPHA c=17 r=1 "Sort [alphabet]" -"Sortowan[alfabet]" +"Sortowanie[alfab]" #MSG_SORTING c=20 r=1 "Sorting files" @@ -992,7 +992,7 @@ #MSG_SOUND_LOUD c=17 r=1 "Sound [loud]" -"Dzwiek [Glosny]" +"Dzwiek [glosny]" # "Slight skew:" @@ -1000,11 +1000,11 @@ #MSG_SOUND_MUTE c=17 r=1 "Sound [mute]" -"Dzwiek[Wylaczony]" +"Dzwiek[wylaczony]" # "Some problem encountered, Z-leveling enforced ..." -"Wykryto problem, wymuszono poziomowanie osi Z ..." +"Wykryto problem, wymuszono poziomowanie osi Z." #MSG_SOUND_ONCE c=17 r=1 "Sound [once]" @@ -1012,7 +1012,7 @@ #MSG_SOUND_SILENT c=17 r=1 "Sound [silent]" -"Dzwiek [Cichy]" +"Dzwiek [cichy]" #MSG_SPEED "Speed" @@ -1084,11 +1084,11 @@ # "Total filament" -"Calkowita dlugosc filamentu" +"Zuzycie filamentu" # "Total print time" -"Calkowity czas druku" +"Laczny czas druku" #MSG_TUNE "Tune" @@ -1280,7 +1280,7 @@ # "Magnets comp.[N/A]" -"Kor. magnesow [nd]" +"Kor. magnesow[N/D]" # "Magnets comp.[Off]" @@ -1300,7 +1300,7 @@ # "Mesh bed leveling" -"Poziomowanie wg siatki" +"Poziomowanie stolu" # "MK3S firmware detected on MK3 printer" @@ -1413,10 +1413,9 @@ # "Sheet" "Plyta" - # -"Sound [assist]" -"Dzwiek [asyst.]" +"Sound [assist]" +"Dzwiek [asyst.]" # "Steel sheets" @@ -1428,8 +1427,12 @@ # "Z-probe nr. [1]" -"Pomiar-Z [1]" +"Ilosc Pomiarow [1]" # "Z-probe nr. [3]" -"Pomiar-Z [3]" +"Ilosc Pomiarow [3]" + +# +"Z-probe nr. [5]" +"Ilosc Pomiarow [5]" From 96012784fd754a9423d48af4bc5c50c01e5adea4 Mon Sep 17 00:00:00 2001 From: DRracer Date: Tue, 17 Sep 2019 16:30:40 +0200 Subject: [PATCH 3/7] Fine tuning German translation --- lang/lang_en_de.txt | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/lang/lang_en_de.txt b/lang/lang_en_de.txt index 00d48eca..b2f63cf0 100755 --- a/lang/lang_en_de.txt +++ b/lang/lang_en_de.txt @@ -64,7 +64,7 @@ #MSG_AUTOLOAD_FILAMENT c=17 "AutoLoad filament" -"Auto-Laden Filament" +"AutoLaden Filament" #MSG_AUTOLOADING_ONLY_IF_FSENS_ON c=20 r=4 "Autoloading filament available only when filament sensor is turned on..." @@ -320,7 +320,7 @@ #MSG_FILAMENT_CLEAN c=20 r=2 "Filament extruding & with correct color?" -"Filament extrudiert + richtige Farbe?" +"Filament extrudiert mit richtiger Farbe?" #MSG_NOT_LOADED c=19 "Filament not loaded" @@ -556,11 +556,11 @@ #MSG_MESH_BED_LEVELING "Mesh Bed Leveling" -"Mesh Bett Ausgleich" +"MeshBett Ausgleich" #MSG_MMU_OK_RESUMING_POSITION c=20 r=4 "MMU OK. Resuming position..." -"MMU OK. Position wiederherstellen... " +"MMU OK. Position wiederherstellen..." #MSG_MMU_OK_RESUMING_TEMPERATURE c=20 r=4 "MMU OK. Resuming temperature..." @@ -828,7 +828,7 @@ # "Press the knob" -"Knopf druecken" +"Knopf druecken zum" #MSG_PRINT_PAUSED c=20 r=1 "Print paused" @@ -844,7 +844,7 @@ # "Print FAN" -"Druckvent" +"Druckvent." #MSG_PRUSA3D "prusa3d.com" @@ -868,7 +868,7 @@ #MSG_CALIBRATE_BED_RESET "Reset XYZ calibr." -"XYZ Kalibr. zuruecksetzen." +"Reset XYZ Kalibr." #MSG_BED_CORRECTION_RESET "Reset" @@ -936,7 +936,7 @@ #MSG_SELFTEST_FAILED c=20 "Selftest failed " -"Selbsttest misslang " +"Selbsttest Error " #MSG_FORCE_SELFTEST c=20 r=8 "Selftest will be run to calibrate accurate sensorless rehoming." @@ -1104,11 +1104,11 @@ # "to load filament" -"zum Filament laden" +"Filament laden" # "to unload filament" -"zum Filament entladen" +"Filament entladen" #MSG_UNLOAD_FILAMENT c=17 "Unload filament" @@ -1249,7 +1249,7 @@ # "Checks" -"\x00" +"Kontrolle" # "False triggering" @@ -1265,11 +1265,11 @@ # "Firmware [strict]" -"Firmware [streng]" +"Firmware [strikt]" # "Firmware [warn]" -"\x00" +"Firmware [warnen]" # "HW Setup" @@ -1293,15 +1293,15 @@ # "Mesh [3x3]" -"\x00" +"Gitter [3x3]" # "Mesh [7x7]" -"\x00" +"Gitter [7x7]" # "Mesh bed leveling" -"Mesh Bett Ausgleich" +"MeshBett Ausgleich" # "MK3S firmware detected on MK3 printer" @@ -1325,11 +1325,11 @@ # "Model [strict]" -"Modell [streng]" +"Modell [strikt]" # "Model [warn]" -"Modell [warn]" +"Modell [warnen]" # "Nozzle d. [0.25]" @@ -1349,11 +1349,11 @@ # "Nozzle [strict]" -"Duese [streng]" +"Duese [strikt]" # "Nozzle [warn]" -"Duese [warn]" +"Duese [warnen]" # "G-code sliced for a different level. Continue?" @@ -1434,3 +1434,7 @@ # "Z-probe nr. [3]" "Z-Probe Nr. [3]" + +# +"Z-probe nr. [5]" +"Z-Probe Nr. [5]" From 14933f6b0e26894789af1284ad1b529f65a9e508 Mon Sep 17 00:00:00 2001 From: DRracer Date: Tue, 17 Sep 2019 16:50:51 +0200 Subject: [PATCH 4/7] Fix. Sound [assist], Z-probe [5], menu_fmt_float13off format for last string parameter from PROGMEM --- Firmware/menu.cpp | 2 +- lang/lang_en_cz.txt | 8 ++++++-- lang/lang_en_de.txt | 4 ++-- lang/lang_en_es.txt | 8 ++++++-- lang/lang_en_fr.txt | 4 ++-- lang/lang_en_it.txt | 8 ++++++-- 6 files changed, 23 insertions(+), 11 deletions(-) diff --git a/Firmware/menu.cpp b/Firmware/menu.cpp index bb721dba..35219102 100755 --- a/Firmware/menu.cpp +++ b/Firmware/menu.cpp @@ -399,7 +399,7 @@ const char menu_fmt_float31[] PROGMEM = "%-12.12S%+8.1f"; const char menu_fmt_float13[] PROGMEM = "%c%-13.13S%+5.3f"; -const char menu_fmt_float13off[] PROGMEM = "%c%-13.13S%6.6s"; +const char menu_fmt_float13off[] PROGMEM = "%c%-13.13S%6.6S"; template static void menu_draw_P(char chr, const char* str, int16_t val); diff --git a/lang/lang_en_cz.txt b/lang/lang_en_cz.txt index 8d8bed55..2b5c5540 100755 --- a/lang/lang_en_cz.txt +++ b/lang/lang_en_cz.txt @@ -1415,8 +1415,8 @@ "Plat" # -"Sound [assist]" -"Zvuk [Asist.]" +"Sound [assist]" +"Zvuk [Asist.]" # "Steel sheets" @@ -1433,3 +1433,7 @@ # "Z-probe nr. [3]" "Pocet mereni Z [3]" + +# +"Z-probe nr. [5]" +"Pocet mereni Z [5]" diff --git a/lang/lang_en_de.txt b/lang/lang_en_de.txt index b2f63cf0..266d3c26 100755 --- a/lang/lang_en_de.txt +++ b/lang/lang_en_de.txt @@ -1416,8 +1416,8 @@ "Blech" # -"Sound [assist]" -"Sound [Assist]" +"Sound [assist]" +"Sound [Assist]" # "Steel sheets" diff --git a/lang/lang_en_es.txt b/lang/lang_en_es.txt index bcf3794a..d2a99c72 100755 --- a/lang/lang_en_es.txt +++ b/lang/lang_en_es.txt @@ -1415,8 +1415,8 @@ "Lamina" # -"Sound [assist]" -"Sonido [asistido]" +"Sound [assist]" +"Sonido [asistido]" # "Steel sheets" @@ -1433,3 +1433,7 @@ # "Z-probe nr. [3]" "Z-sensor nr. [3]" + +# +"Z-probe nr. [5]" +"Z-sensor nr. [5]" diff --git a/lang/lang_en_fr.txt b/lang/lang_en_fr.txt index 3f53ff9a..5a33f9b5 100755 --- a/lang/lang_en_fr.txt +++ b/lang/lang_en_fr.txt @@ -1415,8 +1415,8 @@ "Plaque" # -"Sound [assist]" -"Son [assist]" +"Sound [assist]" +"Son [assist]" # "Steel sheets" diff --git a/lang/lang_en_it.txt b/lang/lang_en_it.txt index 9895e889..2a7277d4 100755 --- a/lang/lang_en_it.txt +++ b/lang/lang_en_it.txt @@ -1415,8 +1415,8 @@ "Piano" # -"Sound [assist]" -"Suono [assistito]" +"Sound [assist]" +"Suono [assistito]" # "Steel sheets" @@ -1433,3 +1433,7 @@ # "Z-probe nr. [3]" "Z-probe nr. [3]" + +# +"Z-probe nr. [5]" +"Z-probe nr. [5]" From e7273ea50522d3fb52c0bfeac3d608305e41b023 Mon Sep 17 00:00:00 2001 From: DRracer Date: Wed, 18 Sep 2019 12:49:44 +0200 Subject: [PATCH 5/7] Fix [French translation] Wrong display during mesh bed calibration #2218 minor code/doc improvements --- Firmware/ultralcd.cpp | 21 ++++++++++++++------- lang/lang_en_fr.txt | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 26d78b64..ec36acef 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -1674,9 +1674,12 @@ static void lcd_cooldown() //! It would have been much easier if there was a ':' in the labels. //! But since the texts like Bed, Nozzle and PINDA are used in other places //! it is better to reuse these texts even though it requires some extra formatting code. +//! @param [in] ipgmLabel pointer to string in PROGMEM +//! @param [out] pointer to string in RAM which will receive the formatted text. Must be allocated to appropriate size +//! @param [in] dstSize allocated length of dst static void pgmtext_with_colon(const char *ipgmLabel, char *dst, uint8_t dstSize){ uint8_t i = 0; - for(; i < dstSize - 2; ++i){ // 1 byte less than buffer, we'd be adding a ':' to the end + for(; i < dstSize - 2; ++i){ // 2 byte less than buffer, we'd be adding a ':' to the end uint8_t b = pgm_read_byte(ipgmLabel + i); if( ! b ) break; @@ -1686,7 +1689,7 @@ static void pgmtext_with_colon(const char *ipgmLabel, char *dst, uint8_t dstSize ++i; for(; i < dstSize - 1; ++i) // fill the rest with spaces dst[i] = ' '; - dst[dstSize-1] = 0; // terminate the string properly + dst[dstSize-1] = '\0'; // terminate the string properly } void lcd_menu_extruder_info() // NOT static due to using inside "Marlin_main" module ("manage_inactivity()") @@ -1701,9 +1704,10 @@ void lcd_menu_extruder_info() // NOT static due to using ins // Display Nozzle fan RPM lcd_timeoutToStatus.stop(); //infinite timeout lcd_home(); - char nozzle[12], print[12]; - pgmtext_with_colon(_i("Nozzle FAN"), nozzle, 12); - pgmtext_with_colon(_i("Print FAN"), print, 12); + static const size_t maxChars = 12; + char nozzle[maxChars], print[maxChars]; + pgmtext_with_colon(_i("Nozzle FAN"), nozzle, maxChars); + pgmtext_with_colon(_i("Print FAN"), print, maxChars); lcd_printf_P(_N("%s %4d RPM\n" "%s %4d RPM\n"), nozzle, 60*fan_speed[0], print, 60*fan_speed[1] ); #ifdef PAT9125 @@ -1888,9 +1892,12 @@ static void lcd_menu_debug() #endif /* DEBUG_BUILD */ //! @brief common line print for lcd_menu_temperatures +//! @param [in] ipgmLabel pointer to string in PROGMEM +//! @param [in] value to be printed behind the label static void lcd_menu_temperatures_line(const char *ipgmLabel, int value){ - char tmp[15]; - pgmtext_with_colon(ipgmLabel, tmp, 15); + static const size_t maxChars = 15; + char tmp[maxChars]; + pgmtext_with_colon(ipgmLabel, tmp, maxChars); lcd_printf_P(PSTR(" %s%3d\x01 \n"), tmp, value); // no need to add -14.14 to string alignment } static void lcd_menu_temperatures() diff --git a/lang/lang_en_fr.txt b/lang/lang_en_fr.txt index 5a33f9b5..d3256935 100755 --- a/lang/lang_en_fr.txt +++ b/lang/lang_en_fr.txt @@ -136,7 +136,7 @@ #MSG_CALIBRATE_Z_AUTO c=20 r=2 "Calibrating Z" -"Calibration de Z" +"Calibration Z" #MSG_MOVE_CARRIAGE_TO_THE_TOP_Z c=20 r=8 "Calibrating Z. Rotate the knob to move the Z carriage up to the end stoppers. Click when done." From bcf8774fd5f0f7d7ec6908122b327dee8cdb6fa6 Mon Sep 17 00:00:00 2001 From: DRracer Date: Wed, 18 Sep 2019 14:55:23 +0200 Subject: [PATCH 6/7] EN, IT, ES fixes Sound [assist] should work now ES, IT preliminary updates --- lang/lang_en.txt | 2 +- lang/lang_en_es.txt | 10 +++++----- lang/lang_en_it.txt | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lang/lang_en.txt b/lang/lang_en.txt index a39ae94b..7661c3b8 100755 --- a/lang/lang_en.txt +++ b/lang/lang_en.txt @@ -1061,7 +1061,7 @@ "Sheet" # -"Sound [assist]" +"Sound [assist]" # "Steel sheets" diff --git a/lang/lang_en_es.txt b/lang/lang_en_es.txt index d2a99c72..feba1a0d 100755 --- a/lang/lang_en_es.txt +++ b/lang/lang_en_es.txt @@ -24,7 +24,7 @@ #MSG_BABYSTEPPING_Z c=15 "Adjusting Z:" -"Ajustando Z:" +"Ajustar-Z:" #MSG_SELFTEST_CHECK_ALLCORRECT c=20 "All correct " @@ -216,7 +216,7 @@ #MSG_EXTRUDER_CORRECTION c=10 "E-correct:" -"Correccion-E:" +"Corregir-E:" #MSG_EJECT_FILAMENT c=17 r=1 "Eject filament" @@ -1200,7 +1200,7 @@ # "X-correct:" -"Correccion-X:" +"Corregir-X:" #MSG_BED_SKEW_OFFSET_DETECTION_PERFECT c=20 r=8 "XYZ calibration ok. X/Y axes are perpendicular. Congratulations!" @@ -1236,7 +1236,7 @@ # "Y-correct:" -"Correccion-Y:" +"Corregir-Y:" #MSG_OFF " [off]" @@ -1424,7 +1424,7 @@ # "Z-correct:" -"Correccion-Z:" +"Corregir-Z:" # "Z-probe nr. [1]" diff --git a/lang/lang_en_it.txt b/lang/lang_en_it.txt index 2a7277d4..bbb9fefc 100755 --- a/lang/lang_en_it.txt +++ b/lang/lang_en_it.txt @@ -108,7 +108,7 @@ #MSG_MENU_BELT_STATUS c=15 r=1 "Belt status" -"Stato delle cinghie" +"Stato cinghie" #MSG_RECOVER_PRINT c=20 r=2 "Blackout occurred. Recover print?" @@ -272,7 +272,7 @@ #MSG_FSENS_AUTOLOAD_ON c=17 r=1 "F. autoload [on]" -"Autocar.filam[on]" +"Autocar.fil. [on]" #MSG_FSENS_AUTOLOAD_NA c=17 r=1 "F. autoload [N/A]" @@ -304,15 +304,15 @@ #MSG_FSENSOR_ON "Fil. sensor [on]" -"Sensor filam.[on]" +"Sensore fil. [on]" #MSG_FSENSOR_NA "Fil. sensor [N/A]" -"Sensor filam[N/A]" +"Sensore fil.[N/A]" #MSG_FSENSOR_OFF "Fil. sensor [off]" -"Sensor filam[off]" +"Sensore fil.[off]" # "Filam. runouts" @@ -348,7 +348,7 @@ #MSG_V2_CALIBRATION c=17 r=1 "First layer cal." -"Calibrazione primo layer." +"Cal. primo strato" #MSG_WIZARD_SELFTEST c=20 r=8 "First, I will run the selftest to check most common assembly problems." @@ -516,7 +516,7 @@ # "Lin. correction" -"Correzione lin." +"Correzione lineare" #MSG_BABYSTEP_Z "Live adjust Z" @@ -976,7 +976,7 @@ #MSG_SORT_TIME c=17 r=1 "Sort [time]" -"Ordina [tempo]" +"Ordina [chron.]" # "Severe skew:" From 36f5b082896664d2c11a5c9e739d557b46ec1c35 Mon Sep 17 00:00:00 2001 From: DRracer Date: Thu, 19 Sep 2019 08:42:49 +0200 Subject: [PATCH 7/7] update ES, IT --- lang/lang_en_es.txt | 2 +- lang/lang_en_it.txt | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lang/lang_en_es.txt b/lang/lang_en_es.txt index feba1a0d..d8d68fe2 100755 --- a/lang/lang_en_es.txt +++ b/lang/lang_en_es.txt @@ -976,7 +976,7 @@ #MSG_SORT_TIME c=17 r=1 "Sort [time]" -"Ordenar [tiempo]" +"Ordenar [fecha]" # "Severe skew:" diff --git a/lang/lang_en_it.txt b/lang/lang_en_it.txt index bbb9fefc..6537f78e 100755 --- a/lang/lang_en_it.txt +++ b/lang/lang_en_it.txt @@ -72,7 +72,7 @@ #MSG_AUTOLOADING_ENABLED c=20 r=4 "Autoloading filament is active, just press the knob and insert filament..." -"Il caricamento automatico e attivo, premete la manopola e inserite il filamento..." +"Caricamento automatico attivo, premi la manopola e inserisci il filamento." #MSG_SELFTEST_AXIS_LENGTH "Axis length" @@ -172,15 +172,15 @@ #MSG_CRASHDETECT_ON "Crash det. [on]" -"Rilevam.imp. [on]" +"Rileva.crash [on]" #MSG_CRASHDETECT_NA "Crash det. [N/A]" -"Rilevam.imp.[N/A]" +"Rileva.crash[N/A]" #MSG_CRASHDETECT_OFF "Crash det. [off]" -"Rilevam.imp.[off]" +"Rileva.crash[off]" #MSG_CRASH_DETECTED c=20 r=1 "Crash detected." @@ -556,7 +556,7 @@ #MSG_MESH_BED_LEVELING "Mesh Bed Leveling" -"Mesh livel. letto" +"Livel. piatto" #MSG_MMU_OK_RESUMING_POSITION c=20 r=4 "MMU OK. Resuming position..." @@ -588,11 +588,11 @@ #MSG_STEALTH_MODE_OFF "Mode [Normal]" -"Modo [normale]" +"Mod. [normale]" #MSG_SILENT_MODE_ON "Mode [silent]" -"Modo [silenzioso]" +"Mod. [silenziosa]" # "MMU needs user attention." @@ -604,15 +604,15 @@ #MSG_STEALTH_MODE_ON "Mode [Stealth]" -"Modo [Silenziosa]" +"Mod. [silenziosa]" #MSG_AUTO_MODE_ON "Mode [auto power]" -"Modo [auto]" +"Mod. [auto]" #MSG_SILENT_MODE_OFF "Mode [high power]" -"Mode [forte]" +"Mod. [forte]" # "MMU2 connected" @@ -976,7 +976,7 @@ #MSG_SORT_TIME c=17 r=1 "Sort [time]" -"Ordina [chron.]" +"Ordina [cron.]" # "Severe skew:" @@ -1416,7 +1416,7 @@ # "Sound [assist]" -"Suono [assistito]" +"Suono [assist.]" # "Steel sheets"