From 37ce088cf714a24b57bca57d9e1f66c043db37b4 Mon Sep 17 00:00:00 2001
From: Torsten Oppermann <torsten@sgalinski.de>
Date: Mon, 11 Dec 2017 11:57:19 +0100
Subject: [PATCH] [TASK] Corrections to job application tca

---
 .../TCA/tx_sgjobs_domain_model_job_application.php         | 7 ++++---
 Resources/Private/Language/de.locallang_db.xlf             | 6 +++---
 Resources/Private/Language/locallang_db.xlf                | 4 ++--
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/Configuration/TCA/tx_sgjobs_domain_model_job_application.php b/Configuration/TCA/tx_sgjobs_domain_model_job_application.php
index 36d084fa..da70dc84 100644
--- a/Configuration/TCA/tx_sgjobs_domain_model_job_application.php
+++ b/Configuration/TCA/tx_sgjobs_domain_model_job_application.php
@@ -272,9 +272,10 @@ return [
 			'exclude' => 0,
 			'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job_application.message',
 			'config' => [
-				'type' => 'input',
-				'size' => 1024,
-				'eval' => 'trim, required'
+				'type' => 'text',
+				'cols' => 40,
+				'rows' => 10,
+				'eval' => 'required'
 			],
 		],
 		'cover_letter' => [
diff --git a/Resources/Private/Language/de.locallang_db.xlf b/Resources/Private/Language/de.locallang_db.xlf
index 66033413..6a8f614d 100644
--- a/Resources/Private/Language/de.locallang_db.xlf
+++ b/Resources/Private/Language/de.locallang_db.xlf
@@ -161,8 +161,8 @@
 			<source>Job title</source>
 			<target>Stellenbezeichnung</target>
 		</trans-unit>
-		<trans-unit id="tx_sgjobs_domain_model_job_application'" approved="yes">
-			<source>Application</source>
+		<trans-unit id="tx_sgjobs_domain_model_job_application" approved="yes">
+			<source>Job application</source>
 			<target>Bewerbung</target>
 		</trans-unit>
 		<trans-unit id="tx_sgjobs_domain_model_job_application.birth_date" approved="yes">
@@ -219,7 +219,7 @@
 		</trans-unit>
 		<trans-unit id="tx_sgjobs_domain_model_job_application.mobile" approved="yes">
 			<source>Mobile</source>
-			<target>mobile</target>
+			<target>Mobil</target>
 		</trans-unit>
 		<trans-unit id="tx_sgjobs_domain_model_job_application.nationality" approved="yes">
 			<source>Nationality</source>
diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf
index 79fbe5d2..d853bebb 100644
--- a/Resources/Private/Language/locallang_db.xlf
+++ b/Resources/Private/Language/locallang_db.xlf
@@ -126,8 +126,8 @@
 		<trans-unit id="tx_sgjobs_domain_model_job.title">
 			<source>Job title</source>
 		</trans-unit>
-		<trans-unit id="tx_sgjobs_domain_model_job_application'">
-			<source>Application</source>
+		<trans-unit id="tx_sgjobs_domain_model_job_application">
+			<source>Job application</source>
 		</trans-unit>
 		<trans-unit id="tx_sgjobs_domain_model_job_application.birth_date">
 			<source>Birthdate</source>
-- 
GitLab