Skip to content

Commit

Permalink
[TASK] Add arguments for the f translate viewhelper
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza2961 committed Sep 23, 2024
1 parent 328afbd commit d2c2938
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Configuration/FlexForms/AcademicBiteJobsList.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:academic_bite_jobs/Resources/Private/Language/locallang_be.xlf:flexform.el.custom.zurodnung.items.01</numIndex>
<numIndex index="1">01</numIndex>
<numIndex index="1">Berufungsverfahren</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:academic_bite_jobs/Resources/Private/Language/locallang_be.xlf:flexform.el.custom.zurodnung.items.02</numIndex>
<numIndex index="1">02</numIndex>
<numIndex index="1">Wissenschaftliches-Personal</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:academic_bite_jobs/Resources/Private/Language/locallang_be.xlf:flexform.el.custom.zurodnung.items.03</numIndex>
<numIndex index="1">03</numIndex>
<numIndex index="1">Nicht-wissenschaftliches-Personal</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">LLL:EXT:academic_bite_jobs/Resources/Private/Language/locallang_be.xlf:flexform.el.custom.zurodnung.items.04</numIndex>
<numIndex index="1">04</numIndex>
<numIndex index="1">Ausbildungsstellen</numIndex>
</numIndex>
</items>
</config>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Language/de.locallang_fe.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<header/>
<body>
<trans-unit id="fe.b-ite.no-jobs">
<source>We currently have no job vacancies. / We currently have no job vacancies in the "%thema%" section.</source>
<target>Derzeit haben wir leider im Bereich %thema% keine offenen Stellen zu besetzen.</target>
<source>We currently have no job vacancies. / We currently have no job vacancies in the %s section.</source>
<target>Derzeit haben wir leider im Bereich %s keine offenen Stellen zu besetzen.</target>
</trans-unit>
</body>
</file>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Language/locallang_fe.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<header/>
<body>
<trans-unit id="fe.b-ite.no-jobs">
<source>We currently have no job vacancies. / We currently have no job vacancies in the "%thema%" section. </source>
<source>We currently have no job vacancies. / We currently have no job vacancies in the %s section. </source>
</trans-unit>
</body>
</file>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/BiteJobs/List.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</style>
</f:then>
<f:else>
<f:translate key="LLL:EXT:academic_bite_jobs/Resources/Private/Language/locallang_fe.xlf:fe.b-ite.no-jobs" />
<f:translate key="LLL:EXT:academic_bite_jobs/Resources/Private/Language/locallang_fe.xlf:fe.b-ite.no-jobs" arguments="{field: settings.jobs.custom.zuordnung, default: ''}" />
</f:else>
</f:if>
</section>
Expand Down

0 comments on commit d2c2938

Please sign in to comment.