From bb8613c0076aa50c91d771063d21cd797037c3a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 9 Jun 2021 12:49:01 +0200 Subject: [PATCH] Revert "Csv-Import-Controller: Fehlermeldung des Csv-Helper mit ausgeben." This reverts commit 63183d06c5d1631c93068ac4cd3b373b08714c31. --- SL/Controller/CsvImport.pm | 2 +- locale/de/all | 2 +- locale/en/all | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index 05043d9d3..b95f6fc6d 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -104,7 +104,7 @@ sub action_result { $self->profile($profile); if ($data->{errors} and my $first_error = $data->{errors}->[0]) { - flash('error', $::locale->text('There was an error parsing the csv file: #1 in line #2: #3', $first_error->[2], $first_error->[0], $first_error->[1])); + flash('error', $::locale->text('There was an error parsing the csv file: #1 in line #2.', $first_error->[2], $first_error->[0])); } if ($data->{progress}{finished} || $data->{errors}) { diff --git a/locale/de/all b/locale/de/all index e203f9a0d..de09f6de2 100755 --- a/locale/de/all +++ b/locale/de/all @@ -3684,7 +3684,7 @@ $self->{texts} = { 'There is one or more sections for which no part has been assigned yet; therefore creating the new record is not possible yet.' => 'Es gibt einen oder mehrere Abschnitte ohne Artikelzuweisung; daher kann der neue Beleg noch nicht erstellt werden.', 'There was an error deleting the draft' => 'Beim Löschen des Entwurfs ist ein Fehler aufgetretetn', 'There was an error executing the background job.' => 'Bei der Ausführung des Hintergrund-Jobs trat ein Fehler auf.', - 'There was an error parsing the csv file: #1 in line #2: #3' => 'Es gab einen Fehler beim Parsen der CSV Datei: "#1" in der Zeile "#2": "#3"', + 'There was an error parsing the csv file: #1 in line #2.' => 'Es gab einen Fehler beim Parsen der CSV Datei: "#1" in der Zeile "#2"', 'There was an error saving the draft' => 'Beim Speichern des Entwurfs ist ein Fehler aufgetretetn', 'There was an error saving the letter' => 'Ein Fehler ist aufgetreten. Der Brief konnte nicht gespeichert werden.', 'There was an error saving the letter draft' => 'Ein Fehler ist aufgetreten. Der Briefentwurf konnte nicht gespeichert werden.', diff --git a/locale/en/all b/locale/en/all index 2ca236828..15ff9e101 100644 --- a/locale/en/all +++ b/locale/en/all @@ -3683,7 +3683,7 @@ $self->{texts} = { 'There is one or more sections for which no part has been assigned yet; therefore creating the new record is not possible yet.' => '', 'There was an error deleting the draft' => '', 'There was an error executing the background job.' => '', - 'There was an error parsing the csv file: #1 in line #2: #3' => '', + 'There was an error parsing the csv file: #1 in line #2.' => '', 'There was an error saving the draft' => '', 'There was an error saving the letter' => '', 'There was an error saving the letter draft' => '', -- 2.20.1