add translation

This commit is contained in:
Kendall Garner 2024-09-01 12:48:11 -07:00
parent f5a04980a4
commit 748db032c7
No known key found for this signature in database
GPG key ID: 18D2767419676C87
2 changed files with 5 additions and 1 deletions

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)",

View file

@ -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,
}),
},
];