Display 'people voted' instead of 'votes' for multi-choice polls
This commit is contained in:
parent
647d75f27c
commit
1506b97e35
3 changed files with 10 additions and 2 deletions
|
@ -58,7 +58,12 @@
|
|||
{{ $t('polls.vote') }}
|
||||
</button>
|
||||
<div class="total">
|
||||
{{ totalVotesCount }} {{ $t("polls.votes") }} ·
|
||||
<template v-if="poll.multiple">
|
||||
{{ $tc("polls.people_voted_count", poll.voters_count, { count: poll.voters_count }) }} ·
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }} ·
|
||||
</template>
|
||||
</div>
|
||||
<i18n :path="expired ? 'polls.expired' : 'polls.expires_in'">
|
||||
<Timeago
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue