mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
translate buffer note in details
This commit is contained in:
@@ -103,6 +103,7 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
|
||||
}, [hash])
|
||||
|
||||
const bufferSize = settings?.PreloadBuffer ? Capacity : 33554432 // Default is 32mb if PreloadBuffer is false
|
||||
// const bufferSize = Capacity
|
||||
|
||||
const getTitle = value => {
|
||||
const torrentParsedName = value && ptt.parse(value)
|
||||
@@ -176,9 +177,7 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
|
||||
<CacheSection>
|
||||
<SectionHeader>
|
||||
<SectionTitle mb={20}>{t('Buffer')}</SectionTitle>
|
||||
{!settings?.PreloadBuffer && (
|
||||
<SectionSubName>Enable "Preload Buffer" in settings to change buffer size</SectionSubName>
|
||||
)}
|
||||
{!settings?.PreloadBuffer && (<SectionSubName>{t('BufferNote')}</SectionSubName>)}
|
||||
<LoadingProgress
|
||||
value={Filled}
|
||||
fullAmount={bufferSize}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
"AddFromLink": "Add from Link",
|
||||
"AddMagnetOrLink": "Add magnet or link to torrent file",
|
||||
"AddRetrackers": "Add retrackers",
|
||||
"Buffer": "Buffer",
|
||||
"Buffer": "Preload Buffer / Cache",
|
||||
"BufferNote": "Enable "Preload Buffer" in settings to see cache loading progress",
|
||||
"CacheSize": "Cache Size (Megabytes)",
|
||||
"Cancel": "Cancel",
|
||||
"Close": "Close",
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
"AddFromLink": "Добавить",
|
||||
"AddMagnetOrLink": "Добавьте magnet или ссылку на торрент",
|
||||
"AddRetrackers": "Добавлять",
|
||||
"Buffer": "Буфер",
|
||||
"Buffer": "Предзагрузка / Кеш",
|
||||
"BufferNote": "Включите «Наполнять кеш перед началом воспроизведения» в настройках для показа заполнения кеша",
|
||||
"CacheSize": "Размер кеша (Мегабайты)",
|
||||
"Cancel": "Отмена",
|
||||
"Close": "Закрыть",
|
||||
|
||||
Reference in New Issue
Block a user