mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
translations added
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
import IconButton from '@material-ui/core/IconButton'
|
||||
import CloseIcon from '@material-ui/icons/Close'
|
||||
import { useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
import IOSShareIcon from './IOSShareIcon'
|
||||
import { StyledWrapper, StyledHeader, StyledContent } from './style'
|
||||
|
||||
export function PWAInstallationGuide() {
|
||||
const [isOpen, setIsOpen] = useState(!JSON.parse(localStorage.getItem('pwaNotificationIsClosed')))
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<StyledWrapper isOpen={isOpen}>
|
||||
<StyledHeader>
|
||||
<img src='/apple-icon-180.png' width={50} alt='ts-icon' />
|
||||
Install application
|
||||
|
||||
{t('PWAGuide.Header')}
|
||||
|
||||
<IconButton
|
||||
size='small'
|
||||
aria-label='close'
|
||||
@@ -27,16 +31,16 @@ export function PWAInstallationGuide() {
|
||||
</StyledHeader>
|
||||
|
||||
<StyledContent>
|
||||
<p>Install the app on your device to easily access it anytime. No app store. No download.</p>
|
||||
<p>{t('PWAGuide.Description')}</p>
|
||||
|
||||
<p>VLC button will be added to open video instantly on the phone</p>
|
||||
<p>{t('PWAGuide.VLC')}</p>
|
||||
|
||||
<p>
|
||||
1. Tap on <IOSShareIcon />
|
||||
1. {t('PWAGuide.FirstStep')} <IOSShareIcon />
|
||||
</p>
|
||||
|
||||
<p>
|
||||
2. Select <span>Add to Home Screen</span>
|
||||
2. {t('PWAGuide.SecondStep.Select')} <span>{t('PWAGuide.SecondStep.AddToHomeScreen')}</span>
|
||||
</p>
|
||||
</StyledContent>
|
||||
</StyledWrapper>
|
||||
|
||||
@@ -75,6 +75,16 @@
|
||||
"Playlist": "Playlist",
|
||||
"Preload": "Preload",
|
||||
"ProjectSource": "Project page",
|
||||
"PWAGuide": {
|
||||
"Header": "Install application",
|
||||
"Description": "Install the app on your device to easily access it anytime. No app store. No download.",
|
||||
"VLC": "VLC button will be added to open video instantly on the phone",
|
||||
"FirstStep": "Tap on",
|
||||
"SecondStep": {
|
||||
"Select": "Select",
|
||||
"AddToHomeScreen":"Add to Home Screen"
|
||||
}
|
||||
},
|
||||
"Releases": "TorrServer Releases",
|
||||
"RemoveAll": "Remove All",
|
||||
"RemoveViews": "Remove View States",
|
||||
|
||||
@@ -75,6 +75,16 @@
|
||||
"Playlist": "Плейлист",
|
||||
"Preload": "Предзагр.",
|
||||
"ProjectSource": "Сайт проекта",
|
||||
"PWAGuide": {
|
||||
"Header": "Установить приложение",
|
||||
"Description": "Установите приложение на ваше устройство для быстрого доступа в любой момент. Без AppStore. Без загрузки.",
|
||||
"VLC": "VLC кнопка будет добавлена для мгновенного воспроизведения на телефоне",
|
||||
"FirstStep": "Нажмите на",
|
||||
"SecondStep": {
|
||||
"Select": "Выбирите",
|
||||
"AddToHomeScreen":"На экран «Домой»"
|
||||
}
|
||||
},
|
||||
"Releases": "Релизы TorrServer",
|
||||
"RemoveAll": "Удалить все",
|
||||
"RemoveViews": "Очистить просмотры",
|
||||
|
||||
@@ -75,6 +75,16 @@
|
||||
"Playlist": "Плейлист",
|
||||
"Preload": "Передзав.",
|
||||
"ProjectSource": "Сайт проекту",
|
||||
"PWAGuide": {
|
||||
"Header": "Встановити додаток",
|
||||
"Description": "Встановіть програму на свій пристрій, щоб легко отримати до неї доступ у будь-який час. Немає магазину додатків. Немає завантаження.",
|
||||
"VLC": "Кнопка VLC буде додана, щоб миттєво відкривати відео на телефоні",
|
||||
"FirstStep": "Торкніться",
|
||||
"SecondStep": {
|
||||
"Select": "Виберіть",
|
||||
"AddToHomeScreen":"Додати на головний екран"
|
||||
}
|
||||
},
|
||||
"Releases": "Релізи TorrServer",
|
||||
"RemoveAll": "Видалити все",
|
||||
"RemoveViews": "Видалити перегляди",
|
||||
|
||||
Reference in New Issue
Block a user