update Add form fields

This commit is contained in:
nikk gitanes
2023-03-28 15:10:46 +03:00
parent d6d22b51ec
commit 6e5b74c211
5 changed files with 12 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ export default function LeftSideComponent({
helperText={t('AddDialog.TorrentSourceOptions')}
type='text'
fullWidth
variant='outlined'
onFocus={() => setIsTorrentSourceActive(true)}
onBlur={() => setIsTorrentSourceActive(false)}
inputProps={{ autoComplete: 'off' }}

View File

@@ -67,6 +67,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.OriginalTorrentTitle')}
type='text'
variant='outlined'
fullWidth
disabled={isCustomTitleEnabled}
InputProps={{ readOnly: true }}
@@ -79,6 +80,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.CustomTorrentTitle')}
type='text'
variant='outlined'
fullWidth
helperText={t('AddDialog.CustomTorrentTitleHelperText')}
InputProps={{
@@ -107,7 +109,9 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.TitleBlank')}
type='text'
variant='outlined'
fullWidth
helperText={t('AddDialog.TitleBlankHelperText')}
/>
)}
<TextField
@@ -116,6 +120,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.AddPosterLinkInput')}
type='url'
variant='outlined'
fullWidth
/>

View File

@@ -13,7 +13,8 @@
"CustomTorrentTitleHelperText": "Write custom title to find poster",
"HashExists": "This torrent is already in database",
"OriginalTorrentTitle": "Original torrent title",
"TitleBlank": "Title (blank for orig. torrent title)",
"TitleBlank": "Title",
"TitleBlankHelperText": "Blank for orig. torrent title",
"TorrentSourceLink": "Torrent source",
"TorrentSourceOptions": "magnet / hash / .torrent file link",
"WrongTorrentSource": "Wrong torrent source"

View File

@@ -13,7 +13,8 @@
"CustomTorrentTitleHelperText": "Напишите свое название, чтобы найти постер",
"HashExists": "Этот торрент уже есть в базе данных",
"OriginalTorrentTitle": "Оригинальное название торрента",
"TitleBlank": "Название (пустое - ориг. название торрента)",
"TitleBlank": "Название",
"TitleBlankHelperText": "Пустое - ориг. название торрента",
"TorrentSourceLink": "Ссылка на источник торрента",
"TorrentSourceOptions": "magnet-ссылка / хеш / ссылка на .torrent файл",
"WrongTorrentSource": "Неправильный торрент"

View File

@@ -13,7 +13,8 @@
"CustomTorrentTitleHelperText": "Напишіть власну назву, щоб знайти плакат",
"HashExists": "Даний торент вже є у базі даних",
"OriginalTorrentTitle": "Оригінальна назва торенту",
"TitleBlank": "Назва (порожнє - ориг. назва торенту)",
"TitleBlank": "Назва",
"TitleBlankHelperText": "Порожнє - ориг. назва торенту",
"TorrentSourceLink": "Посилання на джерело терента",
"TorrentSourceOptions": "magnet-посилання / хеш / посилання на .torrent файл",
"WrongTorrentSource": "Хибне torrent-джерело"