Changeset 9140
- Timestamp:
- Sep 18, 2009, 3:49:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/NSStringAdditions.m
r9125 r9140 43 43 { 44 44 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 } 46 51 47 52 CGFloat convertedSize;
Note: See TracChangeset
for help on using the changeset viewer.