Changeset 12651


Ignore:
Timestamp:
Aug 8, 2011, 4:38:22 PM (10 years ago)
Author:
jordan
Message:

queuing: fix false "Error" message reported by rb07

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/torrent-cell-renderer.c

    r12639 r12651  
    196196    {
    197197        case TR_STATUS_STOPPED:
    198             if( st->finished )
    199                 g_string_append( gstr, _( "Finished" ) );
    200             else
    201                 g_string_append( gstr, _( "Paused" ) );
     198            g_string_append( gstr, st->finished ? _( "Finished" ) : _( "Paused" ) );
    202199            break;
    203 
    204200        case TR_STATUS_CHECK_WAIT:
    205             g_string_append( gstr, _( "Waiting to verify local data" ) );
     201            g_string_append( gstr, _( "Queued for verification" ) );
    206202            break;
    207 
    208         case TR_STATUS_CHECK:
    209             g_string_append_printf( gstr,
    210                                     _( "Verifying local data (%.1f%% tested)" ),
    211                                     tr_truncd( st->recheckProgress * 100.0, 1 ) );
    212             break;
    213 
    214203        case TR_STATUS_DOWNLOAD_WAIT:
    215             g_string_append( gstr, _( "Waiting to download" ) );
     204            g_string_append( gstr, _( "Queued for download" ) );
    216205            break;
    217206        case TR_STATUS_SEED_WAIT:
    218             g_string_append( gstr, _( "Waiting to seed" ) );
     207            g_string_append( gstr, _( "Queued for seeding" ) );
     208            break;
     209
     210        case TR_STATUS_CHECK:
     211            g_string_append_printf( gstr, _( "Verifying local data (%.1f%% tested)" ),
     212                                    tr_truncd( st->recheckProgress * 100.0, 1 ) );
    219213            break;
    220214
  • trunk/qt/torrent-delegate.cc

    r12609 r12651  
    227227        case TR_STATUS_CHECK_WAIT:
    228228        case TR_STATUS_CHECK:
     229        case TR_STATUS_DOWNLOAD_WAIT:
     230        case TR_STATUS_SEED_WAIT:
    229231            str = shortStatusString( tor );
    230232            break;
Note: See TracChangeset for help on using the changeset viewer.