feat(i18n): translate vote result
This commit is contained in:
parent
cd5881b210
commit
f2a1cdaefe
3 changed files with 13 additions and 1 deletions
|
@ -56,7 +56,9 @@ async function vote(e: Event) {
|
|||
</div>
|
||||
</template>
|
||||
<div text-sm>
|
||||
{{ poll.votersCount }} votes · {{ poll.expired ? 'finished' : 'ends' }} {{ expiredTimeAgo }}
|
||||
{{ $t('status.poll.count', [poll.votersCount]) }}
|
||||
·
|
||||
{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue