From cc712b0c75535f1cb9dd5027c8a1f86d6ac93a30 Mon Sep 17 00:00:00 2001 From: Robert Horlings Date: Mon, 18 Jan 2016 12:31:45 +0100 Subject: [PATCH] Updated message identifier for unknown opposing account --- app/Helpers/Csv/Specifix/AbnAmroDescription.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Helpers/Csv/Specifix/AbnAmroDescription.php b/app/Helpers/Csv/Specifix/AbnAmroDescription.php index 49295b28e9..6e6dc4f02a 100644 --- a/app/Helpers/Csv/Specifix/AbnAmroDescription.php +++ b/app/Helpers/Csv/Specifix/AbnAmroDescription.php @@ -29,9 +29,10 @@ class AbnAmroDescription // Try to parse the description in known formats. $parsed = $this->parseSepaDescription() || $this->parseTRTPDescription() || $this->parseGEABEADescription() || $this->parseABNAMRODescription(); - // If the description could not be parsed, specify an unknown opposing account, as an opposing account is required + // If the description could not be parsed, specify an unknown opposing + // account, as an opposing account is required if( !$parsed ) { - $this->data[ "opposing-account-name" ] = trans('unknown'); + $this->data[ "opposing-account-name" ] = trans('firefly.unknown'); } return $this->data;