fix plurals falling back to en when no count

This commit is contained in:
austinried
2022-04-16 18:38:22 +09:00
parent c78fc65279
commit e6e997e4b5
3 changed files with 5 additions and 5 deletions

View File

@@ -17,8 +17,6 @@ const LibraryTopTabNavigator = withSuspense(() => {
const { t } = useTranslation()
const marginTop = useSafeAreaInsets().top
console.log('Albums:', t('resources.album.name', { count: 2 }))
return (
<Tab.Navigator
tabBarOptions={{

View File

@@ -21,7 +21,7 @@ const NowPlayingNavigator = withSuspense(() => {
name="queue"
component={NowPlayingQueue}
options={{
title: t('resources.queue.name'),
title: t('resources.queue.name', { count: 1 }),
headerStyle: {
backgroundColor: colors.gradient.high,
},