plain strings in in-app tuto to localized strings
Change-Id: I20cf3a3095015a72a8db46248a196c70f399f84f
This commit is contained in:
@@ -484,7 +484,7 @@
|
||||
|
||||
if (indexPath.section == 0){
|
||||
if ([self.comManager.autoDiscoveryServers count] == 0){
|
||||
cell.textLabel.text = NSLocalizedString(self.searchStateText, nil);
|
||||
cell.textLabel.text = self.searchStateText;
|
||||
cell.textLabel.lineBreakMode = UILineBreakModeClip;
|
||||
cell.selectionStyle = self.style;
|
||||
|
||||
|
@@ -40,11 +40,11 @@
|
||||
[[self view] addSubview:self.pageController.view];
|
||||
[self.pageController didMoveToParentViewController:self];
|
||||
|
||||
UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Ok, thanks", nil) style:UIBarButtonItemStyleBordered target:self action:@selector(handleBack)];
|
||||
UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Ok, thanks", @"backButton for Tutorial") style:UIBarButtonItemStyleBordered target:self action:@selector(handleBack)];
|
||||
[backButton setBackgroundImage:[UIImage imageNamed:@"backButton"] forState:UIControlStateNormal barMetrics:UIBarMetricsDefault];
|
||||
self.navigationItem.leftBarButtonItem = backButton;
|
||||
|
||||
[self setTitle:NSLocalizedString(@"How-to", nil)];
|
||||
[self setTitle:NSLocalizedString(@"How-to", @"In app How-to title")];
|
||||
|
||||
self.navigationController.navigationBar.translucent = NO;
|
||||
}
|
||||
|
@@ -31,16 +31,16 @@
|
||||
switch (self.index) {
|
||||
case 0:
|
||||
[self.image setImage:[UIImage imageNamed:@"WTconnection"]];
|
||||
self.instructionText.text = @"Connect your devices to the same WiFi network.";
|
||||
self.instructionHint.text = @"Create a personal hotspot on your iPhone if needed.";
|
||||
self.instructionTitle.text = @"Connection";
|
||||
self.instructionText.text = NSLocalizedString(@"Connect your devices to the same WiFi network.", @"connect instructions");
|
||||
self.instructionHint.text = NSLocalizedString(@"Create a personal hotspot on your iPhone if needed.", @"connect instructions");
|
||||
self.instructionTitle.text = NSLocalizedString(@"Connection", @"instruction page title");
|
||||
[self.hintImage setImage:[UIImage imageNamed:@"WTConnectionHotspot"]];
|
||||
break;
|
||||
case 1:
|
||||
[self.image setImage:[UIImage imageNamed:@"WTconnecting"]];
|
||||
self.instructionText.text = @"Launch Impress & select your computer.";
|
||||
self.instructionHint.text = @"Enter the PIN code in SlideShow - Impress Remote";
|
||||
self.instructionTitle.text = @"Pairing";
|
||||
self.instructionText.text = NSLocalizedString(@"Launch Impress & select your computer.", @"Pairing instruction text");
|
||||
self.instructionHint.text = NSLocalizedString(@"Enter the PIN code in SlideShow - Impress Remote", @"Pairing instruction text");
|
||||
self.instructionTitle.text = NSLocalizedString(@"Pairing", @"Pairing instruction title");
|
||||
[self.hintImage setImage:[UIImage imageNamed:@"WTPairing"]];
|
||||
break;
|
||||
case 2:{
|
||||
@@ -49,7 +49,7 @@
|
||||
else
|
||||
[self.image setImage:[UIImage imageNamed:@"WTcontrol~ipad"]];
|
||||
// self.instructionText.text = @"Control your presentation at your fingertips!";
|
||||
self.instructionTitle.text = @"Control";
|
||||
self.instructionTitle.text = NSLocalizedString(@"Control", @"Control instruction title");
|
||||
UIImage *backgroundImage = [UIImage imageNamed:@"buttonBackground"];
|
||||
UIEdgeInsets insets = UIEdgeInsetsMake(20, 7, 20, 7);
|
||||
UIImage *stretchableBackgroundImage = [backgroundImage resizableImageWithCapInsets:insets];
|
||||
|
Reference in New Issue
Block a user