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 [ ...@@ -49,13 +49,6 @@ return [
'config' => [ 'config' => [
'type' => 'select', 'type' => 'select',
'special' => 'languages', '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' => [ 'l10n_parent' => [
......
...@@ -44,15 +44,10 @@ return [ ...@@ -44,15 +44,10 @@ return [
'columns' => [ 'columns' => [
'sys_language_uid' => [ 'sys_language_uid' => [
'exclude' => 1, 'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.language',
'config' => [ 'config' => [
'type' => 'select', 'type' => 'select',
'foreign_table' => 'sys_language', 'special' => 'languages',
'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]
],
], ],
], ],
'l10n_parent' => [ 'l10n_parent' => [
...@@ -90,7 +85,7 @@ return [ ...@@ -90,7 +85,7 @@ return [
], ],
'hidden' => [ 'hidden' => [
'exclude' => 1, 'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xml:LGL.hidden',
'config' => [ 'config' => [
'type' => 'check', 'type' => 'check',
], ],
...@@ -98,7 +93,7 @@ return [ ...@@ -98,7 +93,7 @@ return [
'starttime' => [ 'starttime' => [
'exclude' => 1, 'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank', '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' => [ 'config' => [
'type' => 'input', 'type' => 'input',
'size' => 13, 'size' => 13,
...@@ -114,7 +109,7 @@ return [ ...@@ -114,7 +109,7 @@ return [
'endtime' => [ 'endtime' => [
'exclude' => 1, 'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank', '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' => [ 'config' => [
'type' => 'input', 'type' => 'input',
'size' => 13, 'size' => 13,
......
...@@ -65,6 +65,26 @@ ...@@ -65,6 +65,26 @@
<source>Job title</source> <source>Job title</source>
<target>Stellenbezeichnung</target> <target>Stellenbezeichnung</target>
</trans-unit> </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> </body>
</file> </file>
</xliff> </xliff>
\ No newline at end of file
...@@ -51,6 +51,21 @@ ...@@ -51,6 +51,21 @@
<trans-unit id="tx_sgjobs_domain_model_job.title"> <trans-unit id="tx_sgjobs_domain_model_job.title">
<source>Job title</source> <source>Job title</source>
</trans-unit> </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> </body>
</file> </file>
</xliff> </xliff>
\ No newline at end of file
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
if (TYPO3_MODE === 'BE') { 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_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 // Register backend modules
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( \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