mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
update strings file
This commit is contained in:
parent
2a1b14d238
commit
8850f7b070
3 changed files with 4 additions and 5 deletions
Binary file not shown.
|
@ -104,7 +104,7 @@
|
||||||
|
|
||||||
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds
|
+ (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
|
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds maxDigits: (NSUInteger) max
|
||||||
|
|
|
@ -992,11 +992,10 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
||||||
|
|
||||||
if ([self isError])
|
if ([self isError])
|
||||||
{
|
{
|
||||||
|
string = NSLocalizedString(@"Error", "Torrent -> status string");
|
||||||
NSString * errorString = [self errorMessage];
|
NSString * errorString = [self errorMessage];
|
||||||
if (!errorString || [errorString isEqualToString: @""])
|
if (errorString && ![errorString isEqualToString: @""])
|
||||||
string = NSLocalizedString(@"Error", "Torrent -> status string");
|
string = [NSString stringWithFormat: @"%@: %@", string, errorString];
|
||||||
else
|
|
||||||
string = [NSLocalizedString(@"Error: ", "Torrent -> status string") stringByAppendingString: errorString];
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue