Skip to content
Snippets Groups Projects
Commit 45051aaf authored by Tim Wagner's avatar Tim Wagner
Browse files

[TASK] Add labels to new employment types in TCA

parent cde36c3f
No related branches found
No related tags found
1 merge request!20[FEATURE] Extended TCAs for Structured Data (SEO)
......@@ -346,19 +346,19 @@ return call_user_func(
'employment_types' => [
'exclude' => TRUE,
'l10n_mode' => 'exclude',
'label' => 'Employment Types', // TODO Translate label
'label' => 'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'items' => [
['FULL_TIME', 'FULL_TIME'],
['PART_TIME', 'PART_TIME'],
['CONTRACTOR', 'CONTRACTOR'],
['TEMPORARY', 'TEMPORARY'],
['INTERN', 'INTERN'],
['VOLUNTEER', 'VOLUNTEER'],
['PER_DIEM', 'PER_DIEM'],
['OTHER', 'OTHER']
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.full_time', 'FULL_TIME'],
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.part_time', 'PART_TIME'],
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.contractor', 'CONTRACTOR'],
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.temporary', 'TEMPORARY'],
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.intern', 'INTERN'],
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.volunteer', 'VOLUNTEER'],
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.per_diem', 'PER_DIEM'],
['LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:' . $table . '.employment_types.other', 'OTHER']
]
]
]
......
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2019-08-06T13:19:35Z">
<file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2019-09-17T15:26:12Z">
<header>
<type>database</type>
<description>General language labels used in frontend and backend.</description>
......@@ -181,6 +181,42 @@
<source><![CDATA[Job description]]></source>
<target><![CDATA[Beschreibung]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types" approved="yes">
<source><![CDATA[Employment Type(s)]]></source>
<target><![CDATA[Art(en) der Beschäftigung]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.contractor" approved="yes">
<source><![CDATA[Contractor]]></source>
<target><![CDATA[Auftragnehmer]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.full_time" approved="yes">
<source><![CDATA[Full time]]></source>
<target><![CDATA[Vollzeit]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.intern" approved="yes">
<source><![CDATA[Intern]]></source>
<target><![CDATA[Praktikant]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.other" approved="yes">
<source><![CDATA[Other]]></source>
<target><![CDATA[Andere]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.part_time" approved="yes">
<source><![CDATA[Part time]]></source>
<target><![CDATA[Teilzeit]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.per_diem" approved="yes">
<source><![CDATA[Per diem]]></source>
<target><![CDATA[Nach Bedarf]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.temporary" approved="yes">
<source><![CDATA[Temporary]]></source>
<target><![CDATA[Zeitarbeit]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.volunteer" approved="yes">
<source><![CDATA[Volunteer]]></source>
<target><![CDATA[Freiwillig]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.featuredOffer" approved="yes">
<source><![CDATA[Featured Offer (will always show up in the job offer teaser)]]></source>
<target><![CDATA[Diese Stellenausschreibung in jedem Job-Teaser anzeigen]]></target>
......@@ -225,6 +261,10 @@
<source><![CDATA[By creation date (latest at top)]]></source>
<target><![CDATA[Nach Erstellungsdatum (neueste zuerst)]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.path_segment" approved="yes">
<source><![CDATA[Path Segment]]></source>
<target><![CDATA[URL-Pfad]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.plugin_options" approved="yes">
<source><![CDATA[Joblist plugin options]]></source>
<target><![CDATA[Joblist Plugin-Optionen]]></target>
......@@ -261,10 +301,6 @@
<source><![CDATA[Job title]]></source>
<target><![CDATA[Stellenbezeichnung]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.path_segment">
<source><![CDATA[Path Segment]]></source>
<target><![CDATA[URL-Pfad]]></target>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job_application" approved="yes">
<source><![CDATA[Job application]]></source>
<target><![CDATA[Bewerbung]]></target>
......
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2019-08-06T13:19:35Z">
<file source-language="en" datatype="plaintext" original="messages" date="2019-09-17T15:26:12Z">
<header>
<type>database</type>
<description>General language labels used in frontend and backend.</description>
......@@ -141,6 +141,33 @@
<trans-unit id="tx_sgjobs_domain_model_job.description">
<source><![CDATA[Job description]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types">
<source><![CDATA[Employment Type(s)]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.contractor">
<source><![CDATA[Contractor]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.full_time">
<source><![CDATA[Full time]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.intern">
<source><![CDATA[Intern]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.other">
<source><![CDATA[Other]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.part_time">
<source><![CDATA[Part time]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.per_diem">
<source><![CDATA[Per diem]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.temporary">
<source><![CDATA[Temporary]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.employment_types.volunteer">
<source><![CDATA[Volunteer]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.featuredOffer">
<source><![CDATA[Featured Offer (will always show up in the job offer teaser)]]></source>
</trans-unit>
......@@ -174,6 +201,9 @@
<trans-unit id="tx_sgjobs_domain_model_job.orderBy_3">
<source><![CDATA[By creation date (latest at top)]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.path_segment">
<source><![CDATA[Path Segment]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.plugin_options">
<source><![CDATA[Joblist plugin options]]></source>
</trans-unit>
......@@ -201,9 +231,6 @@
<trans-unit id="tx_sgjobs_domain_model_job.title">
<source><![CDATA[Job title]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job.path_segment">
<source><![CDATA[Path Segment]]></source>
</trans-unit>
<trans-unit id="tx_sgjobs_domain_model_job_application">
<source><![CDATA[Job application]]></source>
</trans-unit>
......
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