From 98ff469f0b774b8f1bd9981e58ade0284c091f7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20E=C3=9Fl?= <indy.essl@gmail.com>
Date: Fri, 28 Feb 2020 21:40:45 +0100
Subject: [PATCH] [BUGFIX] Fix spelling errors in ext:impexp

Resolves: #90587
Releases: master
Change-Id: Ia85673a693d0de19745379c79dba157e33aa6804
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63493
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Susanne Moog <look@susi.dev>
---
 .../impexp/Classes/Domain/Repository/PresetRepository.php     | 2 +-
 typo3/sysext/impexp/Classes/Import.php                        | 4 ++--
 typo3/sysext/impexp/Classes/ImportExport.php                  | 2 +-
 .../impexp/Resources/Private/Language/locallang_csh.xlf       | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php b/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php
index a7a2fb6520bb..02e4764d40c4 100644
--- a/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php
+++ b/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php
@@ -195,7 +195,7 @@ class PresetRepository
                         $inData = $inData_temp;
                     }
                 } else {
-                    $msg = 'ERROR: No configuratio data found in preset record!';
+                    $msg = 'ERROR: No configuration data found in preset record!';
                     $err = true;
                 }
             } else {
diff --git a/typo3/sysext/impexp/Classes/Import.php b/typo3/sysext/impexp/Classes/Import.php
index f7301012e59c..fac8c4fb4d3a 100644
--- a/typo3/sysext/impexp/Classes/Import.php
+++ b/typo3/sysext/impexp/Classes/Import.php
@@ -979,7 +979,7 @@ class Import extends ImportExport
     public function setRelations()
     {
         $updateData = [];
-        // import_newId contains a register of all records that was in the import memorys "records" key
+        // import_newId contains a register of all records that was in the import memory's "records" key
         foreach ($this->import_newId as $nId => $dat) {
             $table = $dat['table'];
             $uid = $dat['uid'];
@@ -1119,7 +1119,7 @@ class Import extends ImportExport
     public function setFlexFormRelations()
     {
         $updateData = [];
-        // import_newId contains a register of all records that was in the import memorys "records" key
+        // import_newId contains a register of all records that were in the import memory's "records" key
         foreach ($this->import_newId as $nId => $dat) {
             $table = $dat['table'];
             $uid = $dat['uid'];
diff --git a/typo3/sysext/impexp/Classes/ImportExport.php b/typo3/sysext/impexp/Classes/ImportExport.php
index dc6f7ff851ed..0f1c6bfcd688 100644
--- a/typo3/sysext/impexp/Classes/ImportExport.php
+++ b/typo3/sysext/impexp/Classes/ImportExport.php
@@ -1113,7 +1113,7 @@ abstract class ImportExport
      * Will return HTML code to show any differences between them!
      *
      * @param array $databaseRecord Database record, all fields (new values)
-     * @param array $importRecord Import memorys record for the same table/uid, all fields (old values)
+     * @param array $importRecord Import memory records for the same table/uid, all fields (old values)
      * @param string $table The table name of the record
      * @param bool $inverseDiff Inverse the diff view (switch red/green, needed for pre-update difference view)
      * @return string HTML
diff --git a/typo3/sysext/impexp/Resources/Private/Language/locallang_csh.xlf b/typo3/sysext/impexp/Resources/Private/Language/locallang_csh.xlf
index bff60f2784c8..4b3997c35063 100644
--- a/typo3/sysext/impexp/Resources/Private/Language/locallang_csh.xlf
+++ b/typo3/sysext/impexp/Resources/Private/Language/locallang_csh.xlf
@@ -235,7 +235,7 @@ EXT:impexp/Resources/Public/Images/cshimages/impexp_misc2.png</source>
 			<trans-unit id="metadata.details" resname="metadata.details" xml:space="preserve">
 				<source>The meta data will help users of your exported files to know what they can expect to be inside and what things they should be aware of and take into account during import.
 The "Title" and "Description" should contain the basic information about the export.
-The "Notes" field can be used for additional details, especially remarks about intensions or requirements that apply.</source>
+The "Notes" field can be used for additional details, especially remarks about intentions or requirements that apply.</source>
 			</trans-unit>
 			<trans-unit id="_metadata.image" resname="_metadata.image">
 				<source>EXT:impexp/Resources/Public/Images/cshimages/metadata.png</source>
-- 
GitLab