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:
parent
cd0de2ebe5
commit
e04698c0af
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue