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-files.c

    r501 r541  
    8888#include "libmondo-files.h"
    8989
     90#include "lib-common-externs.h"
     91
    9092#include "libmondo-tools-EXT.h"
    91 #include "newt-specific-EXT.h"
     93#include "libmondo-gui-EXT.h"
    9294#include "libmondo-devices-EXT.h"
    9395#include "libmondo-fork-EXT.h"
     
    360362    while (!kernel[0]) {
    361363        if (!ask_me_yes_or_no
    362             (_("Kernel not found or invalid. Choose another?"))) {
     364            ("Kernel not found or invalid. Choose another?")) {
    363365            return (1);
    364366        }
    365367        if (!popup_and_get_string
    366             (_("Kernel path"),
    367              _("What is the full path and filename of your kernel, please?"),
     368            ("Kernel path",
     369             "What is the full path and filename of your kernel, please?",
    368370             kernel, MAX_STR_LEN / 4)) {
    369371            fatal_error
     
    573575
    574576    if (!does_file_exist(filename)) {
    575         sprintf(tmp, "Trying to get last line of nonexistent file (%s)",
     577        sprintf(tmp, "Tring to get last line of nonexistent file (%s)",
    576578                filename);
    577579        log_it(tmp);
     
    662664        log_OS_error("Unable to openout cksumlist");
    663665        paranoid_fclose(fin);
    664         log_to_screen(_("Can't open checksum list"));
     666        log_to_screen("Can't open checksum list");
    665667        return (1);
    666668    }
     
    687689                    time_taken * 100 / (long) (percentage) - time_taken;
    688690                sprintf(tmp,
    689                         _("%02d%% done   %02d:%02d taken   %02d:%02d remaining  %-37s"),
     691                        "%02d%% done   %02d:%02d taken   %02d:%02d remaining  %-37s\r",
    690692                        percentage, (int) (time_taken / 60),
    691693                        (int) (time_taken % 60),
     
    10271029    sprintf(command, "which %s > /dev/null 2> /dev/null", fname);
    10281030    sprintf(errorstr,
    1029             _("Please install '%s'. I cannot find it on your system."),
     1031            "Please install '%s'. I cannot find it on your system.",
    10301032            fname);
    10311033    if (system(command)) {
    10321034        log_to_screen(errorstr);
    10331035        log_to_screen
    1034             (_("There may be hyperlink at http://www.mondorescue.com which"));
    1035         log_to_screen(_("will take you to the relevant (missing) package."));
     1036            ("There may be hyperlink at http://www.mondorescue.com which");
     1037        log_to_screen("will take you to the relevant (missing) package.");
    10361038        return (1);
    10371039    } else {
     
    11481150        fatal_error("Failed to copy Mondo's stuff to scratchdir");
    11491151    }
    1150 
    1151     /* i18n */
    1152     sprintf(command, CP_BIN " --parents /usr/share/locale/*/LC_MESSAGES/mondo.mo %s",bkpinfo->scratchdir);
    1153     log_msg(4, "command = %s", command);
    1154     run_program_and_log_output(command, 1);
    11551152
    11561153    sprintf(tmp, "%s/payload.tgz", g_mondo_home);
     
    13871384    if (scratchLL <= 1) {
    13881385        sprintf(tmp,
    1389                 _("Your backup will probably occupy a single %s. Maybe two."),
     1386                "Your backup will probably occupy a single %s. Maybe two.",
    13901387                media_descriptor_string(bkpinfo->backup_media_type));
    13911388    } else if (scratchLL > 4) {
    13921389        sprintf(tmp,
    1393                 _("Your backup will occupy one meeeeellion media! (maybe %s)"),
     1390                "Your backup will occupy one meeeeellion media! (maybe %s)",
    13941391                number_to_text((int) (scratchLL + 1)));
    13951392    } else {
    1396         sprintf(tmp, _("Your backup will occupy approximately %s media."),
     1393        sprintf(tmp, "Your backup will occupy approximately %s media.",
    13971394                number_to_text((int) (scratchLL + 1)));
    13981395    }
Note: See TracChangeset for help on using the changeset viewer.