feat: poll plural support (#375)
This commit is contained in:
parent
00b835444b
commit
2fed89be9d
5 changed files with 8 additions and 8 deletions
|
@ -57,7 +57,7 @@ async function vote(e: Event) {
|
|||
</div>
|
||||
</template>
|
||||
<div text-sm>
|
||||
{{ $t('status.poll.count', [poll.votersCount]) }}
|
||||
{{ $t('status.poll.count', poll.votersCount ?? 0) }}
|
||||
·
|
||||
<CommonTooltip :content="expiredTimeFormatted" class="inline-block" placement="right">
|
||||
<time :datetime="poll.expiresAt!">{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}</time>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue