Changeset 516
- Timestamp:
- 03/31/08 17:57:10 (9 months ago)
- Files:
-
- trunk/SapphireFrappliance/SapphireCollectionSettings.m (modified) (3 diffs)
- trunk/SapphireFrappliance/SapphireImporterDataMenu.m (modified) (4 diffs)
- trunk/SapphireFrappliance/SapphireSettings.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SapphireFrappliance/SapphireCollectionSettings.m
r472 r516 23 23 #import "SapphireMediaPreview.h" 24 24 #import <SapphireCompatClasses/SapphireFrontRowCompat.h> 25 #import "NSString-Extensions.h" 25 26 26 27 @implementation SapphireCollectionSettings … … 94 95 95 96 // add text 96 [SapphireFrontRowCompat setTitle: nameforMenu:result];97 [SapphireFrontRowCompat setTitle:[NSString stringByCroppingDirectoryPath:name toLength:3] forMenu:result]; 97 98 98 99 return ( result ) ; … … 158 159 if([settingName hasPrefix:@"Hide"]) 159 160 { 160 settingName = [NSString stringWithFormat:@"Hide Collection \"%@\"",[ names objectAtIndex:item]];161 settingDescription=BRLocalizedString(@" tells Sapphire to hide this collection on the main menu.", @"Hide collections setting description");161 settingName = [NSString stringWithFormat:@"Hide Collection \"%@\"",[NSString stringByCroppingDirectoryPath:[names objectAtIndex:item] toLength:3]]; 162 settingDescription=BRLocalizedString(@"Tells Sapphire to hide this collection on the main menu.", @"Hide collections setting description"); 162 163 } 163 164 else 164 165 { 165 settingName = [NSString stringWithFormat:@"Don't Import \"%@\"",[ names objectAtIndex:item]];166 settingDescription=BRLocalizedString(@" tells Sapphire to ignore this collection when running any import tool.", @"Import collections setting description");166 settingName = [NSString stringWithFormat:@"Don't Import \"%@\"",[NSString stringByCroppingDirectoryPath:[names objectAtIndex:item] toLength:3]]; 167 settingDescription=BRLocalizedString(@"Tells Sapphire to ignore this collection when running any import tool.", @"Import collections setting description"); 167 168 } 168 169 /* Construct a gerneric metadata asset for display */ trunk/SapphireFrappliance/SapphireImporterDataMenu.m
r506 r516 25 25 #import "SapphireImportHelper.h" 26 26 #import "SapphireApplianceController.h" 27 #import "NSString-Extensions.h" 27 28 28 29 @interface BRLayerController (compatounth) … … 231 232 - (void)scanningDir:(NSString *)dir 232 233 { 233 [self setCurrentFile:[NSString stringWithFormat:BRLocalizedString(@"Scanning Directory: %@", "Current scan import process format, directory"), dir]];234 [self setCurrentFile:[NSString stringWithFormat:BRLocalizedString(@"Scanning Directory: %@", "Current scan import process format, directory"),[NSString stringByCroppingDirectoryPath:dir toLength:3]]]; 234 235 [SapphireFrontRowCompat renderScene:[self scene]]; 235 236 } … … 299 300 SapphireFileMetaData *fileMeta = [importItems objectAtIndex:0]; 300 301 NSString * fileName=[[fileMeta path] lastPathComponent] ; 301 [self setCurrentFile:[NSString stringWithFormat:BRLocalizedString(@" Current File: %@", "Current TV Show import process format, filename"),fileName]];302 [self setCurrentFile:[NSString stringWithFormat:BRLocalizedString(@"Fetching For: %@", "Current TV Show import process format, filename"),fileName]]; 302 303 303 304 current++ ; … … 319 320 else 320 321 [self setCurrentFile:BRLocalizedString(@"Waiting for background import to complete", @"The import is complete, just waiting on background processes")]; 321 [self setFileProgress:[NSString stringWithFormat:BRLocalizedString(@"Fi le Progress: %0.0f / %0.0f", @"Import progress format, current and the max"), current, max,updated]];322 [self setFileProgress:[NSString stringWithFormat:BRLocalizedString(@"Finished Processing: %0.0f / %0.0f", @"Import progress format, current and the max"), current, max,updated]]; 322 323 [bar setPercentage:current/max * 100.0f]; 323 324 trunk/SapphireFrappliance/SapphireSettings.m
r491 r516 31 31 #import "SapphireCollectionSettings.h" 32 32 #import <SapphireCompatClasses/SapphireFrontRowCompat.h> 33 #import "NSString-Extensions.h" 33 34 34 35 static SapphireSettings *sharedInstance = nil; … … 100 101 /* BRLocalizedString(@"Choose Movie Posters", @"Start Poster Chooser description"),*/ 101 102 BRLocalizedString(@"Allows the user to specify which collections should be hidden from Sapphire's main menu.", @"Hide Collections description"), 102 BRLocalizedString(@"Allows t ouser to specify which collections should be skipped when importing meta data.", @"Don't Import Collections description"),103 BRLocalizedString(@"Allows the user to specify which collections should be skipped when importing meta data.", @"Don't Import Collections description"), 103 104 BRLocalizedString(@"Tells Sapphire that when changing filter settings, skip over the favorite shows filter.", @"Skip Favorite shows description"), 104 105 /* BRLocalizedString(@"Skip \"Top Shows\" filter", @"Skip Top shows description"),*/ … … 111 112 BRLocalizedString(@"Tells Sapphire that when using a filter, use the cached data to setup directories rather than scanning the directories themselves for new files.", @"Fast Directory Switching description"), 112 113 BRLocalizedString(@"Tells Sapphire that you have an AC3 decoder and to enable passthrough of the full audio information to the decoder. This is how you get 5.1 output.", @"Enable AC3 Passthrough description"), 113 BRLocalizedString(@"Tells Sapphire that you want to use directory instead of filenames for movie lookup", @"Enable Directory lookup description"),114 BRLocalizedString(@"Tells Sapphire that you want to use directory names instead of file names for identifying movies.", @"Enable Directory lookup description"), 114 115 BRLocalizedString(@"Tells Sapphire to not report any anonymous information on how you use Sapphire. Anonymous reporting enables us to improve the plugin for future use.", @"Disable the anonymous reporting description"), nil]; 115 116
