pull/1/head
Frederic Jacobs 11 years ago
parent ae50395297
commit 611f5c5f0b

@ -275,7 +275,7 @@
TOCUntilOperation callStarter = ^TOCFuture *(TOCCancelToken* internalUntilCancelledToken) {
HttpRequest* voiceVerifyReq = [HttpRequest httpRequestToStartRegistrationOfPhoneNumberWithVoice];
[self.voiceChallengeTextLabel setText:@"Calling" ];
[self.voiceChallengeTextLabel setText:NSLocalizedString(@"REGISTER_CALL_CALLING", @"")];
return [HttpManager asyncOkResponseFromMasterServer:voiceVerifyReq
unlessCancelled:internalUntilCancelledToken
andErrorHandler:[Environment errorNoter]];
@ -291,13 +291,11 @@
[futureVoiceVerificationStarted finallyTry:^(id _id) {
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, VOICE_VERIFICATION_COOLDOWN_SECONDS * NSEC_PER_SEC);
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
[self.voiceChallengeTextLabel setText:@"Re-Call"];
[self.voiceChallengeTextLabel setText:NSLocalizedString(@"REGISTER_CALL_RECALL", @"")];
});
return _id;
}];
}
- (IBAction)initiateVoiceVerificationButtonHandler {

@ -91,6 +91,8 @@
"RECENT_CALLS_SORTING_TITLE" = "Sorting Method";
"RECENT_NAV_BAR_TITLE" = "Call Log";
"REGISTER_BUTTON_TITLE" = "REGISTER";
"REGISTER_CALL_CALLING" = "Calling";
"REGISTER_CALL_RECALL" = "Re-Call";
"REGISTER_CC_ERR_ALERT_VIEW_MESSAGE" = "Please enter a valid country code";
"REGISTER_CC_ERR_ALERT_VIEW_TITLE" = "Country Code Error";
"REGISTER_CHALLENGE_TEXTBLOCK_PART1" = "Lets make sure youre real. We've sent you a SMS with a six digit code to:";

Loading…
Cancel
Save