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
{