Skip to content
Snippets Groups Projects
Commit 5f6da8c2 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Finsishing location tca

parent c40938f0
No related branches found
No related tags found
No related merge requests found
......@@ -49,13 +49,6 @@ return [
'config' => [
'type' => 'select',
'special' => 'languages',
// 'foreign_table' => 'sys_language',
// 'foreign_table_where' => 'ORDER BY sys_language.title',
// 'items' => [
// ['LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.allLanguages', -1],
// ['LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.default_value', 0]
// ],
],
],
'l10n_parent' => [
......
......@@ -44,15 +44,10 @@ return [
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.language',
'config' => [
'type' => 'select',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0]
],
'special' => 'languages',
],
],
'l10n_parent' => [
......@@ -90,7 +85,7 @@ return [
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.hidden',
'config' => [
'type' => 'check',
],
......@@ -98,7 +93,7 @@ return [
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
......@@ -114,7 +109,7 @@ return [
'endtime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
......
......@@ -65,6 +65,26 @@
<source>Job title</source>
<target>Stellenbezeichnung</target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location" approved="yes">
<source>Location</source>
<target>Arbeitsort</target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.city" approved="yes">
<source>City</source>
<target>Stadt</target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.country" approved="yes">
<source>Country</source>
<target>Land</target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.description" approved="yes">
<source>Description</source>
<target>Beschreibung</target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.location" approved="yes">
<source>Location</source>
<target>Arbeitsort</target>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -51,6 +51,21 @@
<trans-unit id="tx_sgjobs_domain_model_job.title">
<source>Job title</source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location">
<source>Location</source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.city">
<source>City</source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.country">
<source>Country</source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.description">
<source>Description</source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_location.location">
<source>Location</source>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -14,6 +14,8 @@
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sgjobs_domain_model_job');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sgjobs_domain_model_contact');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sgjobs_domain_model_location');
// Register backend modules
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment