浏览代码

Merge branch 'from/develop/tusooa/fix-poll-duration-i18n' into 'develop'

Fix poll duration i18n

See merge request pleroma/pleroma-fe!1565
tusooa 2 年之前
父节点
当前提交
ba722f3f3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>