--- a/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m Thu Oct 22 21:57:05 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m Thu Oct 22 22:21:35 2015 +0200
@@ -30,7 +30,7 @@
#pragma mark -
#pragma mark View Lifecycle
-(void) viewDidLoad {
- self.navigationItem.title = @"Edit game options";
+ self.navigationItem.title = NSLocalizedString(@"Edit game options", nil);
[super viewDidLoad];
}
--- a/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m Thu Oct 22 21:57:05 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m Thu Oct 22 22:21:35 2015 +0200
@@ -40,7 +40,7 @@
self.navigationItem.rightBarButtonItem = editButton;
[editButton release];
- self.navigationItem.title = @"List of schemes";
+ self.navigationItem.title = NSLocalizedString(@"List of schemes", nil);
}
-(void) viewWillAppear:(BOOL) animated {
--- a/project_files/HedgewarsMobile/Classes/SupportViewController.m Thu Oct 22 21:57:05 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/SupportViewController.m Thu Oct 22 22:21:35 2015 +0200
@@ -154,7 +154,7 @@
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 20)];
label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
label.textAlignment = UITextAlignmentCenter;
- label.text = @" ♥ THANK YOU ♥ ";
+ label.text = NSLocalizedString(@" ♥ THANK YOU ♥ ", nil);
label.backgroundColor = [UIColor clearColor];
label.center = CGPointMake(self.tableView.frame.size.width/2, 250);
[footer addSubview:label];
--- a/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m Thu Oct 22 21:57:05 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m Thu Oct 22 22:21:35 2015 +0200
@@ -41,7 +41,7 @@
self.navigationItem.rightBarButtonItem = editButton;
[editButton release];
- self.navigationItem.title = @"List of teams";
+ self.navigationItem.title = NSLocalizedString(@"List of teams", nil);
}
// load the list of teams in the teams directory
--- a/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Thu Oct 22 21:57:05 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Thu Oct 22 22:21:35 2015 +0200
@@ -40,7 +40,7 @@
self.navigationItem.rightBarButtonItem = editButton;
[editButton release];
- self.navigationItem.title = @"List of weapons";
+ self.navigationItem.title = NSLocalizedString(@"List of weapons", nil);
}
-(void) viewWillAppear:(BOOL) animated {
Binary file project_files/HedgewarsMobile/Locale/English.lproj/Localizable.strings has changed