Merge pull request #4524 from isocolsky/fix/error-message

Simplify error message
This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-30 17:31:12 -03:00 committed by GitHub
commit b38f502ffb
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ angular.module('copayApp.controllers').controller('importController',
var parsedCode = code.split('|');
if (parsedCode.length != 5) {
$scope.error = gettext('Cannot read the code properly. Missing parameters');
/// Trying to import a malformed wallet export QR code
$scope.error = gettext('Incorrect code format');
return;
}