fold some error messages together into common strings

This commit is contained in:
Charles Kerr
2008-03-04 02:13:53 +00:00
parent 84a8592d1d
commit eb18810b3e
2 changed files with 7 additions and 7 deletions

View File

@@ -527,15 +527,15 @@ tr_errorString( int code )
return _( "Assert error" );
case TR_ERROR_IO_PARENT:
return _( "Download folder does not exist" );
return _( "Download folder doesn't exist" );
case TR_ERROR_IO_PERMISSIONS:
return _( "Insufficient permissions" );
return tr_strerror( EACCES );
case TR_ERROR_IO_SPACE:
return _( "Insufficient free space" );
return tr_strerror( ENOSPC );
case TR_ERROR_IO_FILE_TOO_BIG:
return _( "File too large" );
return tr_strerror( EFBIG );
case TR_ERROR_IO_OPEN_FILES:
return _( "Too many open files" );
return tr_strerror( EMFILE );
case TR_ERROR_IO_DUP_DOWNLOAD:
return _( "Already active transfer with same name and download folder" );
case TR_ERROR_IO_OTHER: