equal
deleted
inserted
replaced
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]; |