replace deprecated tc with t equivalent

This commit is contained in:
Henry Jameson 2025-01-02 22:58:36 +02:00
commit 2f7b9fb4ef
12 changed files with 23 additions and 20 deletions

View file

@ -85,10 +85,10 @@
</span>
<div class="total">
<template v-if="typeof poll.voters_count === 'number'">
{{ $tc("polls.people_voted_count", poll.voters_count, { count: poll.voters_count }) }}
{{ $t("polls.people_voted_count", { count: poll.voters_count }, poll.voters_count) }}
</template>
<template v-else>
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }}
{{ $t("polls.votes_count", { count: poll.votes_count }, poll.votes_count) }}
</template>
<span v-if="expiresAt !== null">
&nbsp;·&nbsp;