fix casing on some translation strings

This commit is contained in:
jeffvli 2025-05-06 13:23:29 -07:00
parent 12c517f0ff
commit b9611589ba
2 changed files with 6 additions and 3 deletions

View file

@ -162,7 +162,7 @@ export const useHandlePlayQueueAdd = () => {
if (!songs || songs?.length === 0)
return toast.warn({
message: t('common.noResultsFromQuery', { postProcess: 'sentenceCase' }),
title: t('player.playbackFetchNoResults'),
title: t('player.playbackFetchNoResults', { postProcess: 'sentenceCase' }),
});
if (initialIndex) {

View file

@ -122,9 +122,12 @@ const TrackListRoute = () => {
const artist = searchParams.get('artistName');
const title = artist
? t('page.trackList.artistTracks', { artist })
? t('page.trackList.artistTracks', { artist, postProcess: 'sentenceCase' })
: genreId
? t('page.trackList.genreTracks', { genre: titleCase(genreTitle) })
? t('page.trackList.genreTracks', {
genre: titleCase(genreTitle),
postProcess: 'sentenceCase',
})
: undefined;
return (