1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 21:26:53 +00:00

(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

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;
}
}