From 4bc72905de62041041ee793e8a25afe51d1f5a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Sat, 31 Dec 2022 05:43:17 +0800 Subject: [PATCH] fix(poll): show poll times --- components/status/StatusPoll.vue | 2 +- locales/ar-EG.json | 2 +- locales/cs-CZ.json | 2 +- locales/de-DE.json | 2 +- locales/en-GB.json | 2 +- locales/en-US.json | 2 +- locales/es-ES.json | 2 +- locales/fr-FR.json | 2 +- locales/zh-CN.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/status/StatusPoll.vue b/components/status/StatusPoll.vue index 6151ac1f..a0db9a23 100644 --- a/components/status/StatusPoll.vue +++ b/components/status/StatusPoll.vue @@ -60,7 +60,7 @@ async function vote(e: Event) {
- {{ $t('status.poll.count', formatHumanReadableNumber(poll.votersCount ?? 0)) }} + {{ $t('status.poll.count', [formatHumanReadableNumber(poll.votersCount ?? 0)]) }} · diff --git a/locales/ar-EG.json b/locales/ar-EG.json index a941af69..ea6f33a5 100644 --- a/locales/ar-EG.json +++ b/locales/ar-EG.json @@ -211,7 +211,7 @@ "dismiss": "تجاهل" }, "poll": { - "count": "{n} أصوات|{n} صوت|{n} أصوات", + "count": "{0} أصوات|{0} صوت|{0} أصوات", "ends": "ينتهي في {0}", "finished": "انتهى في {0}" }, diff --git a/locales/cs-CZ.json b/locales/cs-CZ.json index e4128ec8..a63ecac8 100644 --- a/locales/cs-CZ.json +++ b/locales/cs-CZ.json @@ -168,7 +168,7 @@ "dismiss": "Skrýt" }, "poll": { - "count": "{n} hlasů|{n} hlas|{n} hlasů", + "count": "{0} hlasů|{0} hlas|{0} hlasů", "ends": "končí {0}", "finished": "ukončeno {0}" }, diff --git a/locales/de-DE.json b/locales/de-DE.json index bb0fed13..3c2f1e2f 100644 --- a/locales/de-DE.json +++ b/locales/de-DE.json @@ -171,7 +171,7 @@ "dismiss": "Schliessen" }, "poll": { - "count": "{0} Stimmen|{n} Stimme|{n} Stimmen", + "count": "{0} Stimmen|{0} Stimme|{0} Stimmen", "ends": "Endet: {0}", "finished": "Beendet: {0}" }, diff --git a/locales/en-GB.json b/locales/en-GB.json index 64278932..cae4d546 100644 --- a/locales/en-GB.json +++ b/locales/en-GB.json @@ -276,7 +276,7 @@ "dismiss": "Dismiss" }, "poll": { - "count": "{n} votes|{n} vote|{n} votes", + "count": "{0} votes|{0} vote|{0} votes", "ends": "ends {0}", "finished": "finished {0}" }, diff --git a/locales/en-US.json b/locales/en-US.json index ece788ea..26c821ef 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -276,7 +276,7 @@ "dismiss": "Dismiss" }, "poll": { - "count": "{n} votes|{n} vote|{n} votes", + "count": "{0} votes|{0} vote|{0} votes", "ends": "ends {0}", "finished": "finished {0}" }, diff --git a/locales/es-ES.json b/locales/es-ES.json index 7a43134d..fc4b3138 100644 --- a/locales/es-ES.json +++ b/locales/es-ES.json @@ -267,7 +267,7 @@ "dismiss": "Descartar" }, "poll": { - "count": "{n} votos|{n} voto|{n} votos", + "count": "{0} votos|{0} voto|{0} votos", "ends": "finaliza {0}", "finished": "finalizada {0}" }, diff --git a/locales/fr-FR.json b/locales/fr-FR.json index be5deec0..9f913e44 100644 --- a/locales/fr-FR.json +++ b/locales/fr-FR.json @@ -228,7 +228,7 @@ "dismiss": "Fermer" }, "poll": { - "count": "{n} votes", + "count": "{0} votes", "ends": "se clôt {0}", "finished": "clos {0}" }, diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 265dfbfb..77930680 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -276,7 +276,7 @@ "dismiss": "忽略" }, "poll": { - "count": "{n} 次投票", + "count": "{0} 次投票", "ends": "将在 {0} 结束", "finished": "已在 {0} 结束" },