Changeset 501 in MondoRescue for branches/stable/mondo/mondo/mondorestore/mondo-rstr-compare.c
- Timestamp:
- Apr 29, 2006, 8:59:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/mondorestore/mondo-rstr-compare.c
r277 r501 135 135 if (!(fin = fopen(slice_fname(bigfileno, 0, ARCHIVES_PATH, ""), "r"))) { 136 136 sprintf(tmp_ptr, 137 "Cannot open bigfile %ld (%s)'s info file",137 _("Cannot open bigfile %ld (%s)'s info file"), 138 138 bigfileno + 1, bigfile_fname_ptr); 139 139 log_to_screen(tmp_ptr); … … 149 149 log_msg(2, "biggiestruct.checksum = %s", biggiestruct.checksum); 150 150 151 sprintf(tmp_ptr, "Comparing %s", bigfile_fname_ptr);151 sprintf(tmp_ptr, _("Comparing %s"), bigfile_fname_ptr); 152 152 153 153 if (!g_text_mode) { … … 253 253 mvaddstr_and_log_it(g_currentY, 0, 254 254 "Comparing large files "); 255 open_progress_form( "Comparing large files",256 "I am now comparing the large files",257 "against the filesystem. Please wait.", "",255 open_progress_form(_("Comparing large files"), 256 _("I am now comparing the large files"), 257 _("against the filesystem. Please wait."), "", 258 258 noof_biggiefiles); 259 259 for (bigfileno = 0; bigfileno < noof_biggiefiles; bigfileno++) { … … 432 432 433 433 max_val = atol(tmp); 434 sprintf(progress_str, "Comparing with %s #%d ",434 sprintf(progress_str, _("Comparing with %s #%d "), 435 435 media_descriptor_string(bkpinfo->backup_media_type), 436 436 g_current_media_number); 437 437 438 open_progress_form( "Comparing files",439 "Comparing tarballs against filesystem.",440 "Please wait. This may take some time.",438 open_progress_form(_("Comparing files"), 439 _("Comparing tarballs against filesystem."), 440 _("Please wait. This may take some time."), 441 441 progress_str, max_val); 442 442 … … 475 475 log_msg(2, "OK, I think it's time for another CD..."); 476 476 g_current_media_number++; 477 sprintf(progress_str, "Comparing with %s #%d ",477 sprintf(progress_str, _("Comparing with %s #%d "), 478 478 media_descriptor_string(bkpinfo->backup_media_type), 479 479 g_current_media_number); … … 541 541 noof_changed_files = count_lines_in_file("/tmp/changed.txt"); 542 542 if (noof_changed_files) { 543 sprintf(tmp, "%ld files do not match the backup ",543 sprintf(tmp, _("%ld files do not match the backup "), 544 544 noof_changed_files); 545 545 // mvaddstr_and_log_it( g_currentY++, 0, tmp ); … … 548 548 paranoid_system(command); 549 549 } else { 550 sprintf(tmp, "All files match the backup ");550 sprintf(tmp, _("All files match the backup ")); 551 551 mvaddstr_and_log_it(g_currentY++, 0, tmp); 552 552 log_to_screen(tmp); … … 598 598 while (get_cfg_file_from_archive(bkpinfo)) { 599 599 if (!ask_me_yes_or_no 600 ( "Failed to find config file/archives. Choose another source?"))600 (_("Failed to find config file/archives. Choose another source?"))) 601 601 { 602 602 fatal_error("Unable to find config file/archives. Aborting."); … … 639 639 "...but they were logfiles and temporary files. Your archives are fine."); 640 640 log_to_screen 641 ( "The differences were logfiles and temporary files. Your archives are fine.");641 (_("The differences were logfiles and temporary files. Your archives are fine.")); 642 642 } else { 643 643 q = count_lines_in_file("/tmp/changed.files"); 644 sprintf(tmp, "%ld significant difference%s found.", q,644 sprintf(tmp, _("%ld significant difference%s found."), q, 645 645 (q != 1) ? "s" : ""); 646 646 mvaddstr_and_log_it(g_currentY++, 0, tmp); … … 648 648 649 649 strcpy(tmp, 650 "Type 'less /tmp/changed.files' for a list of non-matching files");650 _("Type 'less /tmp/changed.files' for a list of non-matching files")); 651 651 mvaddstr_and_log_it(g_currentY++, 0, tmp); 652 652 log_to_screen(tmp); … … 658 658 } else { 659 659 log_to_screen 660 ( "No significant differences were found. Your backup is perfect.");660 (_("No significant differences were found. Your backup is perfect.")); 661 661 } 662 662 kill_petris();
Note:
See TracChangeset
for help on using the changeset viewer.