project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m
changeset 3884 d7479079a8a8
parent 3829 81db3c85784b
child 3935 5ca27a0e9a63
equal deleted inserted replaced
3883:5934ddf9ed5d 3884:d7479079a8a8
   204             }
   204             }
   205             
   205             
   206             switchContent = (UISwitch *)cell.accessoryView;
   206             switchContent = (UISwitch *)cell.accessoryView;
   207             if (row == 0) {
   207             if (row == 0) {
   208                 cell.textLabel.text = NSLocalizedString(@"Alternate Damage", @"");
   208                 cell.textLabel.text = NSLocalizedString(@"Alternate Damage", @"");
   209                 cell.detailTextLabel.text = NSLocalizedString(@"A damage popup will appear when a hedgehog is injured", @"");
   209                 cell.detailTextLabel.text = NSLocalizedString(@"Damage popups will notify you on every single hit a hedgehog suffers", @"");
   210                 switchContent.on = [[self.settingsDictionary objectForKey:@"alternate"] boolValue];
   210                 switchContent.on = [[self.settingsDictionary objectForKey:@"alternate"] boolValue];
   211                 switchContent.tag = 30;
   211                 switchContent.tag = 30;
   212             } else {
   212             } else {
   213                 /*
   213                 /*
   214                 cell.textLabel.text = NSLocalizedString(@"Get Ready Dialogue", @"");
   214                 cell.textLabel.text = NSLocalizedString(@"Get Ready Dialogue", @"");