Skip to content

Commit

Permalink
[TASK] Improve the translated text add adding new translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Patryk Kudlik committed Nov 2, 2023
1 parent 7f61deb commit 247255f
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 51 deletions.
74 changes: 63 additions & 11 deletions Resources/Private/Language/de.locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
<target>Bild</target>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.company_name" resname="tx_academicjobs_domain_model_job.company_name">
<source>Company Name</source>
<target>Firmenname</target>
<source>Organization</source>
<target>Organisation</target>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.company_name.description" resname="tx_academicjobs_domain_model_job.company_name.description">
<source>Company Name</source>
<target>Firmenname</target>
<source>Organization</source>
<target>Organisation</target>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.sector" resname="tx_academicjobs_domain_model_job.sector">
<source>Sector</source>
Expand All @@ -62,11 +62,11 @@

<trans-unit id="tx_academicjobs_domain_model_job.employment_type" resname="tx_academicjobs_domain_model_job.employment_type">
<source>Employment Type</source>
<target>Arbeitszeit</target>
<target>Art des Stellenangebots</target>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.employment_type.description" resname="tx_academicjobs_domain_model_job.employment_type.description">
<source>Employment Type Description</source>
<target>Arbeitszeit Beschreibung</target>
<target>Stellenbeschreibung</target>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.employment_type.fulltime" resname="tx_academicjobs_domain_model_job.employment_type.fulltime">
<source>Full-time</source>
Expand Down Expand Up @@ -95,8 +95,8 @@
<target>Link</target>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.link.description" resname="tx_academicjobs_domain_model_job.link.description">
<source>Link</source>
<target>Link</target>
<source>Link to the announcement or website</source>
<target>Link zur Ausschreibung oder Website</target>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.slug" resname="tx_academicjobs_domain_model_job.slug">
<source>Slug</source>
Expand Down Expand Up @@ -207,7 +207,7 @@

