Gettextify output strftime(3) formats (#83611).
authorjbj <devnull@localhost>
Thu, 3 Apr 2003 00:07:41 +0000 (00:07 +0000)
committerjbj <devnull@localhost>
Thu, 3 Apr 2003 00:07:41 +0000 (00:07 +0000)
CVS patchset: 6731
CVS date: 2003/04/03 00:07:41

rpmdb/header.c

index 68b88fb..b059a52 100644 (file)
@@ -3620,7 +3620,8 @@ static char * dateFormat(int_32 type, hPTR_t data,
                         char * formatPrefix, int padding, int element)
        /*@modifies formatPrefix @*/
 {
-    return realDateFormat(type, data, formatPrefix, padding, element, "%c");
+    return realDateFormat(type, data, formatPrefix, padding, element,
+                       _("%c"));
 }
 
 /**
@@ -3636,7 +3637,7 @@ static char * dayFormat(int_32 type, hPTR_t data,
        /*@modifies formatPrefix @*/
 {
     return realDateFormat(type, data, formatPrefix, padding, element, 
-                         "%a %b %d %Y");
+                         _("%a %b %d %Y"));
 }
 
 /**