mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
translations added
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
import { SectionTitle, WidgetWrapper } from '../style'
|
import { SectionTitle, WidgetWrapper } from '../style'
|
||||||
import { DetailedViewCacheSection, DetailedViewWidgetSection } from './style'
|
import { DetailedViewCacheSection, DetailedViewWidgetSection } from './style'
|
||||||
import TorrentCache from '../TorrentCache'
|
import TorrentCache from '../TorrentCache'
|
||||||
@@ -21,10 +23,12 @@ export default function DetailedView({
|
|||||||
stat,
|
stat,
|
||||||
cache,
|
cache,
|
||||||
}) {
|
}) {
|
||||||
|
const { t } = useTranslation()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<DetailedViewWidgetSection>
|
<DetailedViewWidgetSection>
|
||||||
<SectionTitle mb={20}>Data</SectionTitle>
|
<SectionTitle mb={20}>{t('Data')}</SectionTitle>
|
||||||
<WidgetWrapper detailedView>
|
<WidgetWrapper detailedView>
|
||||||
<DownlodSpeedWidget data={downloadSpeed} />
|
<DownlodSpeedWidget data={downloadSpeed} />
|
||||||
<UploadSpeedWidget data={uploadSpeed} />
|
<UploadSpeedWidget data={uploadSpeed} />
|
||||||
@@ -37,7 +41,7 @@ export default function DetailedView({
|
|||||||
</DetailedViewWidgetSection>
|
</DetailedViewWidgetSection>
|
||||||
|
|
||||||
<DetailedViewCacheSection>
|
<DetailedViewCacheSection>
|
||||||
<SectionTitle mb={20}>Cache</SectionTitle>
|
<SectionTitle mb={20}>{t('Cache')}</SectionTitle>
|
||||||
<TorrentCache cache={cache} />
|
<TorrentCache cache={cache} />
|
||||||
</DetailedViewCacheSection>
|
</DetailedViewCacheSection>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -108,5 +108,7 @@
|
|||||||
"Clear": "Clear",
|
"Clear": "Clear",
|
||||||
"AddTorrentSourceNotification": "First add your torrent source",
|
"AddTorrentSourceNotification": "First add your torrent source",
|
||||||
"WrongTorrentSource": "Wrong torrent source",
|
"WrongTorrentSource": "Wrong torrent source",
|
||||||
"ScrollDown": "scroll down"
|
"ScrollDown": "scroll down",
|
||||||
|
"Cache": "Cache",
|
||||||
|
"Data": "Data"
|
||||||
}
|
}
|
||||||
@@ -108,5 +108,7 @@
|
|||||||
"Clear": "Очистить",
|
"Clear": "Очистить",
|
||||||
"AddTorrentSourceNotification": "Сначала добавьте торрент источник",
|
"AddTorrentSourceNotification": "Сначала добавьте торрент источник",
|
||||||
"WrongTorrentSource": "Неправильный torrent источник",
|
"WrongTorrentSource": "Неправильный torrent источник",
|
||||||
"ScrollDown": "прокрутить вниз"
|
"ScrollDown": "прокрутить вниз",
|
||||||
|
"Cache": "Кеш",
|
||||||
|
"Data": "Данные"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user