fix(poll): show poll times

zio/stable
三咲智子 2022-12-31 05:43:17 +08:00
parent 58e51d4358
commit 4bc72905de
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
9 changed files with 9 additions and 9 deletions

View File

@ -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)]) }}
&middot; &middot;
<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>

View File

@ -211,7 +211,7 @@
"dismiss": "تجاهل" "dismiss": "تجاهل"
}, },
"poll": { "poll": {
"count": "{n} أصوات|{n} صوت|{n} أصوات", "count": "{0} أصوات|{0} صوت|{0} أصوات",
"ends": "ينتهي في {0}", "ends": "ينتهي في {0}",
"finished": "انتهى في {0}" "finished": "انتهى في {0}"
}, },

View File

@ -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}"
}, },

View File

@ -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}"
}, },

View File

@ -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}"
}, },

View File

@ -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}"
}, },

View File

@ -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}"
}, },

View File

@ -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}"
}, },

View File

@ -276,7 +276,7 @@
"dismiss": "忽略" "dismiss": "忽略"
}, },
"poll": { "poll": {
"count": "{n} 次投票", "count": "{0} 次投票",
"ends": "将在 {0} 结束", "ends": "将在 {0} 结束",
"finished": "已在 {0} 结束" "finished": "已在 {0} 结束"
}, },