mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 14:06:09 +05:00
translation fix
This commit is contained in:
@@ -10,7 +10,7 @@ const TorrentCache = memo(
|
||||
const cacheMap = useCreateCacheMap(cache)
|
||||
|
||||
const preloadPiecesAmount = Math.round(cache.Capacity / cache.PiecesLength - 1)
|
||||
const isSnakeLarge = cacheMap.length > 5000
|
||||
const isSnakeLarge = cacheMap.length > 1000
|
||||
|
||||
return isMini ? (
|
||||
<DefaultSnake isMini cacheMap={cacheMap} preloadPiecesAmount={preloadPiecesAmount} />
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user