Changeset 507 in MondoRescue for trunk/mondo/mondo/common/libmondo-verify.c
- Timestamp:
- Apr 30, 2006, 2:04:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-verify.c
r485 r507 9 9 #include "mondostructures.h" 10 10 #include "libmondo-verify.h" 11 #include " libmondo-gui-EXT.h"11 #include "newt-specific-EXT.h" 12 12 #include "libmondo-files-EXT.h" 13 13 #include "libmondo-fork-EXT.h" … … 16 16 #include "libmondo-devices-EXT.h" 17 17 #include "libmondo-tools-EXT.h" 18 #include "lib-common-externs.h"19 18 20 19 /*@unused@*/ … … 669 668 paranoid_free(tmp); 670 669 671 asprintf(&tmp, "%s has changed on live filesystem",670 asprintf(&tmp, _("%s has changed on live filesystem"), 672 671 biggie_fname); 673 672 log_to_screen(tmp); … … 719 718 asprintf(&curr_acl_list_fname, ACL_BIGGLST_FNAME_RAW_SZ, 720 719 bkpinfo->tmpdir); 721 log_to_screen( "Verifying regular archives on tape");720 log_to_screen(_("Verifying regular archives on tape")); 722 721 total_afioballs = get_last_filelist_number(bkpinfo) + 1; 723 open_progress_form( "Verifying filesystem",724 "I am verifying archives against your live filesystem now.",725 "Please wait. This may take a couple of hours.", "",722 open_progress_form(_("Verifying filesystem"), 723 _("I am verifying archives against your live filesystem now."), 724 _("Please wait. This may take a couple of hours."), "", 726 725 total_afioballs); 727 726 res = read_header_block_from_stream(&size, NULL, &ctrl_chr); … … 771 770 res = verify_an_afioball_from_stream(bkpinfo, fname, size); 772 771 if (res) { 773 asprintf(&tmp, "Afioball %ld differs from live filesystem",772 asprintf(&tmp, _("Afioball %ld differs from live filesystem"), 774 773 current_afioball_number); 775 774 log_to_screen(tmp); … … 857 856 noof_biggiefiles = (long) size; 858 857 log_msg(1, "noof_biggiefiles = %ld", noof_biggiefiles); 859 open_progress_form( "Verifying big files", comment,860 "Please wait. This may take some time.", "",858 open_progress_form(_("Verifying big files"), comment, 859 _("Please wait. This may take some time."), "", 861 860 noof_biggiefiles); 862 861 paranoid_free(comment); … … 876 875 p++; 877 876 } 878 asprintf(&comment, "Verifying bigfile #%ld (%ld K)",877 asprintf(&comment, _("Verifying bigfile #%ld (%ld K)"), 879 878 current_biggiefile_number, (long) size >> 10); 880 879 update_progress_form(comment); … … 949 948 950 949 if (bkpinfo->manual_cd_tray) { 951 popup_and_OK( "Please push CD tray closed.");950 popup_and_OK(_("Please push CD tray closed.")); 952 951 } 953 952 if (find_and_mount_actual_cd(bkpinfo, mountpoint)) { 954 log_to_screen( "failed to mount actual CD");953 log_to_screen(_("failed to mount actual CD")); 955 954 return (1); 956 955 } … … 964 963 mddevice = make_vn(fname); 965 964 if (ret) { 966 asprintf(&tmp, "make_vn of %s failed; unable to verify ISO\n",965 asprintf(&tmp, _("make_vn of %s failed; unable to verify ISO\n"), 967 966 fname); 968 967 log_to_screen(tmp); … … 976 975 #endif 977 976 if (run_program_and_log_output(command, FALSE)) { 978 asprintf(&tmp, "%s failed; unable to mount ISO image\n",977 asprintf(&tmp, _("%s failed; unable to mount ISO image\n"), 979 978 command); 980 979 log_to_screen(tmp); … … 1065 1064 1066 1065 log_msg(3, "verify_tape_backups --- starting"); 1067 log_to_screen( "Verifying backups");1066 log_to_screen(_("Verifying backups")); 1068 1067 openin_tape(bkpinfo); 1069 1068 … … 1093 1092 && length_of_file(changed_files_fname) > 2) { 1094 1093 log_to_screen 1095 ( "Warning - unable to check logfile to derive list of changed files");1094 (_("Warning - unable to check logfile to derive list of changed files")); 1096 1095 } else { 1097 1096 log_to_screen 1098 ( "No differences found. Therefore, no 'changed.files' text file.");1097 (_("No differences found. Therefore, no 'changed.files' text file.")); 1099 1098 } 1100 1099 } … … 1119 1118 1120 1119 log_to_screen 1121 ( "See /tmp/changed.files for a list of nonmatching files.");1120 (_("See /tmp/changed.files for a list of nonmatching files.")); 1122 1121 log_to_screen 1123 ( "The files probably changed on filesystem, not on backup media.");1122 (_("The files probably changed on filesystem, not on backup media.")); 1124 1123 // retval++; 1125 1124 }
Note:
See TracChangeset
for help on using the changeset viewer.