project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m
branchios-revival
changeset 11233 e21027aa9068
parent 11229 b49dfdf628f6
child 12872 00215a7ec5f5
equal deleted inserted replaced
11232:0425d60cd046 11233:e21027aa9068
   177                 [theSwitch release];
   177                 [theSwitch release];
   178             }
   178             }
   179 
   179 
   180             switchContent = (UISwitch *)cell.accessoryView;
   180             switchContent = (UISwitch *)cell.accessoryView;
   181             if (row == 0) {
   181             if (row == 0) {
   182                 cell.textLabel.text = NSLocalizedString(@"Sound Effects", @"from the settings table");
   182                 cell.textLabel.text = NSLocalizedString(@"Sound", @"from the settings table");
   183                 switchContent.on = [[settings objectForKey:@"sound"] boolValue];
   183                 switchContent.on = [[settings objectForKey:@"sound"] boolValue];
   184                 switchContent.tag = 10;
   184                 switchContent.tag = 10;
   185             } else {
   185             } else {
   186                 cell.textLabel.text = NSLocalizedString(@"Music", @"from the settings table");
   186                 cell.textLabel.text = NSLocalizedString(@"Music", @"from the settings table");
   187                 switchContent.on = [[settings objectForKey:@"music"] boolValue];
   187                 switchContent.on = [[settings objectForKey:@"music"] boolValue];