project_files/HedgewarsMobile/Classes/AboutViewController.m
branchios-rus-localization
changeset 11128 344d523ab9bb
parent 11116 102684240fe8
child 11307 72c46b4923c4
equal deleted inserted replaced
11127:569bf3132ac4 11128:344d523ab9bb
    81 
    81 
    82     // first all the names, then the title (which is offset 5)
    82     // first all the names, then the title (which is offset 5)
    83     cell.textLabel.text = [[self.people objectAtIndex:self.segmentedControl.selectedSegmentIndex] objectAtIndex:[indexPath row]];
    83     cell.textLabel.text = [[self.people objectAtIndex:self.segmentedControl.selectedSegmentIndex] objectAtIndex:[indexPath row]];
    84     cell.textLabel.adjustsFontSizeToFitWidth = YES;
    84     cell.textLabel.adjustsFontSizeToFitWidth = YES;
    85     cell.textLabel.minimumFontSize = 8;
    85     cell.textLabel.minimumFontSize = 8;
    86     cell.detailTextLabel.text = [[self.people objectAtIndex:(self.segmentedControl.selectedSegmentIndex + 5)] objectAtIndex:[indexPath row]];
    86     NSString *detailsKey = [[self.people objectAtIndex:(self.segmentedControl.selectedSegmentIndex + 5)] objectAtIndex:[indexPath row]];
       
    87     cell.detailTextLabel.text = NSLocalizedStringFromTable(detailsKey, @"About", nil);
    87 
    88 
    88     return cell;
    89     return cell;
    89 }
    90 }
    90 
    91 
    91 #pragma mark -
    92 #pragma mark -