mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
adjust locallizable strings in authenticationViewController
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user