mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
one less localizable string
This commit is contained in:
parent
66f7c47f3e
commit
a46738b3ca
2 changed files with 5 additions and 2 deletions
|
@ -986,9 +986,12 @@ int trashDataFile(const char * filename)
|
||||||
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ selected", "Torrent -> progress string"),
|
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ selected", "Torrent -> progress string"),
|
||||||
[NSString stringForFileSize: [self haveTotal]]];
|
[NSString stringForFileSize: [self haveTotal]]];
|
||||||
else
|
else
|
||||||
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@ (%@)", "Torrent -> progress string"),
|
{
|
||||||
[NSString stringForFileSize: [self haveTotal]], [NSString stringForFileSize: [self size]],
|
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@", "Torrent -> progress string"),
|
||||||
|
[NSString stringForFileSize: [self haveTotal]], [NSString stringForFileSize: [self size]]];
|
||||||
|
downloadString = [downloadString stringByAppendingFormat: @" (%@)",
|
||||||
[NSString percentString: [self progress] longDecimals: YES]];
|
[NSString percentString: [self progress] longDecimals: YES]];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
downloadString = [NSString stringForFileSize: [self size]];
|
downloadString = [NSString stringForFileSize: [self size]];
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue