minor fixes

This commit is contained in:
Igor Zhukov 2015-08-25 18:35:50 +03:00
parent 90df02e10b
commit 4976c7d413
3 changed files with 5 additions and 3 deletions

View File

@ -360,11 +360,13 @@ angular.module('myApp.controllers', ['myApp.i18n'])
switch (error.type) {
case 'PASSWORD_EMPTY':
$scope.logIn();
error.handled = true;
break;
case 'PASSWORD_RECOVERY_NA':
$timeout(function () {
$scope.canReset = true;
}, 1000);
error.handled = true;
break;
}
})

View File

@ -599,7 +599,7 @@ TLDeserialization.prototype.fetchObject = function (type, field) {
}
}
if (!constructorData) {
throw new Error('Constructor not found: ' + constructor);
throw new Error('Constructor not found: ' + constructor +' '+ this.fetchInt()+' '+ this.fetchInt());
}
}

View File

@ -423,8 +423,8 @@
"login_generating_key": "Generating keys",
"login_generating_keys_info": "Keys are only generated once. This can take a few minutes on slower devices, please be patient.",
"login_edit_number": "Edit phone number",
"login_enter_code_label_md": "Please enter the code you've just received in your other **Telegram** app",
"login_code_not_received": "Haven't received the code?",
"login_enter_code_label_md": "We've sent you a code via **Telegram** (not SMS).\nPlease check your Telegram messages and enter the code below.",
"login_code_not_received": "Send code via SMS",
"login_enter_sms_code_label_md": "We have sent you a code via SMS.\nPlease enter it below.",
"login_call_remaining": "Telegram will call you in {remaining}",
"login_calling": "Telegram is calling you",