Ignore:
Timestamp:
Apr 28, 2006, 12:34:03 AM (18 years ago)
Author:
bcornec
Message:

Integration of a big patch from rene-marc dolhen <rmd_at_mecreant.org> to support internationalization with gettext.

File:
1 edited

Legend:

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

    r411 r497  
    163163
    164164
    165 #define MONDO_POPMSG  "Your PC will not retract the CD tray automatically. Please call mondoarchive with the -m (manual CD tray) flag."
     165#define MONDO_POPMSG  _("Your PC will not retract the CD tray automatically. Please call mondoarchive with the -m (manual CD tray) flag.")
    166166
    167167/**
     
    234234
    235235    log_to_screen
    236         ("Please be patient. Do not be alarmed by on-screen inactivity.");
     236        (_("Please be patient. Do not be alarmed by on-screen inactivity."));
    237237    log_msg(4, "Calling open_evalcall_form() with what_i_am_doing='%s'",
    238238            what_i_am_doing);
     
    262262        if (retval) {
    263263            log_msg(2, "Basic call '%s' returned an error.", basic_call);
    264             popup_and_OK("Press ENTER to continue.");
     264            popup_and_OK(_("Press ENTER to continue."));
    265265            popup_and_OK
    266                 ("mkisofs and/or cdrecord returned an error. CD was not created");
     266                (_("mkisofs and/or cdrecord returned an error. CD was not created"));
    267267        }
    268268    }
     
    448448    if (!(fin = popen(command, "r"))) {
    449449        log_OS_error("Unable to popen-in command");
    450         sprintf(tmp, "Failed utterly to call '%s'", command);
     450        sprintf(tmp, _("Failed utterly to call '%s'"), command);
    451451        log_to_screen(tmp);
    452452        return (1);
    453453    }
    454454    if (!does_file_exist(lockfile)) {
    455         log_to_screen("Waiting for external binary to start");
     455        log_to_screen(_("Waiting for external binary to start"));
    456456        for (i = 0; i < 60 && !does_file_exist(lockfile); sleep(1), i++) {
    457457            log_msg(3, "Waiting for lockfile %s to exist", lockfile);
     
    712712        if (pcno <= 5 && last_pcno > 40) {
    713713            close_evalcall_form();
    714             strcpy(title, "Verifying...");
     714            strcpy(title, _("Verifying..."));
    715715            open_evalcall_form(title);
    716716        }
     
    800800        if (pcno <= 5 && last_pcno >= 40) {
    801801            close_evalcall_form();
    802             strcpy(title, "Verifying...");
     802            strcpy(title, _("Verifying..."));
    803803            open_evalcall_form(title);
    804804        }
Note: See TracChangeset for help on using the changeset viewer.