Ignore:
Timestamp:
May 13, 2006, 8:47:23 PM (14 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-string.c

    r501 r541  
    6565#include "mondostructures.h"
    6666#include "libmondo-string.h"
     67#include "lib-common-externs.h"
    6768#include "libmondo-files-EXT.h"
    68 #include "newt-specific-EXT.h"
     69#include "libmondo-gui-EXT.h"
    6970#include "libmondo-tools-EXT.h"
    7071
     
    296297            ("Oh my gosh. You actually think a YOTTABYTE will get you anywhere? What're you going to do with 1,208,925,819,614,629,174,706,176 bytes of data?!?!");
    297298        popup_and_OK
    298             (_("That sizespec is more than 1,208,925,819,614,629,174,706,176 bytes. You have a shocking amount of data. Please send a screenshot to the list :-)"));
     299            ("That sizespec is more than 1,208,925,819,614,629,174,706,176 bytes. You have a shocking amount of data. Please send a screenshot to the list :-)");
    299300        fatal_error("Integer overflow.");
    300301    } else if (ch != 'm' && ch != 'M') {
     
    983984    sev = 3;
    984985    sprintf(reason,
    985             _("Changed since backup. Consider running a differential backup in a day or two."));
     986            "Changed since backup. Consider running a differential backup in a day or two.");
    986987    if (!strncmp(filename, "/var/", 5)) {
    987988        sev = 2;
    988989        sprintf(reason,
    989                 _("/var's contents will change regularly, inevitably."));
     990                "/var's contents will change regularly, inevitably.");
    990991    }
    991992    if (!strncmp(filename, "/home", 5)) {
    992993        sev = 2;
    993994        sprintf(reason,
    994                 _("It's in your /home partiton. Therefore, it is important."));
     995                "It's in your /home partiton. Therefore, it is important.");
    995996    }
    996997    if (!strncmp(filename, "/usr/", 5)) {
    997998        sev = 3;
    998999        sprintf(reason,
    999                 _("You may have installed/removed software during the backup."));
     1000                "You may have installed/removed software during the backup.");
    10001001    }
    10011002    if (!strncmp(filename, "/etc/", 5)) {
    10021003        sev = 3;
    10031004        sprintf(reason,
    1004                 _("Do not edit config files while backing up your PC."));
     1005                "Do not edit config files while backing up your PC.");
    10051006    }
    10061007    if (!strcmp(filename, "/etc/adjtime")
    10071008        || !strcmp(filename, "/etc/mtab")) {
    10081009        sev = 1;
    1009         sprintf(reason, _("This file changes all the time. It's OK."));
     1010        sprintf(reason, "This file changes all the time. It's OK.");
    10101011    }
    10111012    if (!strncmp(filename, "/root/", 6)) {
    10121013        sev = 3;
    1013         sprintf(reason, _("Were you compiling/editing something in /root?"));
     1014        sprintf(reason, "Were you compiling/editing something in /root?");
    10141015    }
    10151016    if (!strncmp(filename, "/root/.", 7)) {
    10161017        sev = 2;
    1017         sprintf(reason, _("Temp or 'dot' files changed in /root."));
     1018        sprintf(reason, "Temp or 'dot' files changed in /root.");
    10181019    }
    10191020    if (!strncmp(filename, "/var/lib/", 9)) {
    10201021        sev = 2;
    1021         sprintf(reason, _("Did you add/remove software during backing?"));
     1022        sprintf(reason, "Did you add/remove software during backing?");
    10221023    }
    10231024    if (!strncmp(filename, "/var/lib/rpm", 12)) {
    10241025        sev = 3;
    1025         sprintf(reason, _("Did you add/remove software during backing?"));
     1026        sprintf(reason, "Did you add/remove software during backing?");
    10261027    }
    10271028    if (!strncmp(filename, "/var/lib/slocate", 16)) {
    10281029        sev = 1;
    10291030        sprintf(reason,
    1030                 _("The 'update' daemon ran during backup. This does not affect the integrity of your backup."));
     1031                "The 'update' daemon ran during backup. This does not affect the integrity of your backup.");
    10311032    }
    10321033    if (!strncmp(filename, "/var/log/", 9)
     
    10351036        sev = 1;
    10361037        sprintf(reason,
    1037                 _("Log files change frequently as the computer runs. Fret not."));
     1038                "Log files change frequently as the computer runs. Fret not.");
    10381039    }
    10391040    if (!strncmp(filename, "/var/spool", 10)) {
    10401041        sev = 1;
    10411042        sprintf(reason,
    1042                 _("Background processes or printers were active. This does not affect the integrity of your backup."));
     1043                "Background processes or printers were active. This does not affect the integrity of your backup.");
    10431044    }
    10441045    if (!strncmp(filename, "/var/spool/mail", 10)) {
    10451046        sev = 2;
    1046         sprintf(reason, _("Mail was sent/received during backup."));
     1047        sprintf(reason, "Mail was sent/received during backup.");
    10471048    }
    10481049    if (filename[strlen(filename) - 1] == '~') {
    10491050        sev = 1;
    10501051        sprintf(reason,
    1051                 _("Backup copy of another file which was modified recently."));
     1052                "Backup copy of another file which was modified recently.");
    10521053    }
    10531054    if (strstr(filename, "cache")) {
    10541055        sev = 1;
    10551056        sprintf(reason,
    1056                 _("Part of a cache of data. Caches change from time to time. Don't worry."));
     1057                "Part of a cache of data. Caches change from time to time. Don't worry.");
    10571058    }
    10581059    if (!strncmp(filename, "/var/run/", 9)
     
    11311132//    { fatal_error( "percentage_media_full_comment() - unknown media size"); }
    11321133    {
    1133         sprintf(outstr, _("Volume %d: %s kilobytes archived so far"),
     1134        sprintf(outstr, "Volume %d: %s kilobytes archived so far",
    11341135                g_current_media_number, pos_w_commas);
    11351136        return (outstr);
     
    11441145            percentage = 100;
    11451146        }
    1146         sprintf(outstr, _("Volume %d: ["), g_current_media_number);
     1147        sprintf(outstr, "Volume %d: [", g_current_media_number);
    11471148    } else {
    11481149        percentage =
     
    11601161    }
    11611162    j = (int) strlen(outstr);
    1162     sprintf(outstr + j, _("] %d%% used"), percentage);
     1163    sprintf(outstr + j, "] %d%% used", percentage);
    11631164    paranoid_free(pos_w_commas);
    11641165    paranoid_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.