adjust locallizable strings in authenticationViewController

This commit is contained in:
Stephan Diederich
2013-09-07 16:02:47 +02:00
parent bdb8b690e7
commit 41b1d72f83

View File

@@ -110,7 +110,7 @@
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section { - (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section {
if (section == 0) { if (section == 0) {
return BITHockeyLocalizedString(@"HockeyAuthenticationDataDescription"); return BITHockeyLocalizedString(@"HockeyAuthenticationViewControllerDataDescription");
} }
return nil; return nil;
@@ -136,7 +136,7 @@
textField.backgroundColor = [UIColor lightGrayColor]; textField.backgroundColor = [UIColor lightGrayColor];
if (0 == [indexPath row]) { if (0 == [indexPath row]) {
textField.placeholder = BITHockeyLocalizedString(@"HockeyFeedbackUserDataEmailPlaceholder"); textField.placeholder = BITHockeyLocalizedString(@"HockeyAuthenticationViewControllerEmailPlaceholder");
textField.text = self.email; textField.text = self.email;
textField.keyboardType = UIKeyboardTypeEmailAddress; textField.keyboardType = UIKeyboardTypeEmailAddress;
@@ -148,7 +148,7 @@
[textField addTarget:self action:@selector(userEmailEntered:) forControlEvents:UIControlEventEditingChanged]; [textField addTarget:self action:@selector(userEmailEntered:) forControlEvents:UIControlEventEditingChanged];
[textField becomeFirstResponder]; [textField becomeFirstResponder];
} else { } else {
textField.placeholder = BITHockeyLocalizedString(@"HockeyAuthenticatorViewControllerPasswordPlaceHolder"); textField.placeholder = BITHockeyLocalizedString(@"HockeyAuthenticationViewControllerPasswordPlaceholder");
textField.text = self.password; textField.text = self.password;
textField.keyboardType = UIKeyboardTypeDefault; textField.keyboardType = UIKeyboardTypeDefault;
@@ -171,9 +171,9 @@
} }
if (0 == [indexPath row]) { if (0 == [indexPath row]) {
cell.textLabel.text = BITHockeyLocalizedString(@"HockeyFeedbackUserDataEmail"); cell.textLabel.text = BITHockeyLocalizedString(@"HockeyAuthenticationViewControllerEmailDescription");
} else { } else {
cell.textLabel.text = BITHockeyLocalizedString(@"HockeyAuthenticationViewControllerPassword"); cell.textLabel.text = BITHockeyLocalizedString(@"HockeyAuthenticationViewControllerPasswordDescription");
} }
return cell; return cell;