Make media modal counter go through i18n See merge request pleroma/pleroma-fe!1436
@@ -68,7 +68,7 @@
<span
class="counter"
>
- {{ currentIndex + 1 }} / {{ media.length }}
+ {{ $tc('media_modal.counter', currentIndex + 1, { current: currentIndex + 1, total: media.length }) }}
</span>
v-if="loading"
@@ -118,7 +118,8 @@
},
"media_modal": {
"previous": "Previous",
- "next": "Next"
+ "next": "Next",
+ "counter": "{current} / {total}"
"nav": {
"about": "About",