Refactor ChannelDetail and MediaImportDialog components for improved functionality and clarity
Consolidated imports in ChannelDetail and replaced the SchedulePreview component with AirSchedule for enhanced scheduling display. Updated the MediaImportDialog to prioritize the manual tab and adjusted localization strings for clarity in both English and Russian. These changes aim to streamline user interactions and improve the overall user experience in managing channels and media imports.
This commit is contained in:
@@ -20,6 +20,7 @@ export const qk = {
|
||||
detail: (id: string) => ['admin', 'channels', id] as const,
|
||||
template: (id: string) => ['admin', 'channels', id, 'template'] as const,
|
||||
schedule: (id: string) => ['admin', 'channels', id, 'schedule'] as const,
|
||||
scheduleDay: (id: string, from: string) => ['admin', 'channels', id, 'schedule', from] as const,
|
||||
issues: (id: string) => ['admin', 'channels', id, 'issues'] as const,
|
||||
diff: (id: string) => ['admin', 'channels', id, 'diff'] as const,
|
||||
preview: (id: string, days: number) => ['admin', 'channels', id, 'preview', days] as const,
|
||||
|
||||
@@ -281,7 +281,7 @@ export const en = {
|
||||
importButton: 'Import',
|
||||
importTitle: 'Media import',
|
||||
importHint:
|
||||
'Three ways to fill the library: movies in bulk, episodes from the manual folder into a show, and uploading picked files into a show.',
|
||||
'Three ways to fill the library: episodes from the manual folder into a show, movies in bulk, and uploading picked files into a show.',
|
||||
importTabs: {
|
||||
movies: 'Movies',
|
||||
manual: 'Episodes from manual',
|
||||
@@ -733,6 +733,8 @@ export const en = {
|
||||
filler: 'Filler',
|
||||
noFiller: 'No filler',
|
||||
noSchedule: 'Schedule not built yet',
|
||||
airToday: 'Today',
|
||||
airCount: 'Entries for the day: {{count}}',
|
||||
},
|
||||
junctions: {
|
||||
title: 'Junctions',
|
||||
|
||||
@@ -282,7 +282,7 @@ export const ru = {
|
||||
importButton: 'Импорт',
|
||||
importTitle: 'Импорт медиа',
|
||||
importHint:
|
||||
'Три способа пополнить библиотеку: фильмы пачкой, серии из папки manual в шоу и загрузка выбранных файлов в шоу.',
|
||||
'Три способа пополнить библиотеку: серии из папки manual в шоу, фильмы пачкой и загрузка выбранных файлов в шоу.',
|
||||
importTabs: { movies: 'Фильмы', manual: 'Серии из manual', toShow: 'Файлы в шоу' },
|
||||
moviesButton: 'Фильмы',
|
||||
manualTitle: 'Ручной разбор папки manual',
|
||||
@@ -728,6 +728,8 @@ export const ru = {
|
||||
filler: 'Заглушка',
|
||||
noFiller: 'Без заглушки',
|
||||
noSchedule: 'Расписание ещё не построено',
|
||||
airToday: 'Сегодня',
|
||||
airCount: 'Записей за сутки: {{count}}',
|
||||
},
|
||||
junctions: {
|
||||
title: 'Стыки',
|
||||
|
||||
Reference in New Issue
Block a user