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> <div>
<LinkComponent name={t('ProjectSource')} link='https://github.com/YouROK/TorrServer' /> <LinkComponent name={t('ProjectSource')} link='https://github.com/YouROK/TorrServer' />
<LinkComponent name={t('Releases')} link='https://github.com/YouROK/TorrServer/releases' /> <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> </div>
</Section> </Section>

View File

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

View File

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

View File

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

View File

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