Ignore:
Timestamp:
Sep 18, 2009, 3:49:55 AM (13 years ago)
Author:
livings124
Message:

in the off chance this ocurs, "1 byte" instead of "1 bytes"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/NSStringAdditions.m

    r9125 r9140  
    4343{
    4444    if (size < 1024)
    45         return [NSString stringWithFormat: @"%lld %@", size, NSLocalizedString(@"bytes", "File size - bytes")];
     45    {
     46        if (size != 1)
     47            return [NSString stringWithFormat: @"%lld %@", size, NSLocalizedString(@"bytes", "File size - bytes")];
     48        else
     49            return NSLocalizedString(@"1 byte", "File size - bytes");
     50    }
    4651
    4752    CGFloat convertedSize;
Note: See TracChangeset for help on using the changeset viewer.