mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +00:00
update clients list to identify test builds
This commit is contained in:
parent
761ca4b364
commit
a7671a3afc
2 changed files with 2 additions and 3 deletions
|
@ -61,7 +61,7 @@ char * tr_clientForId( const uint8_t * id )
|
|||
{
|
||||
tr_asprintf( &ret, "Transmission %d.%c%c%s",
|
||||
charToInt( id[3] ), id[4], id[5],
|
||||
id[6] == 'Z' ? "+" : "" );
|
||||
id[6] == 'Z' || id[6] == 'X' ? "+" : "" );
|
||||
}
|
||||
}
|
||||
else if( !memcmp( &id[1], "AZ", 2 ) )
|
||||
|
|
|
@ -113,8 +113,7 @@ tr_handle * fLib;
|
|||
if (days == 1)
|
||||
[timeArray addObject: NSLocalizedString(@"1 day", "stats window -> running time")];
|
||||
else
|
||||
[timeArray addObject: [NSString stringWithFormat: NSLocalizedString(@"%d days", "stats window -> running time"),
|
||||
seconds / 86400]];
|
||||
[timeArray addObject: [NSString stringWithFormat: NSLocalizedString(@"%d days", "stats window -> running time"), days]];
|
||||
seconds %= 86400;
|
||||
}
|
||||
if (seconds >= 3600) //60 * 60
|
||||
|
|
Loading…
Reference in a new issue