- Timestamp:
- 01/28/11 13:14:41 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
apps/iphone/my.tel/trunk/Classes/ProfileRecordsViewController.m
r793 r794 9 9 #import "ProfileRecordsViewController.h" 10 10 #import "ProfileRecordCell.h" 11 #import "CurrentAccount.h" 11 12 12 13 #define kNINFOMaxLength 255 // NINFO max length … … 423 424 #endif 424 425 426 CurrentAccount *currentAccount = [CurrentAccount sharedInstance]; 425 427 NSMutableDictionary *uiItem; 426 428 if (!jsonItem) { … … 474 476 if ([jsonItem objectForKey:@"terminal"] && [[jsonItem objectForKey:@"terminal"] integerValue] == 0) { //nonterminal 475 477 [uiItem setValue:@"0" forKey:@"terminal"]; 476 [uiItem setObject:[ self.skeysDict objectForKey:@"ntn"] forKey:@"service"];478 [uiItem setObject:[currentAccount localizedNameForService:@"ntn"] forKey:@"service"]; 477 479 [uiItem setObject:(NSString *)[[ProfileRecordsViewController imageMappings] objectForKey:@"ntn"] forKey:@"imageName"]; 478 480 return uiItem; … … 502 504 [sPart appendString:@" & "]; 503 505 } 504 if ([self.skeysDict objectForKey:anS]) { 505 [sPart appendString:[self.skeysDict objectForKey:anS]]; 506 } else { 507 [sPart appendString:anS]; 508 } 506 [sPart appendString:[currentAccount localizedNameForService:anS]]; 509 507 } 510 508 } … … 515 513 [liPart appendString:@" & "]; 516 514 NSString *anLI = (NSString *)[[jsonItem objectForKey:@"locations"] objectAtIndex:i]; 517 [liPart appendString:[ self.liDict objectForKey:anLI]];515 [liPart appendString:[currentAccount localizedNameForLocation:anLI]]; 518 516 if ([anLI isEqualToString:@"x-mobile"] && couldbeMobilePhone) { 519 517 [uiItem setObject:[[ProfileRecordsViewController imageMappings] objectForKey:@"mobile"] forKey:@"imageName"];








