mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
string folding
This commit is contained in:
parent
3595f286c4
commit
19fbb3ef2c
4 changed files with 5 additions and 5 deletions
|
@ -508,7 +508,7 @@ gtr_inhibit_hibernation( void )
|
|||
if( success )
|
||||
tr_inf( _( "Desktop hibernation disabled while Transmission is running" ) );
|
||||
else {
|
||||
tr_err( _( "Couldn't disable desktop hibernation: %s." ), error->message );
|
||||
tr_err( _( "Couldn't disable desktop hibernation: %s" ), error->message );
|
||||
g_error_free( error );
|
||||
}
|
||||
|
||||
|
|
|
@ -641,7 +641,7 @@ fastResumeLoadImpl ( tr_torrent * tor,
|
|||
|
||||
if( !buf )
|
||||
/* %s is the torrent name */
|
||||
tr_torinf( tor, _( "Couldn't read resume file for \"%s\"" ), tor->info.name );
|
||||
tr_torinf( tor, _( "Couldn't read resume file" ) );
|
||||
else {
|
||||
const uint8_t * walk = buf;
|
||||
const uint8_t * end = walk + size;
|
||||
|
@ -652,7 +652,7 @@ fastResumeLoadImpl ( tr_torrent * tor,
|
|||
ret |= parseVersion1 ( tor, walk, end, fieldsToLoad );
|
||||
else
|
||||
/* %s is the torrent name */
|
||||
tr_torinf( tor, _( "Couldn't read resume file for \"%s\"" ), tor->info.name );
|
||||
tr_torinf( tor, _( "Couldn't read resume file" ) );
|
||||
}
|
||||
|
||||
tr_free( buf );
|
||||
|
|
|
@ -188,7 +188,7 @@ tr_netBind( int port, int type )
|
|||
return -1;
|
||||
}
|
||||
|
||||
tr_inf( _( "Bound socket %d to port %d" ), s, port );
|
||||
tr_dbg( "Bound socket %d to port %d", s, port );
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
|
@ -1107,7 +1107,7 @@ tr_torrentRecheckCompleteness( tr_torrent * tor )
|
|||
|
||||
if( recentChange )
|
||||
{
|
||||
tr_torinf( tor, _( "State changed from \"%s\" to \"%s\"" ),
|
||||
tr_torinf( tor, _( "State changed from \"%1$s\" to \"%2$s\"" ),
|
||||
getCompletionString( tor->cpStatus ),
|
||||
getCompletionString( cpStatus ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue