untranslate "(none)" for auto relocating script wrappers.
authorjbj <devnull@localhost>
Fri, 9 Oct 1998 00:48:18 +0000 (00:48 +0000)
committerjbj <devnull@localhost>
Fri, 9 Oct 1998 00:48:18 +0000 (00:48 +0000)
CVS patchset: 2436
CVS date: 1998/10/09 00:48:18

CHANGES
lib/header.c

diff --git a/CHANGES b/CHANGES
index b271aed..c9ae8d8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -23,6 +23,7 @@
        - add new fully recursive macro.c
 
 2.5.4 -> 2.5.5:
+       - untranslate "(none)" for auto relocating script wrappers.
        - non-linux arch/os identification (Eugene Kanter).
        - portable mode_t/pid_t typedefs.
        - fix check for trailing / in Prefix:
index c97cfa7..b46bc23 100644 (file)
@@ -1611,13 +1611,13 @@ static char * formatValue(struct sprintfTag * tag, Header h,
                         extCache + tag->extNum)) {
            count = 1;
            type = RPM_STRING_TYPE;     
-           data = _("(none)");
+           data = "(none)";            /* XXX i18n? NO!, sez; gafton */
        }
     } else {
        if (!headerGetEntry(h, tag->tag, &type, &data, &count)){
            count = 1;
            type = RPM_STRING_TYPE;     
-           data = _("(none)");
+           data = "(none)";            /* XXX i18n? NO!, sez; gafton */
        }
 
        mayfree = 1;
@@ -1800,7 +1800,7 @@ static char * singleSprintf(Header h, struct sprintfToken * token,
 
        if (numElements == -1) {
            val = malloc(20);
-           strcpy(val, _("(none)"));
+           strcpy(val, "(none)");      /* XXX i18n? NO!, sez; gafton */
        } else {
            alloced = numElements * token->u.array.numTokens * 20;
            val = malloc(alloced);