Add bulk poster filling endpoint and enhance show deletion options
Introduced a new endpoint for bulk filling collection posters, allowing for automatic assignment of posters to collections without existing images. Updated the DeleteShowCommand to include an option for cutting shows from future airings, enhancing the deletion process. Refactored related components and API calls to support these features, ensuring a seamless user experience. Additionally, updated localization strings to reflect the new functionalities and adjusted tests to verify correct behavior.
This commit is contained in:
@@ -159,6 +159,10 @@ export const en = {
|
||||
},
|
||||
},
|
||||
collections: {
|
||||
posters: 'Fill posters',
|
||||
postersHint:
|
||||
'Takes the first part’s cover for collections that have no poster yet. A hand-picked one is left alone.',
|
||||
postersDone: 'Posters filled: {{count}}',
|
||||
title: 'Collections',
|
||||
hint: 'A franchise is an ordered set of films played as a single unit.',
|
||||
name: 'Name',
|
||||
@@ -417,6 +421,9 @@ export const en = {
|
||||
deleteWithMedia: 'Delete its media too: {{count}} file(s)',
|
||||
deleteWithMediaHint:
|
||||
'Otherwise the files stay in the media list with no owner and keep taking space.',
|
||||
deleteWithSchedule: 'Cut it from the upcoming air too',
|
||||
deleteWithScheduleHint:
|
||||
'Without this the deletion is refused while the show sits in the feed. Viewers see the filler where it was until the tail is rebuilt.',
|
||||
otherGenres: 'Other genres',
|
||||
bulk: {
|
||||
selected: 'Selected: {{count}}',
|
||||
|
||||
@@ -159,6 +159,10 @@ export const ru = {
|
||||
},
|
||||
},
|
||||
collections: {
|
||||
posters: 'Проставить постеры',
|
||||
postersHint:
|
||||
'Берёт обложку первой части у коллекций, у которых постера ещё нет. Выбранный руками не трогает.',
|
||||
postersDone: 'Постеры проставлены: {{count}}',
|
||||
title: 'Коллекции',
|
||||
hint: 'Франшиза — упорядоченный набор фильмов, который играется как одно целое.',
|
||||
name: 'Название',
|
||||
@@ -414,6 +418,9 @@ export const ru = {
|
||||
deleteWithMedia: 'Также удалить медиа: файлов {{count}}',
|
||||
deleteWithMediaHint:
|
||||
'Иначе файлы останутся в списке медиа ничьими и продолжат занимать место.',
|
||||
deleteWithSchedule: 'Также вырезать из будущего эфира',
|
||||
deleteWithScheduleHint:
|
||||
'Без этого удаление отклонят, пока шоу стоит в ленте. На месте вырезанного зритель увидит фон, пока хвост не пересоберут.',
|
||||
otherGenres: 'Остальные жанры',
|
||||
bulk: {
|
||||
selected: 'Отмечено: {{count}}',
|
||||
|
||||
Reference in New Issue
Block a user