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
|
@ -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"
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue