project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
branchios-revival
changeset 11354 a0163b8302c5
parent 11352 d98070707214
child 11554 893722a2a1f9
equal deleted inserted replaced
11353:62af5c67662d 11354:a0163b8302c5
   208     label.textAlignment = UITextAlignmentCenter;
   208     label.textAlignment = UITextAlignmentCenter;
   209     label.font = [UIFont italicSystemFontOfSize:12];
   209     label.font = [UIFont italicSystemFontOfSize:12];
   210     label.textColor = [UIColor whiteColor];
   210     label.textColor = [UIColor whiteColor];
   211     label.numberOfLines = 2;
   211     label.numberOfLines = 2;
   212     label.backgroundColor = [UIColor clearColor];
   212     label.backgroundColor = [UIColor clearColor];
   213     label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
   213     label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleWidth;
   214 
   214 
   215     if (section == 0)
   215     if (section == 0)
   216         label.text = NSLocalizedString(@"Tap to add hogs or change color, touch and hold to remove a team.",@"");
   216         label.text = NSLocalizedString(@"Tap to add hogs or change color, touch and hold to remove a team.",@"");
   217     else
   217     else
   218         label.text = NSLocalizedString(@"The robot badge indicates an AI-controlled team.",@"");
   218         label.text = NSLocalizedString(@"The robot badge indicates an AI-controlled team.",@"");