update translations and About

This commit is contained in:
nikk gitanes
2021-07-08 00:50:47 +03:00
parent 4f8d4567d4
commit 21a75bff59
5 changed files with 13 additions and 17 deletions

View File

@@ -48,7 +48,6 @@ export default function AboutDialog() {
<div>
<LinkComponent name={t('ProjectSource')} link='https://github.com/YouROK/TorrServer' />
<LinkComponent name={t('Releases')} link='https://github.com/YouROK/TorrServer/releases' />
<LinkComponent name='API' link='https://github.com/YouROK/TorrServer/blob/master/README.md' />
</div>
</Section>

View File

@@ -1,7 +1,6 @@
import styled, { css } from 'styled-components'
export const DialogWrapper = styled.div`
background: #f1eff3;
height: 100%;
display: grid;
grid-template-rows: max-content 1fr max-content;
@@ -11,10 +10,9 @@ export const HeaderSection = styled.section`
display: flex;
justify-content: space-between;
align-items: center;
font-size: 40px;
font-size: 36px;
font-weight: 300;
padding: 20px;
color: #323637;
img {
width: 80px;
@@ -31,12 +29,12 @@ export const HeaderSection = styled.section`
`
export const ThanksSection = styled.section`
background: #545a5e;
color: #f1eff3;
padding: 40px 20px;
padding: 20px;
text-align: center;
font-size: 30px;
font-size: 24px;
font-weight: 300;
background: #e8e5eb;
color: #323637;
@media (max-width: 930px) {
font-size: 20px;
@@ -46,7 +44,6 @@ export const ThanksSection = styled.section`
export const Section = styled.section`
padding: 20px;
color: #323637;
> span {
font-size: 20px;

View File

@@ -33,7 +33,7 @@ export default function DonateDialog({ onClose }) {
</DialogContent>
<DialogActions>
<Button onClick={onClose} color='primary' variant='outlined'>
<Button onClick={onClose} color='secondary' variant='contained'>
Ok
</Button>
</DialogActions>

View File

@@ -64,7 +64,7 @@
"PiecesLength": "Pieces length",
"Preload": "Preload",
"ProjectSource": "Project page",
"Releases": "Releases",
"Releases": "TorrServer Releases",
"RemoveAll": "Remove All",
"RemoveViews": "Remove View States",
"Resolution": "Resolution",

View File

@@ -64,7 +64,7 @@
"PiecesLength": "Размер блока",
"Preload": "Предзагр.",
"ProjectSource": "Сайт проекта",
"Releases": "Релизы",
"Releases": "Релизы TorrServer",
"RemoveAll": "Удалить все",
"RemoveViews": "Очистить просмотры",
"Resolution": "Разреш.",
@@ -75,8 +75,8 @@
"SettingsDialog": {
"AddRetrackers": "Добавлять",
"AdditionalSettings": "Дополнительные настройки",
"CacheBeforeReaderDesc": "От кеша будет оставаться позади воспроизводимого кадра",
"CacheAfterReaderDesc": "От кеша будет спереди от воспроизводимого кадра",
"CacheBeforeReaderDesc": "от кеша будет оставаться позади воспроизводимого кадра",
"CacheAfterReaderDesc": "кеша будет спереди от воспроизводимого кадра",
"CacheSize": "Размер кеша",
"CacheSettings": "Настройки кеша",
"CacheStorageLocation": "Место хранения кеша",
@@ -89,7 +89,7 @@
"ForceEncrypt": "Принудительное шифрование заголовков",
"PeersListenPort": "Порт для входящих подключений",
"PreloadBuffer": "Наполнять кеш перед началом воспроизведения",
"ProMode": "ПРО режим",
"ProMode": "ПРО-режим",
"RAM": "Оперативная память",
"ReaderReadAHead": "Кеш предзагрузки (5-100%, рек. 95%)",
"RemoveCacheOnDrop": "Очищать кеш на диске при отключении торрента",
@@ -97,7 +97,7 @@
"RemoveRetrackers": "Удалять",
"ReplaceRetrackers": "Заменять",
"RetrackersMode": "Ретрекеры",
"ResetToDefault": "Сбросить по умолчанию",
"ResetToDefault": "Настройки по умолчанию",
"Settings": "Настройки",
"TorrentDisconnectTimeout": "Тайм-аут отключения торрента (секунды)",
"TorrentsSavePath": "Путь хранения кеша",
@@ -107,7 +107,7 @@
"Tabs": {
"Main": "Основные",
"Additional": "Дополнительные",
"AdditionalDisabled": "(включите ПРО режим)"
"AdditionalDisabled": "(включите ПРО-режим)"
}
},
"Size": "Размер",