<trans-unit id="tx_academicjobs.fe.list.text.fulltime">
<source>Full-Time</source>
<target>Full-Time</target>
<target>Vollzeit</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.list.text.parttime">
<source>Part-Time</source>
Expand Down Expand Up @@ -254,8 +254,8 @@
<target>Bewerbungsfrist</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.list.text.employer">
<source>Employere</source>
<target>Arbeitgeber</target>
<source>Organization</source>
<target>Organisation</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.list.text.working_hours">
<source>Working hours</source>
Expand All @@ -265,6 +265,58 @@
<source>Ort</source>
<target>Place</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_logo">
<source>Logo</source>
<target>Logo</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_title">
<source>Job title / Thesis title</source>
<target>Stellenbezeichnung / Titel der Abschlussarbeit</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_working_hours">
<source>Working hours</source>
<target>Arbeitszeit</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_employer">
<source>Organization</source>
<target>Organisation</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_industry">
<source>Industry</source>
<target>Branche</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_location">
<source>Location</source>
<target>Ort</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_description">
<source>Job description</source>
<target>Stellenbeschreibung</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_start_employment">
<source>Start of employment</source>
<target>Arbeitsantritt (keine Angabe = sofort)</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_offer_type">
<source>Type of job offer</source>
<target>Art des Stellenangebots</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_link">
<source>Link (to the announcement or website)</source>
<target>Link (zur Ausschreibung oder Website)</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_starttime">
<source>Application deadline start</source>
<target>Bewerbungsfrist Beginn</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_endtime">
<source>Application deadline end</source>
<target>Bewerbungsfrist Ende</target>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.submit">
<source>Submit</source>
<target>Absenden</target>
</trans-unit>
</body>
</file>
</xliff>
50 changes: 46 additions & 4 deletions Resources/Private/Language/locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
<source>Image</source>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.company_name" resname="tx_academicjobs_domain_model_job.company_name">
<source>Company Name</source>
<source>Organization</source>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.company_name.description" resname="tx_academicjobs_domain_model_job.company_name.description">
<source>Company Name</source>
<source>Organization</source>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.sector" resname="tx_academicjobs_domain_model_job.sector">
<source>Sector</source>
Expand Down Expand Up @@ -73,7 +73,7 @@
<source>Link</source>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.link.description" resname="tx_academicjobs_domain_model_job.link.description">
<source>Link</source>
<source>Link to the announcement or website</source>
</trans-unit>
<trans-unit id="tx_academicjobs_domain_model_job.slug" resname="tx_academicjobs_domain_model_job.slug">
<source>Slug</source>
Expand Down Expand Up @@ -192,14 +192,56 @@
<source>Application deadline</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.list.text.employer">
<source>Employere</source>
<source>Organization</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.list.text.working_hours">
<source>Working hours</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.list.text.place">
<source>Place</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_logo">
<source>Logo</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_logo">
<source>Logo</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_title">
<source>Job title / Thesis title</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_working_hours">
<source>Working hours</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_employer">
<source>Organization</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_industry">
<source>Industry</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_location">
<source>Location</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_description">
<source>Job description</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_start_employment">
<source>Start of employment</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_offer_type">
<source>Type of job offer</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_link">
<source>Link (to the announcement or website)</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_starttime">
<source>Application deadline start</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.job_endtime">
<source>Application deadline end</source>
</trans-unit>
<trans-unit id="tx_academicjobs.fe.form.text.submit">
<source>Submit</source>
</trans-unit>
</body>
</file>
</xliff>
39 changes: 22 additions & 17 deletions Resources/Private/Templates/Job/List.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,60 @@
<f:if condition="{job.image}"></f:if>
<div class="col-md-9 mt-4">
<div class="row mb-2">
<f:link.action pageUid="{settings.detailPid}" action="show" pluginName="Detail" arguments="{job: job}">
<h4 class="card-title text-white">{job.title}</h4>
</f:link.action>
<f:link.action pageUid="{settings.detailPid}" action="show" pluginName="Detail" arguments="{job: job}">
<h4 class="card-title text-white">{job.title}</h4>
</f:link.action>
</div>
<div class="row">
<f:if condition="{job.employmentStartDate}">
<f:if condition="{job.employmentStartDate}">
<div class="col-md-3 mb-2">
<b><f:translate key="tx_academicjobs_domain_model_job.employment_start_date"/></b><br>
<f:format.date format="d.m.Y">{job.employmentStartDate}</f:format.date>
</div>
</f:if>
<f:if condition="{job.endtime}">
</f:if>
<f:if condition="{job.endtime}">
<div class="col-md-3 mb-2">
<b><f:translate key="tx_academicjobs_domain_model_job.application_time"/></b><br>
<f:format.date format="d.m.Y">{job.endtime}</f:format.date>
</div>
</f:if>
<f:if condition="{job.companyName}">
</f:if>
<f:if condition="{job.companyName}">
<div class="col-md-3 mb-2">
<b><f:translate key="tx_academicjobs_domain_model_job.company_name"/></b><br>
{job.companyName}
</div>
</f:if>
<f:if condition="{job.type}">
</f:if>
<f:if condition="{job.type}">
<div class="col-md-3 mb-2">
<b><f:translate key="tx_academicjobs_domain_model_job.job_type"/></b><br>
<b><f:translate key="tx_academicjobs_domain_model_job.job_type"/></b><br>
<f:switch expression="{job.type}">
<f:case value="1"><f:translate key="tx_academicjobs_domain_model_job.jobtype.job" /></f:case>
<f:case value="2"><f:translate key="tx_academicjobs_domain_model_job.jobtype.sidejob" /></f:case>
<f:case value="3"><f:translate key="tx_academicjobs_domain_model_job.jobtype.thesis" /></f:case>
</f:switch>
</div>
</f:if>
<f:if condition="{job.employmentType}">
</f:if>
<f:if condition="{job.employmentType}">
<div class="col-md-3 mb-2">

<b>Arbeitszeit</b><br>
<b>
<f:translate key="tx_academicjobs.fe.list.text.working_hours" />
</b>

<br>

<f:switch expression="{job.employmentType}">
<f:case value="1"><f:translate key="tx_academicjobs_domain_model_job.employment_type.fulltime" /></f:case>
<f:case value="2"><f:translate key="tx_academicjobs_domain_model_job.employment_type.parttime" /></f:case>
</f:switch>
</div>
</f:if>
<f:if condition="{job.workLocation}">
</f:if>
<f:if condition="{job.workLocation}">
<div class="col-md-3 mb-2">
<b><f:translate key="tx_academicjobs_domain_model_job.work_location"/></b><br>
{job.workLocation}
</div>
</f:if>
</f:if>
</div>
<div class="row pt-4">
<div class="col-12 text-white">
Expand Down
Loading

0 comments on commit 247255f

Please sign in to comment.