mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 05:36:00 +02:00
remove direct references to plural translation keys
This commit is contained in:
@@ -44,8 +44,8 @@ export const SongListHeaderFilters = ({ toggleGenreTarget }: { toggleGenreTarget
|
||||
|
||||
const choice = useMemo(() => {
|
||||
return target === GenreTarget.ALBUM
|
||||
? t('entity.album_other', { postProcess: 'titleCase' })
|
||||
: t('entity.track_other', { postProcess: 'titleCase' });
|
||||
? t('entity.album', { count: 2, postProcess: 'titleCase' })
|
||||
: t('entity.track', { count: 2, postProcess: 'titleCase' });
|
||||
}, [target, t]);
|
||||
|
||||
const hasActiveFilters = useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user