(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
This commit is contained in:
parent
b2d65db45f
commit
e599b3a738
|
@ -557,13 +557,13 @@ activityString( int activity, bool finished )
|
|||
{
|
||||
switch( activity )
|
||||
{
|
||||
case TR_STATUS_CHECK_WAIT: return _( "Queued for verification" );
|
||||
case TR_STATUS_CHECK: return _( "Verifying local data" );
|
||||
case TR_STATUS_DOWNLOAD_WAIT: return _( "Queued for download" );
|
||||
case TR_STATUS_DOWNLOAD: return _( "Downloading" );
|
||||
case TR_STATUS_SEED_WAIT: return _( "Queued for seeding" );
|
||||
case TR_STATUS_SEED: return _( "Seeding" );
|
||||
case TR_STATUS_STOPPED: return finished ? _( "Finished" ) : _( "Paused" );
|
||||
case TR_STATUS_CHECK_WAIT: return _( "Queued for verification" );
|
||||
case TR_STATUS_CHECK: return _( "Verifying local data" );
|
||||
case TR_STATUS_DOWNLOAD_WAIT: return _( "Queued for download" );
|
||||
case TR_STATUS_DOWNLOAD: return C_( "Verb", "Downloading" );
|
||||
case TR_STATUS_SEED_WAIT: return _( "Queued for seeding" );
|
||||
case TR_STATUS_SEED: return C_( "Verb", "Seeding" );
|
||||
case TR_STATUS_STOPPED: return finished ? _( "Finished" ) : _( "Paused" );
|
||||
}
|
||||
|
||||
return "";
|
||||
|
|
|
@ -695,11 +695,11 @@ activity_filter_model_new( GtkTreeModel * tmodel )
|
|||
{ ACTIVITY_FILTER_ALL, N_( "All" ), NULL },
|
||||
{ ACTIVITY_FILTER_SEPARATOR, NULL, NULL },
|
||||
{ ACTIVITY_FILTER_ACTIVE, N_( "Active" ), GTK_STOCK_EXECUTE },
|
||||
{ ACTIVITY_FILTER_DOWNLOADING, N_( "Downloading" ), GTK_STOCK_GO_DOWN },
|
||||
{ ACTIVITY_FILTER_SEEDING, N_( "Seeding" ), GTK_STOCK_GO_UP },
|
||||
{ ACTIVITY_FILTER_DOWNLOADING, NC_( "Verb", "Downloading" ), GTK_STOCK_GO_DOWN },
|
||||
{ ACTIVITY_FILTER_SEEDING, NC_( "Verb", "Seeding" ), GTK_STOCK_GO_UP },
|
||||
{ ACTIVITY_FILTER_PAUSED, N_( "Paused" ), GTK_STOCK_MEDIA_PAUSE },
|
||||
{ ACTIVITY_FILTER_FINISHED, N_( "Finished" ), NULL },
|
||||
{ ACTIVITY_FILTER_VERIFYING, N_( "Verifying" ), GTK_STOCK_REFRESH },
|
||||
{ ACTIVITY_FILTER_VERIFYING, NC_( "Verb", "Verifying" ), GTK_STOCK_REFRESH },
|
||||
{ ACTIVITY_FILTER_ERROR, N_( "Error" ), GTK_STOCK_DIALOG_ERROR }
|
||||
};
|
||||
GtkListStore * store = gtk_list_store_new( ACTIVITY_FILTER_N_COLS,
|
||||
|
|
|
@ -322,7 +322,7 @@ torrentPage( GObject * core )
|
|||
guint row = 0;
|
||||
|
||||
t = hig_workarea_create( );
|
||||
hig_workarea_add_section_title( t, &row, _( "Adding" ) );
|
||||
hig_workarea_add_section_title( t, &row, C_( "Gerund", "Adding" ) );
|
||||
|
||||
s = _( "_Start when added" );
|
||||
w = new_check_button( s, TR_PREFS_KEY_START, core );
|
||||
|
@ -344,7 +344,7 @@ torrentPage( GObject * core )
|
|||
hig_workarea_add_row_w( t, &row, l, w, NULL );
|
||||
|
||||
hig_workarea_add_section_divider( t, &row );
|
||||
hig_workarea_add_section_title( t, &row, _( "Seeding" ) );
|
||||
hig_workarea_add_section_title( t, &row, C_( "Gerund", "Seeding" ) );
|
||||
|
||||
s = _( "Stop seeding at _ratio:" );
|
||||
w = new_check_button( s, TR_PREFS_KEY_RATIO_ENABLED, core );
|
||||
|
@ -1281,7 +1281,7 @@ gtr_prefs_dialog_new( GtkWindow * parent, GObject * core )
|
|||
gtk_label_new ( _( "Torrents" ) ) );
|
||||
gtk_notebook_append_page( GTK_NOTEBOOK( n ),
|
||||
downloadPage( core ),
|
||||
gtk_label_new ( _( "Downloading" ) ) );
|
||||
gtk_label_new ( C_( "Gerund", "Downloading" ) ) );
|
||||
gtk_notebook_append_page( GTK_NOTEBOOK( n ),
|
||||
bandwidthPage( core ),
|
||||
gtk_label_new ( _( "Speed" ) ) );
|
||||
|
|
Loading…
Reference in New Issue