Merge branch 'from/develop/tusooa/media-modal-counter-i18n' into 'develop'

Make media modal counter go through i18n

See merge request pleroma/pleroma-fe!1436
This commit is contained in:
HJ 2022-02-21 16:15:16 +00:00
commit 0300db6c63
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -118,7 +118,8 @@
},
"media_modal": {
"previous": "Previous",
"next": "Next"
"next": "Next",
"counter": "{current} / {total}"
},
"nav": {
"about": "About",