Browse Source

Make media modal counter go through i18n

Tusooa Zhu 2 years ago
parent
commit
1b32bb9c51
1 changed files with 1 additions and 1 deletions
  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"