mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
translation fix
This commit is contained in:
@@ -10,7 +10,7 @@ const TorrentCache = memo(
|
|||||||
const cacheMap = useCreateCacheMap(cache)
|
const cacheMap = useCreateCacheMap(cache)
|
||||||
|
|
||||||
const preloadPiecesAmount = Math.round(cache.Capacity / cache.PiecesLength - 1)
|
const preloadPiecesAmount = Math.round(cache.Capacity / cache.PiecesLength - 1)
|
||||||
const isSnakeLarge = cacheMap.length > 5000
|
const isSnakeLarge = cacheMap.length > 1000
|
||||||
|
|
||||||
return isMini ? (
|
return isMini ? (
|
||||||
<DefaultSnake isMini cacheMap={cacheMap} preloadPiecesAmount={preloadPiecesAmount} />
|
<DefaultSnake isMini cacheMap={cacheMap} preloadPiecesAmount={preloadPiecesAmount} />
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
|
|||||||
<>
|
<>
|
||||||
<DialogHeader
|
<DialogHeader
|
||||||
onClose={closeDialog}
|
onClose={closeDialog}
|
||||||
title={isDetailedCacheView ? t('DetailedCacheView') : t('TorrentDetails')}
|
title={isDetailedCacheView ? t('DetailedCacheView.header') : t('TorrentDetails')}
|
||||||
{...(isDetailedCacheView && { onBack: () => setIsDetailedCacheView(false) })}
|
{...(isDetailedCacheView && { onBack: () => setIsDetailedCacheView(false) })}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@@ -190,7 +190,7 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
|
|||||||
size='large'
|
size='large'
|
||||||
onClick={() => setIsDetailedCacheView(true)}
|
onClick={() => setIsDetailedCacheView(true)}
|
||||||
>
|
>
|
||||||
{t('DetailedCacheView')}
|
{t('DetailedCacheView.button')}
|
||||||
</Button>
|
</Button>
|
||||||
</CacheSection>
|
</CacheSection>
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,10 @@
|
|||||||
"Delete": "Delete",
|
"Delete": "Delete",
|
||||||
"DeleteTorrent?": "Delete Torrent?",
|
"DeleteTorrent?": "Delete Torrent?",
|
||||||
"DeleteTorrents?": "Delete All Torrents?",
|
"DeleteTorrents?": "Delete All Torrents?",
|
||||||
"DetailedCacheView": "Detailed Cache View",
|
"DetailedCacheView": {
|
||||||
|
"button": "Detailed Cache View",
|
||||||
|
"header": "$t(DetailedCacheView.button)"
|
||||||
|
},
|
||||||
"Details": "Details",
|
"Details": "Details",
|
||||||
"DHT": "DHT (Distributed Hash Table)",
|
"DHT": "DHT (Distributed Hash Table)",
|
||||||
"DhtConnectionLimit": "DHT Connection Limit",
|
"DhtConnectionLimit": "DHT Connection Limit",
|
||||||
|
|||||||
@@ -19,7 +19,10 @@
|
|||||||
"Delete": "Удалить",
|
"Delete": "Удалить",
|
||||||
"DeleteTorrent?": "Удалить торрент?",
|
"DeleteTorrent?": "Удалить торрент?",
|
||||||
"DeleteTorrents?": "Удалить все торренты?",
|
"DeleteTorrents?": "Удалить все торренты?",
|
||||||
"DetailedCacheView": "Информация о заполнении кеша",
|
"DetailedCacheView": {
|
||||||
|
"button": "Информация о заполнении кеша",
|
||||||
|
"header": "Заполнение кеша"
|
||||||
|
},
|
||||||
"Details": "Инфо",
|
"Details": "Инфо",
|
||||||
"DHT": "DHT (Distributed Hash Table)",
|
"DHT": "DHT (Distributed Hash Table)",
|
||||||
"DhtConnectionLimit": "Лимит подключений DHT",
|
"DhtConnectionLimit": "Лимит подключений DHT",
|
||||||
|
|||||||
Reference in New Issue
Block a user