Ignore:
Timestamp:
Mar 4, 2008, 2:13:53 AM (14 years ago)
Author:
charles
Message:

fold some error messages together into common strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r5193 r5194  
    528528
    529529        case TR_ERROR_IO_PARENT:
    530             return _( "Download folder does not exist" );
     530            return _( "Download folder doesn't exist" );
    531531        case TR_ERROR_IO_PERMISSIONS:
    532             return _( "Insufficient permissions" );
     532            return tr_strerror( EACCES );
    533533        case TR_ERROR_IO_SPACE:
    534             return _( "Insufficient free space" );
     534            return tr_strerror( ENOSPC );
    535535        case TR_ERROR_IO_FILE_TOO_BIG:
    536             return _( "File too large" );
     536            return tr_strerror( EFBIG );
    537537        case TR_ERROR_IO_OPEN_FILES:
    538             return _( "Too many open files" );
     538            return tr_strerror( EMFILE );
    539539        case TR_ERROR_IO_DUP_DOWNLOAD:
    540540            return _( "Already active transfer with same name and download folder" );
Note: See TracChangeset for help on using the changeset viewer.