Changeset 507 in MondoRescue for trunk/mondo/mondo/common/libmondo-verify.c


Ignore:
Timestamp:
Apr 30, 2006, 2:04:16 AM (18 years ago)
Author:
bcornec
Message:

merge -r489:506 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-verify.c

    r485 r507  
    99#include "mondostructures.h"
    1010#include "libmondo-verify.h"
    11 #include "libmondo-gui-EXT.h"
     11#include "newt-specific-EXT.h"
    1212#include "libmondo-files-EXT.h"
    1313#include "libmondo-fork-EXT.h"
     
    1616#include "libmondo-devices-EXT.h"
    1717#include "libmondo-tools-EXT.h"
    18 #include "lib-common-externs.h"
    1918
    2019/*@unused@*/
     
    669668            paranoid_free(tmp);
    670669
    671             asprintf(&tmp, "%s has changed on live filesystem",
     670            asprintf(&tmp, _("%s has changed on live filesystem"),
    672671                     biggie_fname);
    673672            log_to_screen(tmp);
     
    719718    asprintf(&curr_acl_list_fname, ACL_BIGGLST_FNAME_RAW_SZ,
    720719             bkpinfo->tmpdir);
    721     log_to_screen("Verifying regular archives on tape");
     720    log_to_screen(_("Verifying regular archives on tape"));
    722721    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."), "",
    726725                       total_afioballs);
    727726    res = read_header_block_from_stream(&size, NULL, &ctrl_chr);
     
    771770        res = verify_an_afioball_from_stream(bkpinfo, fname, size);
    772771        if (res) {
    773             asprintf(&tmp, "Afioball %ld differs from live filesystem",
     772            asprintf(&tmp, _("Afioball %ld differs from live filesystem"),
    774773                     current_afioball_number);
    775774            log_to_screen(tmp);
     
    857856    noof_biggiefiles = (long) size;
    858857    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."), "",
    861860                       noof_biggiefiles);
    862861    paranoid_free(comment);
     
    876875            p++;
    877876        }
    878         asprintf(&comment, "Verifying bigfile #%ld (%ld K)",
     877        asprintf(&comment, _("Verifying bigfile #%ld (%ld K)"),
    879878                 current_biggiefile_number, (long) size >> 10);
    880879        update_progress_form(comment);
     
    949948
    950949        if (bkpinfo->manual_cd_tray) {
    951             popup_and_OK("Please push CD tray closed.");
     950            popup_and_OK(_("Please push CD tray closed."));
    952951        }
    953952        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"));
    955954            return (1);
    956955        }
     
    964963        mddevice = make_vn(fname);
    965964        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"),
    967966                     fname);
    968967            log_to_screen(tmp);
     
    976975#endif
    977976        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"),
    979978                     command);
    980979            log_to_screen(tmp);
     
    10651064
    10661065    log_msg(3, "verify_tape_backups --- starting");
    1067     log_to_screen("Verifying backups");
     1066    log_to_screen(_("Verifying backups"));
    10681067    openin_tape(bkpinfo);
    10691068
     
    10931092            && length_of_file(changed_files_fname) > 2) {
    10941093            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"));
    10961095        } else {
    10971096            log_to_screen
    1098                 ("No differences found. Therefore, no 'changed.files' text file.");
     1097                (_("No differences found. Therefore, no 'changed.files' text file."));
    10991098        }
    11001099    }
     
    11191118
    11201119        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."));
    11221121        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."));
    11241123        //      retval++;
    11251124    }
Note: See TracChangeset for help on using the changeset viewer.