Changeset 6402 for trunk/gtk/msgwin.c


Ignore:
Timestamp:
Jul 25, 2008, 2:56:28 PM (14 years ago)
Author:
charles
Message:

(gtk) #1108: transmission includes several unlocalized strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/msgwin.c

    r5922 r6402  
    9898                                COL_TR_MSG, &node,
    9999                                -1 );
    100             date = rfc822date( node->when );
     100            date = gtr_localtime( node->when );
    101101            switch( node->level ) {
    102102                case TR_MSG_DBG: levelStr = "debug"; break;
     
    104104                default:         levelStr = "     "; break;
    105105            }
    106             fprintf( fp, "%s\t%s\t%s\t%s\n", date, levelStr, node->name, node->message );
     106            fprintf( fp, "%s\t%s\t%s\t%s\n", date, levelStr,
     107                     ( node->name ? node->name : "" ),
     108                     ( node->message ? node->message : "" ) );
    107109
    108110            g_free( date );
Note: See TracChangeset for help on using the changeset viewer.