i18n fixes

This commit is contained in:
Henry Jameson 2021-04-25 13:25:42 +03:00
parent 52835cf8bf
commit 9e8513b312
4 changed files with 12 additions and 12 deletions

View file

@ -65,13 +65,13 @@
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }} · 
</template>
</div>
<i18n :path="expired ? 'polls.expired' : 'polls.expires_in'">
<i18n-t :keypath="expired ? 'polls.expired' : 'polls.expires_in'">
<Timeago
:time="expiresAt"
:auto-update="60"
:now-threshold="0"
/>
</i18n>
</i18n-t>
</div>
</div>
</template>