mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #4524 from isocolsky/fix/error-message
Simplify error message
This commit is contained in:
commit
b38f502ffb
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue