Browse Source

Fix poll duration i18n

Tusooa Zhu 2 years ago
parent
commit
1a63f439e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/poll/poll_form.vue

+ 1 - 1
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>