Refactor ChannelDetail component to implement tabbed navigation for channel settings, enhancing user experience by organizing content into distinct sections. Introduce a new TABS constant for better maintainability and update related components (BumperCard, RulesCard, ViewerCard, etc.) to support a 'bare' prop for streamlined rendering. Improve error handling for template loading and update translations for better clarity.
This commit is contained in:
@@ -388,6 +388,16 @@ const resources = {
|
||||
applicabilityNone: 'не задано',
|
||||
showForDate: 'Сетка на дату',
|
||||
allDates: 'Все слои',
|
||||
tabs: {
|
||||
grid: 'Сетка',
|
||||
rules: 'Правила',
|
||||
junctions: 'Стыки',
|
||||
bumpers: 'Заставки',
|
||||
viewer: 'Зритель',
|
||||
settings: 'Настройки',
|
||||
air: 'Эфир',
|
||||
},
|
||||
noTemplate: 'Сетка канала не загрузилась',
|
||||
rules: 'Правила отбора',
|
||||
rulesHint:
|
||||
'Жёсткие фильтры: отсекают неподходящее до жребия. Как и правка сетки, эфир не двигают — нужно применить.',
|
||||
@@ -1080,6 +1090,16 @@ const resources = {
|
||||
applicabilityNone: 'not set',
|
||||
showForDate: 'Grid for date',
|
||||
allDates: 'All layers',
|
||||
tabs: {
|
||||
grid: 'Grid',
|
||||
rules: 'Rules',
|
||||
junctions: 'Junctions',
|
||||
bumpers: 'Bumpers',
|
||||
viewer: 'Viewer',
|
||||
settings: 'Settings',
|
||||
air: 'On air',
|
||||
},
|
||||
noTemplate: 'The channel grid failed to load',
|
||||
rules: 'Candidate rules',
|
||||
rulesHint:
|
||||
'Hard filters: they cut out what is not allowed before the draw. Like grid edits, they do not move the air — apply to take effect.',
|
||||
|
||||
Reference in New Issue
Block a user