replace deprecated tc with t equivalent
This commit is contained in:
parent
1d7c9e17fe
commit
2f7b9fb4ef
12 changed files with 23 additions and 20 deletions
|
|
@ -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">
|
||||
·
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue