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')} helperText={t('AddDialog.TorrentSourceOptions')}
type='text' type='text'
fullWidth fullWidth
variant='outlined'
onFocus={() => setIsTorrentSourceActive(true)} onFocus={() => setIsTorrentSourceActive(true)}
onBlur={() => setIsTorrentSourceActive(false)} onBlur={() => setIsTorrentSourceActive(false)}
inputProps={{ autoComplete: 'off' }} inputProps={{ autoComplete: 'off' }}

View File

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

View File

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

View File

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

View File

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