mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
fix casing on some translation strings
This commit is contained in:
parent
12c517f0ff
commit
b9611589ba
2 changed files with 6 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue