more i18n improvements. thanks to Gnome translator andre for feedback.

This commit is contained in:
Charles Kerr 2008-03-07 21:20:45 +00:00
parent 7200b27a18
commit 6fe4a4dddc
5 changed files with 17 additions and 5 deletions

View File

@ -241,10 +241,12 @@ static const char* peer_column_names[N_PEER_COLS] =
{
N_("Address"),
N_("Client"),
/* percentage */
/* Translators: this is a 'percent done' column whose title is terse to keep the column narrow */
N_("%"),
" ",
/* Translators: this is a 'download speed' column whose title is terse to keep the column narrow */
N_("Down"),
/* Translators: this is a 'upload speed' column whose title is terse to keep the column narrow */
N_("Up"),
N_("Status")
};
@ -845,6 +847,7 @@ activity_page_new (TrTorrent * gtor)
hig_workarea_add_row (t, &row, _("Progress:"), l, NULL);
l = a->have_lb = gtk_label_new (NULL);
/* Translators: "Have" refers to the size of the files we have */
hig_workarea_add_row (t, &row, _("Have:"), l, NULL);
l = a->dl_lb = gtk_label_new (NULL);
@ -1231,6 +1234,7 @@ torrent_inspector_new ( GtkWindow * parent, TrTorrent * gtor )
/* create the dialog */
tr_strlsize( sizeStr, info->totalSize, sizeof(sizeStr) );
/* Translators: first %s is torrent name, second is file size */
g_snprintf( title, sizeof(title), _( "Details for %s (%s)" ), info->name, sizeStr );
d = gtk_dialog_new_with_buttons (title, parent, 0,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,

View File

@ -231,6 +231,7 @@ msgwin_create( TrCore * core )
GtkWidget * levels;
GtkWidget * toolbar;
GtkWidget * w;
GtkWidget * l;
GtkCellRenderer * renderer;
int ii, curlevel;
@ -258,8 +259,10 @@ msgwin_create( TrCore * core )
gtk_toolbar_insert_space(GTK_TOOLBAR(toolbar), -1);
l = gtk_label_new( _( "Level" ) );
gtk_misc_set_padding( GTK_MISC( l ), GUI_PAD, 0 );
gtk_toolbar_append_element(GTK_TOOLBAR(toolbar),
GTK_TOOLBAR_CHILD_WIDGET, gtk_label_new(_("Level ")),
GTK_TOOLBAR_CHILD_WIDGET, l,
NULL, _("Set the verbosity level"),
NULL, NULL, NULL, NULL);

View File

@ -430,8 +430,12 @@ tr_window_new( GtkUIManager * ui_manager, TrCore * core )
GSList * l;
GSList * toggles;
const char * filter_names[FILTER_MODE_QTY] = {
N_( "A_ll"), N_("_Active"),
N_("_Downloading"), N_("_Seeding"), N_("_Paused")
/* Translators: "All" refers to "all torrents" */
N_( "A_ll"),
N_("_Active"),
N_("_Downloading"),
N_("_Seeding"),
N_("_Paused")
};
const char * filter_text_names[FILTER_TEXT_MODE_QTY] = {
N_("Name"), N_("Files"), N_("Tracker")

View File

@ -542,7 +542,7 @@ parsePeers( tr_torrent * tor, const uint8_t * buf, uint32_t len )
tr_peerMgrAddPex( tor->handle->peerMgr, tor->info.hash, TR_PEER_FROM_CACHE, &pex );
}
tr_dbg( _( "Fead %i peers from resume file" ), count );
tr_dbg( _( "Loaded %i peers from resume file" ), count );
ret = TR_FR_PEERS;
}

View File

@ -171,6 +171,7 @@ tr_initFull( const char * tag,
h->shared = tr_sharedInit( h, isNatEnabled, publicPort );
h->isPortSet = publicPort >= 0;
/* Translators: first %s is the application name, second %s is the version number */
snprintf( buf, sizeof( buf ), _( "%s %s started" ),
TR_NAME, LONG_VERSION_STRING );
tr_inf( "%s", buf );