(gtk) for clarity, use "downloading from X of Y connected peers" instead of "downloading from X of Y peers"
This commit is contained in:
parent
a14742aa5e
commit
b306919f0b
|
@ -127,8 +127,8 @@ getStatusString( const tr_torrent * tor UNUSED, const tr_stat * torStat )
|
||||||
|
|
||||||
case TR_STATUS_DOWNLOAD:
|
case TR_STATUS_DOWNLOAD:
|
||||||
g_string_append_printf( gstr,
|
g_string_append_printf( gstr,
|
||||||
ngettext( _("Downloading from %d of %d peer" ),
|
ngettext( _("Downloading from %d of %d connected peer" ),
|
||||||
_("Downloading from %d of %d peers" ),
|
_("Downloading from %d of %d connected peers" ),
|
||||||
torStat->peersConnected ),
|
torStat->peersConnected ),
|
||||||
torStat->peersSendingToUs,
|
torStat->peersSendingToUs,
|
||||||
torStat->peersConnected );
|
torStat->peersConnected );
|
||||||
|
@ -137,8 +137,8 @@ getStatusString( const tr_torrent * tor UNUSED, const tr_stat * torStat )
|
||||||
case TR_STATUS_DONE:
|
case TR_STATUS_DONE:
|
||||||
case TR_STATUS_SEED:
|
case TR_STATUS_SEED:
|
||||||
g_string_append_printf( gstr,
|
g_string_append_printf( gstr,
|
||||||
ngettext( _( "Seeding to %d of %d peer" ),
|
ngettext( _( "Seeding to %d of %d connected peer" ),
|
||||||
_( "Seeding to %d of %d peers" ),
|
_( "Seeding to %d of %d connected peers" ),
|
||||||
torStat->peersGettingFromUs ),
|
torStat->peersGettingFromUs ),
|
||||||
torStat->peersGettingFromUs,
|
torStat->peersGettingFromUs,
|
||||||
torStat->peersConnected );
|
torStat->peersConnected );
|
||||||
|
|
|
@ -126,17 +126,10 @@ tr_torrent_handle(TrTorrent *tor)
|
||||||
return tor->severed ? NULL : tor->handle;
|
return tor->severed ? NULL : tor->handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
static tr_stat*
|
|
||||||
refreshStat( TrTorrent * tor )
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
const tr_stat *
|
const tr_stat *
|
||||||
tr_torrent_stat(TrTorrent *tor)
|
tr_torrent_stat(TrTorrent *tor)
|
||||||
{
|
{
|
||||||
g_assert( TR_IS_TORRENT(tor) );
|
return tor && !tor->severed ? tr_torrentStat( tor->handle ) : NULL;
|
||||||
|
|
||||||
return tor->severed ? NULL : tr_torrentStat( tor->handle );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const tr_info *
|
const tr_info *
|
||||||
|
|
Loading…
Reference in New Issue