Ignore:
Timestamp:
Apr 29, 2006, 8:59:08 PM (18 years ago)
Author:
bcornec
Message:
  • Internationalization follow up
  • X11 remaining files suppressed
File:
1 edited

Legend:

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

    r277 r501  
    135135    if (!(fin = fopen(slice_fname(bigfileno, 0, ARCHIVES_PATH, ""), "r"))) {
    136136        sprintf(tmp_ptr,
    137                 "Cannot open bigfile %ld (%s)'s info file",
     137                _("Cannot open bigfile %ld (%s)'s info file"),
    138138                bigfileno + 1, bigfile_fname_ptr);
    139139        log_to_screen(tmp_ptr);
     
    149149    log_msg(2, "biggiestruct.checksum = %s", biggiestruct.checksum);
    150150
    151     sprintf(tmp_ptr, "Comparing %s", bigfile_fname_ptr);
     151    sprintf(tmp_ptr, _("Comparing %s"), bigfile_fname_ptr);
    152152
    153153    if (!g_text_mode) {
     
    253253    mvaddstr_and_log_it(g_currentY, 0,
    254254                        "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."), "",
    258258                       noof_biggiefiles);
    259259    for (bigfileno = 0; bigfileno < noof_biggiefiles; bigfileno++) {
     
    432432
    433433    max_val = atol(tmp);
    434     sprintf(progress_str, "Comparing with %s #%d ",
     434    sprintf(progress_str, _("Comparing with %s #%d "),
    435435            media_descriptor_string(bkpinfo->backup_media_type),
    436436            g_current_media_number);
    437437
    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."),
    441441                       progress_str, max_val);
    442442
     
    475475            log_msg(2, "OK, I think it's time for another CD...");
    476476            g_current_media_number++;
    477             sprintf(progress_str, "Comparing with %s #%d ",
     477            sprintf(progress_str, _("Comparing with %s #%d "),
    478478                    media_descriptor_string(bkpinfo->backup_media_type),
    479479                    g_current_media_number);
     
    541541    noof_changed_files = count_lines_in_file("/tmp/changed.txt");
    542542    if (noof_changed_files) {
    543         sprintf(tmp, "%ld files do not match the backup            ",
     543        sprintf(tmp, _("%ld files do not match the backup            "),
    544544                noof_changed_files);
    545545        //      mvaddstr_and_log_it( g_currentY++, 0, tmp );
     
    548548        paranoid_system(command);
    549549    } else {
    550         sprintf(tmp, "All files match the backup                     ");
     550        sprintf(tmp, _("All files match the backup                     "));
    551551        mvaddstr_and_log_it(g_currentY++, 0, tmp);
    552552        log_to_screen(tmp);
     
    598598    while (get_cfg_file_from_archive(bkpinfo)) {
    599599        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?")))
    601601        {
    602602            fatal_error("Unable to find config file/archives. Aborting.");
     
    639639                                "...but they were logfiles and temporary files. Your archives are fine.");
    640640            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."));
    642642        } else {
    643643            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,
    645645                    (q != 1) ? "s" : "");
    646646            mvaddstr_and_log_it(g_currentY++, 0, tmp);
     
    648648
    649649            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"));
    651651            mvaddstr_and_log_it(g_currentY++, 0, tmp);
    652652            log_to_screen(tmp);
     
    658658    } else {
    659659        log_to_screen
    660             ("No significant differences were found. Your backup is perfect.");
     660            (_("No significant differences were found. Your backup is perfect."));
    661661    }
    662662    kill_petris();
Note: See TracChangeset for help on using the changeset viewer.