This commit is contained in:
James Cole
2020-08-22 19:46:08 +02:00
parent 5e0c0e25f2
commit 1dfda62125
5 changed files with 16 additions and 30 deletions

View File

@@ -136,7 +136,7 @@ class AccountValidator
switch ($this->transactionType) {
default:
$result = false;
$this->sourceError = 'Firefly III cannot validate the account information you submitted.';
$this->sourceError = trans('validation.invalid_account_info');
Log::error(sprintf('AccountValidator::validateSource cannot handle "%s", so it will always return false.', $this->transactionType));
break;
case TransactionType::WITHDRAWAL: