forked from Mirrors/elk
fix(poll): show poll times
This commit is contained in:
parent
58e51d4358
commit
4bc72905de
9 changed files with 9 additions and 9 deletions
|
@ -60,7 +60,7 @@ async function vote(e: Event) {
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div text-sm>
|
<div text-sm>
|
||||||
{{ $t('status.poll.count', formatHumanReadableNumber(poll.votersCount ?? 0)) }}
|
{{ $t('status.poll.count', [formatHumanReadableNumber(poll.votersCount ?? 0)]) }}
|
||||||
·
|
·
|
||||||
<CommonTooltip :content="expiredTimeFormatted" class="inline-block" placement="right">
|
<CommonTooltip :content="expiredTimeFormatted" class="inline-block" placement="right">
|
||||||
<time :datetime="poll.expiresAt!">{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}</time>
|
<time :datetime="poll.expiresAt!">{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}</time>
|
||||||
|
|
|
@ -211,7 +211,7 @@
|
||||||
"dismiss": "تجاهل"
|
"dismiss": "تجاهل"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{n} أصوات|{n} صوت|{n} أصوات",
|
"count": "{0} أصوات|{0} صوت|{0} أصوات",
|
||||||
"ends": "ينتهي في {0}",
|
"ends": "ينتهي في {0}",
|
||||||
"finished": "انتهى في {0}"
|
"finished": "انتهى في {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -168,7 +168,7 @@
|
||||||
"dismiss": "Skrýt"
|
"dismiss": "Skrýt"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{n} hlasů|{n} hlas|{n} hlasů",
|
"count": "{0} hlasů|{0} hlas|{0} hlasů",
|
||||||
"ends": "končí {0}",
|
"ends": "končí {0}",
|
||||||
"finished": "ukončeno {0}"
|
"finished": "ukončeno {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -171,7 +171,7 @@
|
||||||
"dismiss": "Schliessen"
|
"dismiss": "Schliessen"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{0} Stimmen|{n} Stimme|{n} Stimmen",
|
"count": "{0} Stimmen|{0} Stimme|{0} Stimmen",
|
||||||
"ends": "Endet: {0}",
|
"ends": "Endet: {0}",
|
||||||
"finished": "Beendet: {0}"
|
"finished": "Beendet: {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -276,7 +276,7 @@
|
||||||
"dismiss": "Dismiss"
|
"dismiss": "Dismiss"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{n} votes|{n} vote|{n} votes",
|
"count": "{0} votes|{0} vote|{0} votes",
|
||||||
"ends": "ends {0}",
|
"ends": "ends {0}",
|
||||||
"finished": "finished {0}"
|
"finished": "finished {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -276,7 +276,7 @@
|
||||||
"dismiss": "Dismiss"
|
"dismiss": "Dismiss"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{n} votes|{n} vote|{n} votes",
|
"count": "{0} votes|{0} vote|{0} votes",
|
||||||
"ends": "ends {0}",
|
"ends": "ends {0}",
|
||||||
"finished": "finished {0}"
|
"finished": "finished {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -267,7 +267,7 @@
|
||||||
"dismiss": "Descartar"
|
"dismiss": "Descartar"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{n} votos|{n} voto|{n} votos",
|
"count": "{0} votos|{0} voto|{0} votos",
|
||||||
"ends": "finaliza {0}",
|
"ends": "finaliza {0}",
|
||||||
"finished": "finalizada {0}"
|
"finished": "finalizada {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -228,7 +228,7 @@
|
||||||
"dismiss": "Fermer"
|
"dismiss": "Fermer"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{n} votes",
|
"count": "{0} votes",
|
||||||
"ends": "se clôt {0}",
|
"ends": "se clôt {0}",
|
||||||
"finished": "clos {0}"
|
"finished": "clos {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -276,7 +276,7 @@
|
||||||
"dismiss": "忽略"
|
"dismiss": "忽略"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{n} 次投票",
|
"count": "{0} 次投票",
|
||||||
"ends": "将在 {0} 结束",
|
"ends": "将在 {0} 结束",
|
||||||
"finished": "已在 {0} 结束"
|
"finished": "已在 {0} 结束"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue