Ignore:
Timestamp:
Mar 4, 2008, 2:02:25 AM (15 years ago)
Author:
charles
Message:

first cut at adding i18n hooks into libtransmission.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r5107 r5193  
    164164    if( file->fd == -1 ) {
    165165        const int err = errno;
    166         tr_err( "Couldn't open '%s': %s", filename, tr_strerror(err) );
     166        tr_err( _( "Couldn't open \"%s\": %s" ), filename, tr_strerror(err) );
    167167        return tr_ioErrorFromErrno( err );
    168168    }
     
    388388    if( isReserved || ( gFd->normal < getSocketMax( gFd ) ) )
    389389        if( ( s = socket( AF_INET, type, 0 ) ) < 0 )
    390             tr_err( "Couldn't create socket (%s)", tr_strerror( sockerrno ) );
     390            tr_err( _( "Couldn't create socket: %s" ), tr_strerror( sockerrno ) );
    391391
    392392    if( s > -1 )
Note: See TracChangeset for help on using the changeset viewer.