Skip to content

Commit 0b5a17c

Browse files
feat: add translation for estimation page
1 parent fab70cd commit 0b5a17c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

i18n/locales/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,5 +243,8 @@
243243
"units": {
244244
"hours": "hours",
245245
"days": "days"
246+
},
247+
"estimation": {
248+
"possibleImprovements": "Possible improvements:"
246249
}
247250
}

i18n/locales/fr.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,5 +243,8 @@
243243
"units": {
244244
"hours": "heures",
245245
"days": "jours"
246+
},
247+
"estimation": {
248+
"possibleImprovements": "Quelques axes d'amélioration :"
246249
}
247250
}

pages/calculatrice/estimation/[infrastructureID]/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
/>
2929

3030
<CardCustom>
31-
<div class="font-bold mt-5 ml-5">Quelques axes d'amélioration :</div>
31+
<div class="font-bold mt-5 ml-5">
32+
{{ $t("estimation.possibleImprovements") }}
33+
</div>
3234
<ComparativeByRegion
3335
ref="comparativeComponentRef"
3436
:infrastructure-id="infrastructureId"
@@ -40,6 +42,7 @@
4042

4143
<script setup lang="ts">
4244
import type { Infrastructure } from "~/type/infrastructure/Infrastructure";
45+
4346
const { $api } = useNuxtApp();
4447
const route = useRoute();
4548
const infrastructure: Ref<Infrastructure | undefined> = ref();

0 commit comments

Comments
 (0)