1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

translators shouldn't have to translate debug messages

This commit is contained in:
Charles Kerr 2008-04-06 00:38:18 +00:00
parent 8930e63e8b
commit fc091499cb
3 changed files with 5 additions and 5 deletions

View file

@ -417,7 +417,7 @@ parseProgress( tr_torrent * tor,
tr_torrentSetFileChecked( tor, i, TRUE );
else {
tr_torrentSetFileChecked( tor, i, FALSE );
tr_tordbg( tor, _( "Torrent needs to be verified" ) );
tr_tordbg( tor, "Torrent needs to be verified" );
}
}
free( curMTimes );
@ -543,7 +543,7 @@ parsePeers( tr_torrent * tor, const uint8_t * buf, uint32_t len )
tr_peerMgrAddPex( tor->handle->peerMgr, tor->info.hash, TR_PEER_FROM_CACHE, &pex );
}
tr_tordbg( tor, _( "Loaded %d peers from resume file" ), count );
tr_tordbg( tor, "Loaded %d peers from resume file", count );
ret = TR_FR_PEERS;
}
@ -589,7 +589,7 @@ parseVersion1( tr_torrent * tor, const uint8_t * buf, const uint8_t * end,
case FR_ID_PEERS: ret |= parsePeers( tor, buf, len ); break;
case FR_ID_MAX_PEERS: ret |= parseConnections( tor, buf, len ); break;
case FR_ID_DESTINATION: ret |= parseDestination( tor, buf, len ); break;
default: tr_tordbg( tor, _( "Skipping unknown resume code %d" ), (int)id ); break;
default: tr_tordbg( tor, "Skipping unknown resume code %d", (int)id ); break;
}
buf += len;

View file

@ -65,7 +65,7 @@ static void
logVal( const char * func, int ret )
{
if( ret==NATPMP_TRYAGAIN )
tr_ndbg( getKey(), _( "%s responded \"try again\"" ), func );
tr_ndbg( getKey(), "%s responded \"try again\"", func );
else if( ret >= 0 )
tr_ninf( getKey(), _( "%s succeeded (%d)" ), func, ret );
else

View file

@ -965,7 +965,7 @@ parseUtPex( tr_peermsgs * msgs, int msglen, struct evbuffer * inbuf )
{
const int n = sub->val.s.i / 6 ;
if( n )
tr_tordbg( tor, _( "Got %d peers from peer exchange" ), n );
tr_tordbg( tor, "Got %d peers from peer exchange", n );
tr_peerMgrAddPeers( msgs->handle->peerMgr,
tor->info.hash,
TR_PEER_FROM_PEX,