Skip to content

Commit

Permalink
[TASK] set version to 3.3.0
Browse files Browse the repository at this point in the history
[TASK] update/add translations locallang LLL
[TASK] update README.md
  • Loading branch information
Teisi committed Dec 11, 2023
1 parent 5f1921a commit 15f3bca
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 8 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,26 @@ TypoScript example (https://github.com/Hauer-Heinrich/hh_simple_job_posts/blob/m
[global]
```

### Translations via TypoScript
```
### Example:
plugin.tx_hhsimplejobposts {
_LOCAL_LANG {
de {
detail.maintasks = Deine Aufgaben
detail.profile = Dein Profil
detail.skills = Deine Skills
detail.weprovide = Das erwartet dich bei uns
detail.hiringOrganization = Oder per Post an:
detail.phone.before = Tel.:
detail.contact_point_email.before = Ihre Anfrage/Bewerbung senden Sie bitte an:
detail.contact_point_telephone.before = Tel.:
detail.contact_point_telephone.after =
}
}
}
```

### Features
- automatically generates config for sitemap (EXT:seo)
- compatible with EXT:hh_seo
Expand Down
31 changes: 31 additions & 0 deletions Resources/Private/Language/locallang_fe.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
<source>Contact Point</source>
</trans-unit>

<trans-unit id="detail.phone.before">
<source>Phone</source>
</trans-unit>

<trans-unit id="detail.hiringOrganization">
<source>Hiring organization</source>
</trans-unit>
Expand All @@ -36,6 +40,33 @@
<source>Job locations</source>
</trans-unit>

<trans-unit id="detail.contact_point_email.before">
<source>Please send your application to:</source>
</trans-unit>

<trans-unit id="detail.contact_point_telephone.before">
<source>If you have any further questions, you can also contact us at</source>
</trans-unit>
<trans-unit id="detail.contact_point_telephone.after">
<source>.</source>
</trans-unit>

<trans-unit id="detail.hiring_organization.phone.before">
<source>Phone</source>
</trans-unit>

<trans-unit id="detail.hiring_organization.email.before">
<source></source>
</trans-unit>

<trans-unit id="detail.location.phone.before">
<source>Phone</source>
</trans-unit>

<trans-unit id="detail.location.email.before">
<source></source>
</trans-unit>

</body>
</file>
</xliff>
9 changes: 6 additions & 3 deletions Resources/Private/Partials/Detail/ContactPointAddress.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ <h5><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/loc
{contactPointAddress.position}<br />
</f:if>
<f:if condition="{contactPointAddress.phone}">
Tel.: <a href="tel:{contactPointAddress.phone -> ttaddr:removeSpaces()}">{contactPointAddress.phone}</a><br />
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.phone.before" />
<a href="tel:{contactPointAddress.phone -> ttaddr:removeSpaces()}">{contactPointAddress.phone}</a><br />
</f:if>
<f:link.email email="{contactPointAddress.email}"></f:link.email>
</p>
Expand All @@ -25,13 +26,15 @@ <h5><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/loc
<f:if condition="{contactPointEmail} || {contactPointTelephone}">
<div class="frame frame-default contactpoint">
<f:if condition="{contactPointEmail}">
<p>Ihre Bewerbung schicken Sie bitte an:
<p><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.contact_point_email.before" />
<f:link.email email="{contactPointEmail}"></f:link.email>
</p>
</f:if>
<f:if condition="{contactPointTelephone}">
<p>
Sollten Sie noch Fragen haben, können Sie uns außerdem unter <a href="tel:{contactPointTelephone -> ttaddr:removeSpaces()}">{contactPointTelephone}</a> erreichen.
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.contact_point_telephone.before" />
<a href="tel:{contactPointTelephone -> ttaddr:removeSpaces()}">{contactPointTelephone}</a>
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.contact_point_telephone.after" />
</p>
</f:if>
</div>
Expand Down
9 changes: 6 additions & 3 deletions Resources/Private/Partials/Detail/ContactPointAddresses.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ <h5><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/loc
{contactPointAddress.position}<br />
</f:if>
<f:if condition="{contactPointAddress.phone}">
Tel.: <a href="tel:{contactPointAddress.phone -> ttaddr:removeSpaces()}">{contactPointAddress.phone}</a><br />
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.phone.before" />
<a href="tel:{contactPointAddress.phone -> ttaddr:removeSpaces()}">{contactPointAddress.phone}</a><br />
</f:if>
<f:link.email email="{contactPointAddress.email}"></f:link.email>
</p>
Expand All @@ -31,13 +32,15 @@ <h5><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/loc
<f:if condition="{contactPointEmail} || {contactPointTelephone}">
<div class="frame frame-default contactpoint">
<f:if condition="{contactPointEmail}">
<p>Ihre Bewerbung schicken Sie bitte an:
<p><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.contact_point_email.before" />
<f:link.email email="{contactPointEmail}"></f:link.email>
</p>
</f:if>
<f:if condition="{contactPointTelephone}">
<p>
Sollten Sie noch Fragen haben, können Sie uns außerdem unter <a href="tel:{contactPointTelephone -> ttaddr:removeSpaces()}">{contactPointTelephone}</a> erreichen.
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.contact_point_telephone.before" />
<a href="tel:{contactPointTelephone -> ttaddr:removeSpaces()}">{contactPointTelephone}</a>
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.contact_point_telephone.after" />
</p>
</f:if>
</div>
Expand Down
2 changes: 2 additions & 0 deletions Resources/Private/Partials/Detail/HiringOrganization.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ <h5><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/loc

<f:if condition="{hiringOrganization.phone}">
<span itemprop="telephone">
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.hiring_organization.phone.before" />
<a href="tel:{hiringOrganization.phone->ttaddr:removeSpaces()}">{hiringOrganization.phone}</a>
</span>
</f:if>

<f:if condition="{hiringOrganization.email}">
<span itemprop="email">
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.hiring_organization.email.before" />
<f:link.email email="{hiringOrganization.email}">{hiringOrganization.email}</f:link.email>
</span>
</f:if>
Expand Down
2 changes: 2 additions & 0 deletions Resources/Private/Partials/Detail/JobLocations.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ <h5><f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/loc

<f:if condition="{location.phone}">
<span itemprop="telephone">
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.location.phone.before" />
<a href="tel:{location.phone->ttaddr:removeSpaces()}">{location.phone}</a>
</span>
</f:if>

<f:if condition="{location.email}">
<span itemprop="email">
<f:translate key="LLL:EXT:hh_simple_job_posts/Resources/Private/Language/locallang_fe.xlf:detail.location.email.before" />
<f:link.email email="{location.email}">{location.email}</f:link.email>
</span>
</f:if>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://www.paypal.com/paypalme/hauerheinrich"
}
],
"version": "3.2.0",
"version": "3.3.0",
"license": ["GPL-2.0-or-later"],
"keywords": ["TYPO3 CMS", "jobs", "Extension"],
"replace": {
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'state' => 'beta',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '3.2.0',
'version' => '3.3.0',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
Expand Down

0 comments on commit 15f3bca

Please sign in to comment.