Translate and use the count system for counts.videos

This commit is contained in:
root
2021-08-28 06:28:46 +05:30
parent 7f119adacf
commit e60833db73
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
</div>
</div>
</router-link>
<h5 class="text-h5 ml-16">{{ playlist.videos }} Videos</h5>
<h5 class="text-h5 ml-16">{{ $tc('counts.videos', playlist.videos) }}</h5>
</v-card-text>
<v-card-actions>
<v-btn icon x-large link :href="getRssUrl"><v-icon x-large>mdi-rss-box</v-icon></v-btn>
+3
View File
@@ -8,6 +8,9 @@
"preferences": "Preferences",
"history": "Watch History"
},
"counts": {
"videos": "No videos | One Video | {count} Videos"
},
"actions": {
"subscribe": "Subscribe",
"unsubscribe": "Unsubscribe",