Changeset 524 in MondoRescue for trunk/mondo
- Timestamp:
- May 5, 2006, 11:47:41 AM (18 years ago)
- Location:
- trunk/mondo/mondo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/mondoarchive/mondo-cli.c
r507 r524 327 327 strncpy(bkpinfo->include_paths + strlen(bkpinfo->include_paths), 328 328 flag_val['I'], 329 MAX_STR_LEN - strlen(bkpinfo->include_paths));329 4*MAX_STR_LEN - strlen(bkpinfo->include_paths)); 330 330 log_msg(1, "include_paths is now '%s'", bkpinfo->include_paths); 331 331 if (bkpinfo->include_paths[0] == '-') { … … 561 561 strncpy(bkpinfo->exclude_paths + strlen(bkpinfo->exclude_paths), 562 562 flag_val['E'], 563 MAX_STR_LEN - strlen(bkpinfo->exclude_paths));563 4*MAX_STR_LEN - strlen(bkpinfo->exclude_paths)); 564 564 } 565 565 if (flag_set['e']) { -
trunk/mondo/mondo/mondorestore/mondo-rstr-compare.c
r507 r524 254 254 } 255 255 mvaddstr_and_log_it(g_currentY, 0, 256 "Comparing large files ");256 _("Comparing large files ")); 257 257 open_progress_form(_("Comparing large files"), 258 258 _("I am now comparing the large files"), … … 270 270 return (0); 271 271 if (retval) { 272 mvaddstr_and_log_it(g_currentY++, 74, "Errors.");273 } else { 274 mvaddstr_and_log_it(g_currentY++, 74, "Done.");272 mvaddstr_and_log_it(g_currentY++, 74, _("Errors.")); 273 } else { 274 mvaddstr_and_log_it(g_currentY++, 74, _("Done.")); 275 275 } 276 276 return (retval); … … 430 430 431 431 assert(bkpinfo != NULL); 432 mvaddstr_and_log_it(g_currentY, 0, "Comparing archives");432 mvaddstr_and_log_it(g_currentY, 0, _("Comparing archives")); 433 433 read_cfg_var(g_mondo_cfg_file, "last-filelist-number", tmp); 434 434 … … 490 490 close_progress_form(); 491 491 if (retval) { 492 mvaddstr_and_log_it(g_currentY++, 74, "Errors.");493 } else { 494 mvaddstr_and_log_it(g_currentY++, 74, "Done.");492 mvaddstr_and_log_it(g_currentY++, 74, _("Errors.")); 493 } else { 494 mvaddstr_and_log_it(g_currentY++, 74, _("Done.")); 495 495 } 496 496 paranoid_free(tarball_fname); … … 609 609 read_cfg_file_into_bkpinfo(g_mondo_cfg_file, bkpinfo); 610 610 g_current_media_number = 1; 611 mvaddstr_and_log_it(1, 30, "Comparing Automatically");611 mvaddstr_and_log_it(1, 30, _("Comparing Automatically")); 612 612 iamhere("Pre-MAD"); 613 613 retval = mount_all_devices(mountlist, FALSE); … … 628 628 mvaddstr_and_log_it(g_currentY++, 629 629 0, 630 "Warning - differences found during the compare phase");630 _("Warning - differences found during the compare phase")); 631 631 } 632 632 … … 635 635 if (count_lines_in_file("/tmp/changed.txt") > 0) { 636 636 mvaddstr_and_log_it(g_currentY++, 0, 637 "Differences found while files were being compared.");637 _("Differences found while files were being compared.")); 638 638 streamline_changes_file("/tmp/changed.files", "/tmp/changed.txt"); 639 639 if (count_lines_in_file("/tmp/changed.files") <= 0) { 640 640 mvaddstr_and_log_it(g_currentY++, 0, 641 "...but they were logfiles and temporary files. Your archives are fine.");641 _("...but they were logfiles and temporary files. Your archives are fine.")); 642 642 log_to_screen 643 643 (_("The differences were logfiles and temporary files. Your archives are fine.")); … … 696 696 run_program_and_log_output(command, FALSE); 697 697 mvaddstr_and_log_it(g_currentY, 698 0, "Verifying archives against filesystem");698 0, _("Verifying archives against filesystem")); 699 699 700 700 if (bkpinfo->disaster_recovery … … 719 719 } 720 720 721 mvaddstr_and_log_it(g_currentY++, 74, "Done.");721 mvaddstr_and_log_it(g_currentY++, 74, _("Done.")); 722 722 paranoid_free(dir); 723 723 paranoid_free(command); … … 756 756 run_program_and_log_output(command, FALSE); 757 757 mvaddstr_and_log_it(g_currentY, 758 0, "Verifying archives against filesystem");758 0, _("Verifying archives against filesystem")); 759 759 res = verify_tape_backups(bkpinfo); 760 760 chdir(dir); 761 761 if (res) { 762 mvaddstr_and_log_it(g_currentY++, 74, "Failed.");763 } else { 764 mvaddstr_and_log_it(g_currentY++, 74, "Done.");762 mvaddstr_and_log_it(g_currentY++, 74, _("Failed.")); 763 } else { 764 mvaddstr_and_log_it(g_currentY++, 74, _("Done.")); 765 765 } 766 766 paranoid_free(dir);
Note:
See TracChangeset
for help on using the changeset viewer.