Prechádzať zdrojové kódy

Make media modal counter go through i18n

Tusooa Zhu 2 rokov pred
rodič
commit
1b32bb9c51

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