Changeset 507 in MondoRescue for trunk/mondo/mondo/common/libmondo-files.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-files.c

    r416 r507  
    1313#include "libmondo-files.h"
    1414
    15 #include "lib-common-externs.h"
    16 
    1715#include "libmondo-tools-EXT.h"
    18 #include "libmondo-gui-EXT.h"
     16#include "newt-specific-EXT.h"
    1917#include "libmondo-devices-EXT.h"
    2018#include "libmondo-fork-EXT.h"
     
    294292    while (!kernel[0]) {
    295293        if (!ask_me_yes_or_no
    296             ("Kernel not found or invalid. Choose another?")) {
     294            (_("Kernel not found or invalid. Choose another?"))) {
    297295            return (1);
    298296        }
    299297        if (!popup_and_get_string
    300             ("Kernel path",
    301              "What is the full path and filename of your kernel, please?",
     298            (_("Kernel path"),
     299             _("What is the full path and filename of your kernel, please?"),
    302300             kernel, MAX_STR_LEN / 4)) {
    303301            fatal_error
     
    489487
    490488    if (!does_file_exist(filename)) {
    491         asprintf(&tmp, "Tring to get last line of nonexistent file (%s)",
     489        asprintf(&tmp, _("Tring to get last line of nonexistent file (%s)"),
    492490                filename);
    493491        log_it(tmp);
     
    884882    if (res) {
    885883        asprintf(&errorstr,
    886             "Please install '%s'. I cannot find it on your system.",
     884            _("Please install '%s'. I cannot find it on your system."),
    887885            fname);
    888886        log_to_screen(errorstr);
    889887        paranoid_free(errorstr);
    890888        log_to_screen
    891             ("There may be an hyperlink at http://www.mondorescue.org which");
    892         log_to_screen("will take you to the relevant (missing) package.");
     889            (_("There may be an hyperlink at http://www.mondorescue.org which"));
     890        log_to_screen(_("will take you to the relevant (missing) package."));
    893891        return (1);
    894892    } else {
     
    998996
    999997    asprintf(&tmp, "%s/payload.tgz", g_mondo_home);
     998
     999    /* i18n */
     1000    asprintf(&command, CP_BIN " --parents /usr/share/locale/*/LC_MESSAGES/mondo.mo %s",bkpinfo->scratchdir);
     1001    log_msg(4, "command = %s", command);
     1002    run_program_and_log_output(command, 1);
     1003    paranoid_free(command);
     1004
    10001005    if (does_file_exist(tmp)) {
    10011006        log_it("Untarring payload %s to scratchdir %s", tmp,
     
    12711276    if (scratchLL <= 1) {
    12721277        asprintf(&tmp,
    1273                 "Your backup will probably occupy a single %s. Maybe two.",
     1278                _("Your backup will probably occupy a single %s. Maybe two."),
    12741279                media_descriptor_string(bkpinfo->backup_media_type));
    12751280    } else {
    1276         asprintf(&tmp, "Your backup will occupy approximately %s media.",
     1281        asprintf(&tmp, _("Your backup will occupy approximately %s media."),
    12771282                number_to_text((int) (scratchLL + 1)));
    12781283    }
Note: See TracChangeset for help on using the changeset viewer.