# HG changeset patch
# User antonc27 <antonc27@mail.ru>
# Date 1446583385 -3600
# Node ID c0d6f6ffa7980d87f82ad17a43aa6b76b629af37
# Parent  9e0fe32aff59f043b7f105dc8a3127c2c390f715
- Fix for localization of game settings detailLabel in SingleSchemeViewController

diff -r 9e0fe32aff59 -r c0d6f6ffa798 project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m
--- a/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Tue Nov 03 04:49:50 2015 +0100
+++ b/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Tue Nov 03 21:43:05 2015 +0100
@@ -280,10 +280,10 @@
     UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
     // grab the associated labels
     UILabel *detailLabel = (UILabel *)cell.detailTextLabel;
-    UILabel *cellLabel = (UILabel *)[cell.contentView viewWithTag:LABEL_TAG];
     // modify it
 
-    checkValueString(detailLabel.text,cellLabel.text,theSlider);
+    NSString *basicSettingTitleKey = [[self.basicSettingList objectAtIndex:[indexPath row]] objectForKey:@"title"];
+    checkValueString(detailLabel.text,basicSettingTitleKey,theSlider);
 
     // save changes in the main array
     NSMutableArray *array = [self.schemeDictionary objectForKey:@"basic"];
diff -r 9e0fe32aff59 -r c0d6f6ffa798 project_files/HedgewarsMobile/Locale/ru.lproj/Localizable.strings
Binary file project_files/HedgewarsMobile/Locale/ru.lproj/Localizable.strings has changed