mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
update settings translation
This commit is contained in:
@@ -50,13 +50,13 @@ export default function PrimarySettingsComponent({
|
||||
|
||||
<PreloadCachePercentage
|
||||
value={100 - cachePercentage}
|
||||
label={`${t('Cache')} ${cacheSize} MB`}
|
||||
label={`${t('Cache')} ${cacheSize} ${t('MB')}`}
|
||||
preloadCachePercentage={preloadCachePercentage}
|
||||
/>
|
||||
|
||||
<PreloadCacheValue color={cacheBeforeReaderColor}>
|
||||
<div>
|
||||
{100 - cachePercentage}% ({Math.round((cacheSize / 100) * (100 - cachePercentage))} MB)
|
||||
{100 - cachePercentage}% ({Math.round((cacheSize / 100) * (100 - cachePercentage))} {t('MB')})
|
||||
</div>
|
||||
|
||||
<div>{t('SettingsDialog.CacheBeforeReaderDesc')}</div>
|
||||
@@ -64,7 +64,7 @@ export default function PrimarySettingsComponent({
|
||||
|
||||
<PreloadCacheValue color={cacheAfterReaderColor}>
|
||||
<div>
|
||||
{cachePercentage}% ({Math.round((cacheSize / 100) * cachePercentage)} MB)
|
||||
{cachePercentage}% ({Math.round((cacheSize / 100) * cachePercentage)} {t('MB')})
|
||||
</div>
|
||||
|
||||
<div>{t('SettingsDialog.CacheAfterReaderDesc')}</div>
|
||||
@@ -98,7 +98,7 @@ export default function PrimarySettingsComponent({
|
||||
|
||||
<SliderInput
|
||||
isProMode={isProMode}
|
||||
title={`${t('SettingsDialog.PreloadCache')} - ${preloadCachePercentage}% (${preloadCacheSize} MB)`}
|
||||
title={`${t('SettingsDialog.PreloadCache')} - ${preloadCachePercentage}% (${preloadCacheSize} ${t('MB')})`}
|
||||
value={preloadCachePercentage}
|
||||
setValue={setPreloadCachePercentage}
|
||||
sliderMin={0}
|
||||
|
||||
@@ -129,6 +129,7 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
|
||||
margin='normal'
|
||||
id='PeersListenPort'
|
||||
label={t('SettingsDialog.PeersListenPort')}
|
||||
helperText={t('SettingsDialog.PeersListenPortHint')}
|
||||
value={PeersListenPort}
|
||||
type='number'
|
||||
variant='outlined'
|
||||
|
||||
@@ -101,6 +101,7 @@
|
||||
"DownloadRateLimit": "Download Rate Limit",
|
||||
"ForceEncrypt": "Force Encrypt Headers",
|
||||
"PeersListenPort": "Peers Listen Port",
|
||||
"PeersListenPortHint": "1024 - 65535, 0 - auto",
|
||||
"PreloadCache": "Preload Cache Before Play",
|
||||
"ProMode": "PRO mode",
|
||||
"RAM": "RAM",
|
||||
|
||||
@@ -101,6 +101,7 @@
|
||||
"DownloadRateLimit": "Ограничение скорости загрузки",
|
||||
"ForceEncrypt": "Принудительное шифрование заголовков",
|
||||
"PeersListenPort": "Порт для входящих подключений",
|
||||
"PeersListenPortHint": "1024 - 65535, 0 - авто",
|
||||
"PreloadCache": "Буфер предзагрузки",
|
||||
"ProMode": "ПРО-режим",
|
||||
"RAM": "Оперативная память",
|
||||
|
||||
Reference in New Issue
Block a user