Ignore:
Timestamp:
May 13, 2006, 8:47:23 PM (18 years ago)
Author:
bcornec
Message:

Stable is reverted to r436 (2.0.7) to put it in line with 2.0.8 and start from there over

File:
1 edited

Legend:

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

    r501 r541  
    103103#include "mondostructures.h"
    104104#include "libmondo-verify.h"
    105 #include "newt-specific-EXT.h"
     105#include "libmondo-gui-EXT.h"
    106106#include "libmondo-files-EXT.h"
    107107#include "libmondo-fork-EXT.h"
     
    110110#include "libmondo-devices-EXT.h"
    111111#include "libmondo-tools-EXT.h"
     112#include "lib-common-externs.h"
    112113
    113114/*@unused@*/
     
    757758                    orig_cksum);
    758759            log_msg(2, tmp);
    759             sprintf(tmp, _("%s has changed on live filesystem"),
     760            sprintf(tmp, "%s has changed on live filesystem",
    760761                    biggie_fname);
    761762            log_to_screen(tmp);
     
    810811    sprintf(curr_acl_list_fname, ACL_BIGGLST_FNAME_RAW_SZ,
    811812            bkpinfo->tmpdir);
    812     log_to_screen(_("Verifying regular archives on tape"));
     813    log_to_screen("Verifying regular archives on tape");
    813814    total_afioballs = get_last_filelist_number(bkpinfo) + 1;
    814     open_progress_form(_("Verifying filesystem"),
    815                        _("I am verifying archives against your live filesystem now."),
    816                        _("Please wait. This may take a couple of hours."), "",
     815    open_progress_form("Verifying filesystem",
     816                       "I am verifying archives against your live filesystem now.",
     817                       "Please wait. This may take a couple of hours.", "",
    817818                       total_afioballs);
    818819    res = read_header_block_from_stream(&size, fname, &ctrl_chr);
     
    853854        res = verify_an_afioball_from_stream(bkpinfo, fname, size);
    854855        if (res) {
    855             sprintf(tmp, _("Afioball %ld differs from live filesystem"),
     856            sprintf(tmp, "Afioball %ld differs from live filesystem",
    856857                    current_afioball_number);
    857858            log_to_screen(tmp);
     
    937938    noof_biggiefiles = (long) size;
    938939    log_msg(1, "noof_biggiefiles = %ld", noof_biggiefiles);
    939     open_progress_form(_("Verifying big files"), comment,
    940                        _("Please wait. This may take some time."), "",
     940    open_progress_form("Verifying big files", comment,
     941                       "Please wait. This may take some time.", "",
    941942                       noof_biggiefiles);
    942943    for (res = read_header_block_from_stream(&size, orig_fname, &ctrl_chr);
     
    954955            p++;
    955956        }
    956         sprintf(comment, _("Verifying bigfile #%ld (%ld K)"),
     957        sprintf(comment, "Verifying bigfile #%ld (%ld K)",
    957958                current_biggiefile_number, (long) size >> 10);
    958959        update_progress_form(comment);
     
    10191020
    10201021    sprintf(mountpoint, "%s/cdrom", bkpinfo->tmpdir);
    1021     sprintf(fname, "%s/%s/%s-%d.iso", bkpinfo->isodir, bkpinfo->nfs_remote_dir,
    1022             bkpinfo->prefix, g_current_media_number);
     1022    sprintf(fname, "%s/%s/%s-%d.iso", bkpinfo->nfs_remote_dir,
     1023            bkpinfo->isodir, bkpinfo->prefix, g_current_media_number);
    10231024
    10241025    mkdir(mountpoint, 1777);
     
    10301031        log_msg(2, tmp);
    10311032        if (bkpinfo->manual_cd_tray) {
    1032             popup_and_OK(_("Please push CD tray closed."));
     1033            popup_and_OK("Please push CD tray closed.");
    10331034        }
    10341035        if (find_and_mount_actual_cd(bkpinfo, mountpoint)) {
    1035             log_to_screen(_("failed to mount actual CD"));
     1036            log_to_screen("failed to mount actual CD");
    10361037            return (1);
    10371038        }
     
    10431044        mddevice = make_vn(fname);
    10441045        if (ret) {
    1045             sprintf(tmp, _("make_vn of %s failed; unable to verify ISO\n"),
     1046            sprintf(tmp, "make_vn of %s failed; unable to verify ISO\n",
    10461047                    fname);
    10471048            log_to_screen(tmp);
     
    10541055#endif
    10551056        if (run_program_and_log_output(command, FALSE)) {
    1056             sprintf(tmp, _("%s failed; unable to mount ISO image\n"),
     1057            sprintf(tmp, "%s failed; unable to mount ISO image\n",
    10571058                    command);
    10581059            log_to_screen(tmp);
     
    11321133
    11331134    log_msg(3, "verify_tape_backups --- starting");
    1134     log_to_screen(_("Verifying backups"));
     1135    log_to_screen("Verifying backups");
    11351136    openin_tape(bkpinfo);
    11361137/* verify archives themselves */
     
    11571158            && length_of_file(changed_files_fname) > 2) {
    11581159            log_to_screen
    1159                 (_("Warning - unable to check logfile to derive list of changed files"));
     1160                ("Warning - unable to check logfile to derive list of changed files");
    11601161        } else {
    11611162            log_to_screen
    1162                 (_("No differences found. Therefore, no 'changed.files' text file."));
     1163                ("No differences found. Therefore, no 'changed.files' text file.");
    11631164        }
    11641165    }
     
    11761177        log_msg(0, tmp);
    11771178        log_to_screen
    1178             (_("See /tmp/changed.files for a list of nonmatching files."));
     1179            ("See /tmp/changed.files for a list of nonmatching files.");
    11791180        log_to_screen
    1180             (_("The files probably changed on filesystem, not on backup media."));
     1181            ("The files probably changed on filesystem, not on backup media.");
    11811182        //      retval++;
    11821183    }
Note: See TracChangeset for help on using the changeset viewer.