diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 949de67b..dfcbe613 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -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)", diff --git a/src/renderer/features/albums/components/album-detail-header.tsx b/src/renderer/features/albums/components/album-detail-header.tsx index 47387599..9cb017f7 100644 --- a/src/renderer/features/albums/components/album-detail-header.tsx +++ b/src/renderer/features/albums/components/album-detail-header.tsx @@ -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, + }), }, ];