aboutsummaryrefslogtreecommitdiff
path: root/src/components/poll
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-07-24 23:32:58 -0400
committerTusooa Zhu <tusooa@kazv.moe>2022-07-24 23:32:58 -0400
commit1a63f439e3eea62c43e931d23cc7e1f54e252232 (patch)
treef7850aacba988c45cdc42f561d9bf111aca18c4d /src/components/poll
parent075d48b7f7431dd38f8430de2bfbdad72bfe8240 (diff)
Fix poll duration i18n
Diffstat (limited to 'src/components/poll')
-rw-r--r--src/components/poll/poll_form.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/poll/poll_form.vue b/src/components/poll/poll_form.vue
index f269d60e..146754db 100644
--- a/src/components/poll/poll_form.vue
+++ b/src/components/poll/poll_form.vue
@@ -84,7 +84,7 @@
:key="unit"
:value="unit"
>
- {{ $t(`time.${unit}_short`, ['']) }}
+ {{ $tc(`time.unit.${unit}_short`, expiryAmount, ['']) }}
</option>
</Select>
</div>