Skip to content
Snippets Groups Projects
Commit 9bdd8da0 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[TASK] add gender 'other'

parent d17f9830
No related branches found
No related tags found
1 merge request!46AZM changes
......@@ -8,7 +8,7 @@ return [
'templateContent' => <<<EOT
Eine neue {f:if(condition: '{application.jobTitle}', then: 'Bewerbung als <b>{application.jobTitle}</b> für den Standort <b>{application.company.city}</b>.', else: 'Initiativbewerbung für den Standort <b>{application.company.city}</b>.')}
Geschlecht: {f:if(condition: '{application.gender} == \'Female\'', then: 'weiblich', else: 'männlich')}
Geschlecht: {f:translate(key: 'frontend.apply.gender.{application.gender}', extensionName: 'SgJobs')}
Vorname: {application.firstName}
......
......@@ -254,6 +254,10 @@
<source><![CDATA[Male]]></source>
<target><![CDATA[Männlich]]></target>
</trans-unit>
<trans-unit id="frontend.apply.gender.other" approved="yes">
<source><![CDATA[Other]]></source>
<target><![CDATA[Divers]]></target>
</trans-unit>
<trans-unit id="frontend.apply.last_name" approved="yes">
<source><![CDATA[Last name *]]></source>
<target><![CDATA[Nachname *]]></target>
......
......@@ -207,6 +207,9 @@
<trans-unit id="frontend.apply.gender.male">
<source><![CDATA[Male]]></source>
</trans-unit>
<trans-unit id="frontend.apply.gender.other">
<source><![CDATA[Other]]></source>
</trans-unit>
<trans-unit id="frontend.apply.last_name">
<source><![CDATA[Last name *]]></source>
</trans-unit>
......@@ -392,4 +395,4 @@
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
</xliff>
......@@ -248,7 +248,7 @@
<f:translate key="frontend.apply.gender"/>
</label>
<f:form.select property="gender" id="apply-gender" class="form-control"
options="{Male: '{f:translate(key: \'frontend.apply.gender.male\')}', Female: '{f:translate(key: \'frontend.apply.gender.female\')}'}"/>
options="{male: '{f:translate(key: \'frontend.apply.gender.male\')}', female: '{f:translate(key: \'frontend.apply.gender.female\')}', other: '{f:translate(key: \'frontend.apply.gender.other\')}'}"/>
<f:form.validationResults for="applyData.gender">
<ul class="sg-jobs-validation-error parsley-errors-list filled">
<f:for each="{validationResults.errors}" as="error">
......
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