add translation
This commit is contained in:
parent
f5a04980a4
commit
748db032c7
2 changed files with 5 additions and 1 deletions
|
@ -139,6 +139,8 @@
|
||||||
"genreWithCount_other": "{{count}} genres",
|
"genreWithCount_other": "{{count}} genres",
|
||||||
"playlist_one": "playlist",
|
"playlist_one": "playlist",
|
||||||
"playlist_other": "playlists",
|
"playlist_other": "playlists",
|
||||||
|
"play_one": "{{count}} play",
|
||||||
|
"play_other": "{{count}} plays",
|
||||||
"playlistWithCount_one": "{{count}} playlist",
|
"playlistWithCount_one": "{{count}} playlist",
|
||||||
"playlistWithCount_other": "{{count}} playlists",
|
"playlistWithCount_other": "{{count}} playlists",
|
||||||
"smartPlaylist": "smart $t(entity.playlist_one)",
|
"smartPlaylist": "smart $t(entity.playlist_one)",
|
||||||
|
|
|
@ -50,7 +50,9 @@ export const AlbumDetailHeader = forwardRef(
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'playCount',
|
id: 'playCount',
|
||||||
value: `${detailQuery?.data?.playCount} plays`,
|
value: t('entity.play', {
|
||||||
|
count: detailQuery?.data?.playCount as number,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Reference in a new issue