$tc n'est plus supporté pour i18n composition api, il faut utiliser $t.

FIX: Person PersonRenderBox
This commit is contained in:
Boris Waaub 2024-05-13 12:16:07 +02:00
parent 8991f0ef3f
commit d00b76ffcd

View File

@ -52,9 +52,7 @@
{{ $t('renderbox.deathdate') + ' ' + deathdate }}
</time>
<span v-if="options.addAge && person.birthdate" class="age">{{
{{ $t('renderbox.years_old', { n: person.age }) }}
}}</span>
<span v-if="options.addAge && person.birthdate" class="age">{{ $t('renderbox.years_old', { n: person.age }) }}</span>
</p>
</div>
</div>