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

View File

@@ -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"