fix(client): use correct interpolation format for strings

This commit is contained in:
Matteo Pagliazzi
2020-09-12 19:08:38 +02:00
parent 52667661c6
commit 0837d17616
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
role="tabpanel"
>
<div
v-markdown="$t('webFaqAnswer' + index, replacements)"
v-markdown="$t(`webFaqAnswer${index}`, replacements)"
class="card-body"
></div>
</b-collapse>
@@ -12,7 +12,7 @@
v-for="(images, category) in imgs"
:key="category"
>
<h2>{{ $t('pk' + category) }}</h2>
<h2>{{ $t(`pk${category}`) }}</h2>
<div v-if="Array.isArray(images)">
<div
v-for="img in images"
@@ -29,7 +29,7 @@
v-for="(images, secondaryCategory) in images"
:key="secondaryCategory"
>
<h3>{{ $t('pk' + secondaryCategory) }}</h3>
<h3>{{ $t(`pk${secondaryCategory}`) }}</h3>
<div
v-for="img in images"
:key="img"