mirror of
https://github.com/transmission/transmission
synced 2025-01-31 11:23:40 +00:00
specify timeouts in the tracker tab
This commit is contained in:
parent
5733f139fa
commit
ce81f5c888
1 changed files with 5 additions and 1 deletions
|
@ -103,7 +103,11 @@
|
||||||
dateString = NSLocalizedString(@"N/A", "Tracker last announce");
|
dateString = NSLocalizedString(@"N/A", "Tracker last announce");
|
||||||
|
|
||||||
NSString * baseString;
|
NSString * baseString;
|
||||||
if (fStat.hasAnnounced && !fStat.lastAnnounceSucceeded)
|
if (fStat.hasAnnounced && fStat.lastAnnounceTimedOut)
|
||||||
|
{
|
||||||
|
baseString = [NSLocalizedString(@"Announce timed out", "Tracker last announce") stringByAppendingFormat: @": %@", dateString];
|
||||||
|
}
|
||||||
|
else if (fStat.hasAnnounced && !fStat.lastAnnounceSucceeded)
|
||||||
{
|
{
|
||||||
baseString = NSLocalizedString(@"Announce error", "Tracker last announce");
|
baseString = NSLocalizedString(@"Announce error", "Tracker last announce");
|
||||||
NSString * errorString = [NSString stringWithUTF8String: fStat.lastAnnounceResult];
|
NSString * errorString = [NSString stringWithUTF8String: fStat.lastAnnounceResult];
|
||||||
|
|
Loading…
Reference in a new issue