1
0
Fork 0
forked from srxl/akkoma-fe

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

View file

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