Changeset 13192


Ignore:
Timestamp:
Feb 3, 2012, 5:12:17 PM (7 years ago)
Author:
jordan
Message:

(trunk gtk) To improve translations, help gettext to differentiate between the gerund and verb forms of some -ing words like "Seeding" and "Downloading" -- fixed.

I wasn't sure how to do this, so for the benefit of my future self or anyone else who's interested, here are some breadcrumbs I found: https://trac.transmissionbt.com/ticket/4717#comment:6

Location:
trunk/gtk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r13188 r13192  
    558558    switch( activity )
    559559    {
    560         case TR_STATUS_CHECK_WAIT:    return _( "Queued for verification" );
    561         case TR_STATUS_CHECK:         return _( "Verifying local data" );
    562         case TR_STATUS_DOWNLOAD_WAIT: return _( "Queued for download" );
    563         case TR_STATUS_DOWNLOAD:      return _( "Downloading" );
    564         case TR_STATUS_SEED_WAIT:     return _( "Queued for seeding" );
    565         case TR_STATUS_SEED:          return _( "Seeding" );
    566         case TR_STATUS_STOPPED:       return finished ? _( "Finished" ) : _( "Paused" );
     560        case TR_STATUS_CHECK_WAIT:    return  _( "Queued for verification" );
     561        case TR_STATUS_CHECK:         return  _( "Verifying local data" );
     562        case TR_STATUS_DOWNLOAD_WAIT: return  _( "Queued for download" );
     563        case TR_STATUS_DOWNLOAD:      return C_( "Verb", "Downloading" );
     564        case TR_STATUS_SEED_WAIT:     return  _( "Queued for seeding" );
     565        case TR_STATUS_SEED:          return C_( "Verb", "Seeding" );
     566        case TR_STATUS_STOPPED:       return  finished ? _( "Finished" ) : _( "Paused" );
    567567    }
    568568
  • trunk/gtk/filter.c

    r12963 r13192  
    696696        { ACTIVITY_FILTER_SEPARATOR, NULL, NULL },
    697697        { ACTIVITY_FILTER_ACTIVE, N_( "Active" ), GTK_STOCK_EXECUTE },
    698         { ACTIVITY_FILTER_DOWNLOADING, N_( "Downloading" ), GTK_STOCK_GO_DOWN },
    699         { ACTIVITY_FILTER_SEEDING, N_( "Seeding" ), GTK_STOCK_GO_UP },
     698        { ACTIVITY_FILTER_DOWNLOADING, NC_( "Verb", "Downloading" ), GTK_STOCK_GO_DOWN },
     699        { ACTIVITY_FILTER_SEEDING, NC_( "Verb", "Seeding" ), GTK_STOCK_GO_UP },
    700700        { ACTIVITY_FILTER_PAUSED, N_( "Paused" ), GTK_STOCK_MEDIA_PAUSE },
    701701        { ACTIVITY_FILTER_FINISHED, N_( "Finished" ), NULL },
    702         { ACTIVITY_FILTER_VERIFYING, N_( "Verifying" ), GTK_STOCK_REFRESH },
     702        { ACTIVITY_FILTER_VERIFYING, NC_( "Verb", "Verifying" ), GTK_STOCK_REFRESH },
    703703        { ACTIVITY_FILTER_ERROR, N_( "Error" ), GTK_STOCK_DIALOG_ERROR }
    704704    };
  • trunk/gtk/tr-prefs.c

    r13188 r13192  
    323323
    324324    t = hig_workarea_create( );
    325     hig_workarea_add_section_title( t, &row, _( "Adding" ) );
     325    hig_workarea_add_section_title( t, &row, C_( "Gerund", "Adding" ) );
    326326
    327327    s = _( "_Start when added" );
     
    345345
    346346    hig_workarea_add_section_divider( t, &row );
    347     hig_workarea_add_section_title( t, &row, _( "Seeding" ) );
     347    hig_workarea_add_section_title( t, &row, C_( "Gerund", "Seeding" ) );
    348348
    349349    s = _( "Stop seeding at _ratio:" );
     
    12821282    gtk_notebook_append_page( GTK_NOTEBOOK( n ),
    12831283                              downloadPage( core ),
    1284                               gtk_label_new ( _( "Downloading" ) ) );
     1284                              gtk_label_new ( C_( "Gerund", "Downloading" ) ) );
    12851285    gtk_notebook_append_page( GTK_NOTEBOOK( n ),
    12861286                              bandwidthPage( core ),
Note: See TracChangeset for help on using the changeset viewer.