1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

update strings file

This commit is contained in:
Mitchell Livingston 2008-02-22 15:39:20 +00:00
parent 2a1b14d238
commit 8850f7b070
3 changed files with 4 additions and 5 deletions

View file

@ -104,7 +104,7 @@
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds
{
return [NSString timeString: seconds showSeconds:showSeconds maxDigits: INT_MAX];
return [NSString timeString: seconds showSeconds:showSeconds maxDigits: UINT_MAX];
}
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds maxDigits: (NSUInteger) max

View file

@ -992,11 +992,10 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
if ([self isError])
{
string = NSLocalizedString(@"Error", "Torrent -> status string");
NSString * errorString = [self errorMessage];
if (!errorString || [errorString isEqualToString: @""])
string = NSLocalizedString(@"Error", "Torrent -> status string");
else
string = [NSLocalizedString(@"Error: ", "Torrent -> status string") stringByAppendingString: errorString];
if (errorString && ![errorString isEqualToString: @""])
string = [NSString stringWithFormat: @"%@: %@", string, errorString];
}
else
{