Changeset 522 in MondoRescue for branches


Ignore:
Timestamp:
May 5, 2006, 1:31:18 AM (18 years ago)
Author:
bcornec
Message:

Intl: complementary patch from Rene-Marc Dolhen <rmd_atmecreant.org>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/mondorestore/mondo-rstr-compare.c

    r501 r522  
    252252    }
    253253    mvaddstr_and_log_it(g_currentY, 0,
    254                         "Comparing large files                                                  ");
     254                        _("Comparing large files                                                  "));
    255255    open_progress_form(_("Comparing large files"),
    256256                       _("I am now comparing the large files"),
     
    268268    return (0);
    269269    if (retval) {
    270         mvaddstr_and_log_it(g_currentY++, 74, "Errors.");
    271     } else {
    272         mvaddstr_and_log_it(g_currentY++, 74, "Done.");
     270        mvaddstr_and_log_it(g_currentY++, 74, _("Errors."));
     271    } else {
     272        mvaddstr_and_log_it(g_currentY++, 74, _("Done."));
    273273    }
    274274    return (retval);
     
    428428
    429429    assert(bkpinfo != NULL);
    430     mvaddstr_and_log_it(g_currentY, 0, "Comparing archives");
     430    mvaddstr_and_log_it(g_currentY, 0, _("Comparing archives"));
    431431    read_cfg_var(g_mondo_cfg_file, "last-filelist-number", tmp);
    432432
     
    488488    close_progress_form();
    489489    if (retval) {
    490         mvaddstr_and_log_it(g_currentY++, 74, "Errors.");
    491     } else {
    492         mvaddstr_and_log_it(g_currentY++, 74, "Done.");
     490        mvaddstr_and_log_it(g_currentY++, 74, _("Errors."));
     491    } else {
     492        mvaddstr_and_log_it(g_currentY++, 74, _("Done."));
    493493    }
    494494    paranoid_free(tarball_fname);
     
    607607    read_cfg_file_into_bkpinfo(g_mondo_cfg_file, bkpinfo);
    608608    g_current_media_number = 1;
    609     mvaddstr_and_log_it(1, 30, "Comparing Automatically");
     609    mvaddstr_and_log_it(1, 30, _("Comparing Automatically"));
    610610    iamhere("Pre-MAD");
    611611    retval = mount_all_devices(mountlist, FALSE);
     
    626626        mvaddstr_and_log_it(g_currentY++,
    627627                            0,
    628                             "Warning - differences found during the compare phase");
     628                            _("Warning - differences found during the compare phase"));
    629629    }
    630630
     
    633633    if (count_lines_in_file("/tmp/changed.txt") > 0) {
    634634        mvaddstr_and_log_it(g_currentY++, 0,
    635                             "Differences found while files were being compared.");
     635                            _("Differences found while files were being compared."));
    636636        streamline_changes_file("/tmp/changed.files", "/tmp/changed.txt");
    637637        if (count_lines_in_file("/tmp/changed.files") <= 0) {
    638638            mvaddstr_and_log_it(g_currentY++, 0,
    639                                 "...but they were logfiles and temporary files. Your archives are fine.");
     639                                _("...but they were logfiles and temporary files. Your archives are fine."));
    640640            log_to_screen
    641641                (_("The differences were logfiles and temporary files. Your archives are fine."));
     
    694694    run_program_and_log_output(command, FALSE);
    695695    mvaddstr_and_log_it(g_currentY,
    696                         0, "Verifying archives against filesystem");
     696                        0, _("Verifying archives against filesystem"));
    697697
    698698    if (bkpinfo->disaster_recovery
     
    714714    }
    715715
    716     mvaddstr_and_log_it(g_currentY++, 74, "Done.");
     716    mvaddstr_and_log_it(g_currentY++, 74, _("Done."));
    717717    paranoid_free(dir);
    718718    paranoid_free(command);
     
    751751    run_program_and_log_output(command, FALSE);
    752752    mvaddstr_and_log_it(g_currentY,
    753                         0, "Verifying archives against filesystem");
     753                        0, _("Verifying archives against filesystem"));
    754754    res = verify_tape_backups(bkpinfo);
    755755    chdir(dir);
    756756    if (res) {
    757         mvaddstr_and_log_it(g_currentY++, 74, "Failed.");
    758     } else {
    759         mvaddstr_and_log_it(g_currentY++, 74, "Done.");
     757        mvaddstr_and_log_it(g_currentY++, 74, _("Failed."));
     758    } else {
     759        mvaddstr_and_log_it(g_currentY++, 74, _("Done."));
    760760    }
    761761    paranoid_free(dir);
Note: See TracChangeset for help on using the changeset viewer.