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:
commit
0300db6c63
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -118,7 +118,8 @@
|
|||
},
|
||||
"media_modal": {
|
||||
"previous": "Previous",
|
||||
"next": "Next"
|
||||
"next": "Next",
|
||||
"counter": "{current} / {total}"
|
||||
},
|
||||
"nav": {
|
||||
"about": "About",
|
||||
|
|
Loading…
Reference in a new issue