mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix casing on some translation strings
This commit is contained in:
@@ -162,7 +162,7 @@ export const useHandlePlayQueueAdd = () => {
|
|||||||
if (!songs || songs?.length === 0)
|
if (!songs || songs?.length === 0)
|
||||||
return toast.warn({
|
return toast.warn({
|
||||||
message: t('common.noResultsFromQuery', { postProcess: 'sentenceCase' }),
|
message: t('common.noResultsFromQuery', { postProcess: 'sentenceCase' }),
|
||||||
title: t('player.playbackFetchNoResults'),
|
title: t('player.playbackFetchNoResults', { postProcess: 'sentenceCase' }),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (initialIndex) {
|
if (initialIndex) {
|
||||||
|
|||||||
@@ -122,9 +122,12 @@ const TrackListRoute = () => {
|
|||||||
|
|
||||||
const artist = searchParams.get('artistName');
|
const artist = searchParams.get('artistName');
|
||||||
const title = artist
|
const title = artist
|
||||||
? t('page.trackList.artistTracks', { artist })
|
? t('page.trackList.artistTracks', { artist, postProcess: 'sentenceCase' })
|
||||||
: genreId
|
: genreId
|
||||||
? t('page.trackList.genreTracks', { genre: titleCase(genreTitle) })
|
? t('page.trackList.genreTracks', {
|
||||||
|
genre: titleCase(genreTitle),
|
||||||
|
postProcess: 'sentenceCase',
|
||||||
|
})
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user