add translation

This commit is contained in:
Kendall Garner
2024-09-01 12:48:11 -07:00
parent f5a04980a4
commit 748db032c7
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -139,6 +139,8 @@
"genreWithCount_other": "{{count}} genres",
"playlist_one": "playlist",
"playlist_other": "playlists",
"play_one": "{{count}} play",
"play_other": "{{count}} plays",
"playlistWithCount_one": "{{count}} playlist",
"playlistWithCount_other": "{{count}} playlists",
"smartPlaylist": "smart $t(entity.playlist_one)",
@@ -50,7 +50,9 @@ export const AlbumDetailHeader = forwardRef(
},
{
id: 'playCount',
value: `${detailQuery?.data?.playCount} plays`,
value: t('entity.play', {
count: detailQuery?.data?.playCount as number,
}),
},
];