Changeset 11207 for trunk/macosx/Controller.m
- Timestamp:
- Sep 12, 2010, 10:20:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r11178 r11207 335 335 tr_bencDictAddBool(&settings, TR_PREFS_KEY_START, [fDefaults boolForKey: @"AutoStartDownload"]); 336 336 337 tr_formatter_size_init(1024, [NSLocalizedString(@"KB", "File size - kilobytes") UTF8String], 337 tr_formatter_size_init([NSApp isOnSnowLeopardOrBetter] ? 1000 : 1024, 338 [NSLocalizedString(@"KB", "File size - kilobytes") UTF8String], 338 339 [NSLocalizedString(@"MB", "File size - megabytes") UTF8String], 339 340 [NSLocalizedString(@"GB", "File size - gigabytes") UTF8String], 340 341 [NSLocalizedString(@"TB", "File size - terabytes") UTF8String]); 341 342 342 tr_formatter_speed_init(1024, [NSLocalizedString(@"KB/s", "Transfer speed (kilobytes per second)") UTF8String], 343 tr_formatter_speed_init([NSApp isOnSnowLeopardOrBetter] ? 1000 : 1024, 344 [NSLocalizedString(@"KB/s", "Transfer speed (kilobytes per second)") UTF8String], 343 345 [NSLocalizedString(@"MB/s", "Transfer speed (megabytes per second)") UTF8String], 344 346 [NSLocalizedString(@"GB/s", "Transfer speed (gigabytes per second)") UTF8String],
Note: See TracChangeset
for help on using the changeset viewer.