Skip to content

Commit

Permalink
fix(i18n): update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
tkohr committed Feb 1, 2024
1 parent 10b21f2 commit d020e7b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="font-title text-[28px] font-medium mt-8 mb-5 text-title text-center sm:mt-12 sm:mb-[-22px] sm:text-left"
translate
>
record.metadata.api
mel.record.metadata.api
</p>
<gn-ui-carousel
containerClass="gap-4 py-10"
Expand Down Expand Up @@ -36,7 +36,7 @@
<div class="flex flex-col px-4 gap-8 container-lg lg:mx-auto">
<div class="flex flex-wrap justify-between sm:mb-2 ng-star-inserted">
<p class="text-[21px] text-title font-title" translate>
record.metadata.api.form.title
mel.record.metadata.api.form.title
</p>
<button
type="button"
Expand All @@ -47,7 +47,7 @@
class="text-sm font-medium opacity-50 group-hover:opacity-100 uppercase tracking-wide mt-0.5"
translate
>
record.metadata.api.form.closeButton
mel.record.metadata.api.form.closeButton
</div>
<mat-icon
class="!w-5 !h-5 text-xl font-bold material-symbols-outlined !flex items-center"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
class="text-[28px] text-title font-title transform sm:translate-y-10"
translate
>
record.metadata.preview
mel.record.metadata.preview
</div>
<mat-tab-group
(selectedIndexChange)="onTabIndexChange($event)"
Expand All @@ -41,7 +41,7 @@
<mat-tab [disabled]="(displayMap$ | async) === false">
<ng-template mat-tab-label>
<span class="tab-header-label sm:ml-32" translate
>record.tab.map</span
>mel.record.tab.map</span
>
</ng-template>
@if(displayMap$ | async) {
Expand All @@ -52,7 +52,9 @@
</mat-tab>
<mat-tab [disabled]="(displayData$ | async) === false">
<ng-template mat-tab-label>
<span class="tab-header-label" translate>record.tab.data</span>
<span class="tab-header-label" translate
>mel.record.tab.data</span
>
</ng-template>
@if(displayData$ | async) {
<div class="block">
Expand All @@ -62,7 +64,9 @@
</mat-tab>
<mat-tab [disabled]="(displayData$ | async) === false">
<ng-template mat-tab-label>
<span class="tab-header-label" translate>record.tab.chart</span>
<span class="tab-header-label" translate
>mel.record.tab.chart</span
>
</ng-template>
@if(displayData$ | async) {
<div class="block">
Expand Down Expand Up @@ -98,7 +102,7 @@
class="font-title text-[28px] text-title font-medium mt-6 sm:mt-10 mb-4 text-center sm:text-left"
translate
>
record.metadata.related
mel.record.metadata.related
</p>
<div
class="mb-4 flex flex-wrap gap-6 justify-center sm:justify-start"
Expand Down
12 changes: 9 additions & 3 deletions apps/datahub/src/assets/i18n/en_MEL.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
"mel.common.header.title": "",
"mel.datahub.home.title": "",
"mel.datahub.search.title": "",
"record.metadata.api": "",
"record.metadata.api.form.closeButton": "",
"record.metadata.api.form.title": ""
"mel.dataset.informations": "",
"mel.record.metadata.api": "",
"mel.record.metadata.api.form.closeButton": "",
"mel.record.metadata.api.form.title": "",
"mel.record.metadata.preview": "",
"mel.record.metadata.related": "",
"mel.record.tab.chart": "",
"mel.record.tab.data": "",
"mel.record.tab.map": ""
}
12 changes: 9 additions & 3 deletions apps/datahub/src/assets/i18n/fr_MEL.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
"mel.common.header.title": "Data platform",
"mel.datahub.home.title": "Métropole Européenne Lille",
"mel.datahub.search.title": "Catalogue de jeux de données",
"record.metadata.api": "",
"record.metadata.api.form.closeButton": "",
"record.metadata.api.form.title": ""
"mel.dataset.informations": "Informations",
"mel.record.metadata.api": "API",
"mel.record.metadata.api.form.closeButton": "Fermer",
"mel.record.metadata.api.form.title": "Générer une URL personnalisée",
"mel.record.metadata.preview": "Visualisation",
"mel.record.metadata.related": "Jeux de données similaires",
"mel.record.tab.chart": "Analyse",
"mel.record.tab.data": "Tableau",
"mel.record.tab.map": "Cartographie"
}

0 comments on commit d020e7b

Please sign in to comment.