File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
src/renderer/components/playlist-info Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import FtIconButton from '../ft-icon-button/ft-icon-button.vue'
6
6
import FtInput from '../ft-input/ft-input.vue'
7
7
import FtPrompt from '../ft-prompt/ft-prompt.vue'
8
8
import {
9
+ formatNumber ,
9
10
showToast ,
10
11
} from '../../helpers/utils'
11
12
@@ -145,6 +146,14 @@ export default defineComponent({
145
146
return this . firstVideoId !== ''
146
147
} ,
147
148
149
+ parsedViewCount ( ) {
150
+ return formatNumber ( this . viewCount )
151
+ } ,
152
+
153
+ parsedVideoCount ( ) {
154
+ return formatNumber ( this . videoCount )
155
+ } ,
156
+
148
157
thumbnail : function ( ) {
149
158
if ( this . thumbnailPreference === 'hidden' || ! this . firstVideoIdExists ) {
150
159
return require ( '../../assets/img/thumbnail_placeholder.svg' )
Original file line number Diff line number Diff line change 47
47
{{ title }}
48
48
</h2 >
49
49
<p >
50
- {{ videoCount }} {{ $t("Playlist.Videos" ) }}
50
+ {{ $tc('Global.Counts.Video Count', videoCount, {count: parsedVideoCount} ) }}
51
51
<span v-if =" !hideViews && !isUserPlaylist" >
52
- - {{ viewCount }} {{ $t("Playlist.Views" ) }}
52
+ - {{ $tc('Global.Counts.View Count', viewCount, {count: parsedViewCount} ) }}
53
53
</span >
54
54
<span >- </span >
55
55
<span v-if =" infoSource !== 'local'" >
You can’t perform that action at this time.
0 commit comments