# HG changeset patch # User antonc27 # Date 1439605233 -7200 # Node ID 344d523ab9bb36c5b25e76301aecfe672bc2b4b8 # Parent 569bf3132ac43900c2b6602a997edca4bc05191a - Fix for localization of detail labels at AboutViewController diff -r 569bf3132ac4 -r 344d523ab9bb project_files/HedgewarsMobile/Classes/AboutViewController.m --- a/project_files/HedgewarsMobile/Classes/AboutViewController.m Sat Aug 15 02:41:35 2015 +0200 +++ b/project_files/HedgewarsMobile/Classes/AboutViewController.m Sat Aug 15 04:20:33 2015 +0200 @@ -83,7 +83,8 @@ cell.textLabel.text = [[self.people objectAtIndex:self.segmentedControl.selectedSegmentIndex] objectAtIndex:[indexPath row]]; cell.textLabel.adjustsFontSizeToFitWidth = YES; cell.textLabel.minimumFontSize = 8; - cell.detailTextLabel.text = [[self.people objectAtIndex:(self.segmentedControl.selectedSegmentIndex + 5)] objectAtIndex:[indexPath row]]; + NSString *detailsKey = [[self.people objectAtIndex:(self.segmentedControl.selectedSegmentIndex + 5)] objectAtIndex:[indexPath row]]; + cell.detailTextLabel.text = NSLocalizedStringFromTable(detailsKey, @"About", nil); return cell; }