translation fix

This commit is contained in:
Daniel Shleifman
2021-06-10 10:51:34 +03:00
parent cfd707ff5d
commit d974fe8ad1
4 changed files with 11 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
<>
<DialogHeader
onClose={closeDialog}
title={isDetailedCacheView ? t('DetailedCacheView') : t('TorrentDetails')}
title={isDetailedCacheView ? t('DetailedCacheView.header') : t('TorrentDetails')}
{...(isDetailedCacheView && { onBack: () => setIsDetailedCacheView(false) })}
/>
@@ -190,7 +190,7 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
size='large'
onClick={() => setIsDetailedCacheView(true)}
>
{t('DetailedCacheView')}
{t('DetailedCacheView.button')}
</Button>
</CacheSection>