(trunk gtk) fix error in GTK+ client's scrape status text

This commit is contained in:
Charles Kerr
2009-12-10 09:49:46 +00:00
parent cd0de2ebe5
commit e04698c0af
+4 -4
View File
@@ -1714,8 +1714,8 @@ buildTrackerSummary( const char * key, const tr_tracker_stat * st, gboolean show
break;
case TR_TRACKER_WAITING:
g_string_append_c( gstr, '\n' );
tr_strltime_rounded( timebuf, now - st->lastScrapeStartTime, sizeof( timebuf ) );
g_string_append_printf( gstr, _( "Asking for peer counts now... <small>%s</small>" ), timebuf );
tr_strltime_rounded( timebuf, st->nextScrapeTime - now, sizeof( timebuf ) );
g_string_append_printf( gstr, _( "Asking for peer counts in %s" ), timebuf );
break;
case TR_TRACKER_QUEUED:
g_string_append_c( gstr, '\n' );
@@ -1723,8 +1723,8 @@ buildTrackerSummary( const char * key, const tr_tracker_stat * st, gboolean show
break;
case TR_TRACKER_ACTIVE:
g_string_append_c( gstr, '\n' );
tr_strltime_rounded( timebuf, st->nextScrapeTime - now, sizeof( timebuf ) );
g_string_append_printf( gstr, _( "Asking for peer counts in %s" ), timebuf );
tr_strltime_rounded( timebuf, now - st->lastScrapeStartTime, sizeof( timebuf ) );
g_string_append_printf( gstr, _( "Asking for peer counts now... <small>%s</small>" ), timebuf );
break;
}
}