瀏覽代碼

Make media modal counter go through i18n

Tusooa Zhu 2 年之前
父節點
當前提交
1b32bb9c51
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/media_modal/media_modal.vue

+ 1 - 1
src/components/media_modal/media_modal.vue

@@ -68,7 +68,7 @@
     <span
       class="counter"
     >
-      {{ currentIndex + 1 }} / {{ media.length }}
+      {{ $tc('media_modal.counter', currentIndex + 1, { current: currentIndex + 1, total: media.length }) }}
     </span>
     <span
       v-if="loading"