Skip to content

Commit

Permalink
Update translated content
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariazel Hernández authored and Mariazel Hernández committed Dec 21, 2023
1 parent b84dae4 commit b376e3f
Show file tree
Hide file tree
Showing 3 changed files with 355 additions and 360 deletions.
7 changes: 2 additions & 5 deletions src/web/src/components/EmployeeDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
</v-col>
<v-col class="mb-0 pt-2 pb-0" cols="12" md="6" v-if="checkStatus(item.division)" >
<h3 class="mb-0">
{{ $t("components.employee_details.organization.division") }}:
<a :href="generateUrl('division', item.division, item.division)">
{{ ($t('components.divisions_api')[item.division]) ? $t('components.divisions_api')[item.division] : item.division }}
</a>
{{ $t("components.employee_details.organization.division") }}: {{ ($t('components.divisions_api')[item.division]) ? $t('components.divisions_api')[item.division] : item.division }}
</h3>
</v-col>
<v-col class="mb-0 pt-2 pb-0" cols="12" md="6" v-if="checkStatus(item.branch)">
Expand Down Expand Up @@ -124,7 +121,7 @@
</v-col>
<v-col v-if="center !== null" cols="12" md="6">

<l-map style="height: 300px" :zoom="zoom" :center="center" :options="{attributionControl: false}">
<l-map style="height: 300px" :zoom="zoom" :center="center">

<l-tile-layer :url="mapUrl"></l-tile-layer>
<l-marker :lat-lng="center"></l-marker>
Expand Down
4 changes: 2 additions & 2 deletions src/web/src/components/EmployeeSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
</v-breadcrumbs-item>
</template>
</v-breadcrumbs>
<h2 v-if="results && department !== 'Any department'" class="px-0" style="font-size: 34px !important;">{{ $t("components.employee_search.no_results_by_department.body.part1") }} {{ this.searchTitle.replace(/-/g, " ") }} {{ $t("components.employee_search.no_results_by_department.body.part2") }} {{this.department}} {{ $t("components.employee_search.no_results_by_department.body.part3") }}</h2>
<h2 v-if="results && department !== 'Any department'" class="px-0" style="font-size: 34px !important;">{{ $t("components.employee_search.no_results_by_department.body.part1") }} {{ this.searchTitle.replace(/-/g, " ") }} {{ $t("components.employee_search.no_results_by_department.body.part2") }} {{$t('components.departments_api')[this.department] ? $t('components.departments_api')[this.department] : this.department }} {{ $t("components.employee_search.no_results_by_department.body.part3") }}</h2>
<h2 v-else-if="results" class="px-0" style="font-size: 34px !important;">{{ $t("components.employee_search.no_results.body.part1") }} {{ this.searchTitle.replace(/-/g, " ") }} {{ $t("components.employee_search.no_results.body.part2") }}</h2>
<h2 v-else-if="!results && department !== 'Any department'" class="px-0" style="font-size: 34px !important;">{{ $t("components.employee_search.results_by_department.body.part1") }} {{ this.searchTitle.replace(/-/g, " ") }} {{ $t("components.employee_search.results_by_department.body.part2") }} {{this.department}} {{ $t("components.employee_search.results_by_department.body.part3") }} {{ this.itemsLength }} {{ $t("components.employee_search.results_by_department.body.part4") }}</h2>
<h2 v-else-if="!results && department !== 'Any department'" class="px-0" style="font-size: 34px !important;">{{ $t("components.employee_search.results_by_department.body.part1") }} {{ this.searchTitle.replace(/-/g, " ") }} {{ $t("components.employee_search.results_by_department.body.part2") }} {{$t('components.departments_api')[this.department] ? $t('components.departments_api')[this.department] : this.department }} {{ $t("components.employee_search.results_by_department.body.part3") }} {{ this.itemsLength }} {{ $t("components.employee_search.results_by_department.body.part4") }}</h2>
<h2 v-else class="mt-8">{{ $t("components.employee_search.results.body.part1") }} {{ this.searchTitle.replace(/-/g, " ") }} {{ $t("components.employee_search.results.body.part2") }} {{ this.itemsLength }} {{ $t("components.employee_search.results.body.part3") }}
</h2>
<v-row v-if="!results">
Expand Down
Loading

0 comments on commit b376e3f

Please sign in to comment.