Refactor group deletion logic to handle fallback group references
Updated the DeleteGroupCommandHandler to release fallback group references during group deletion, ensuring that groups can be removed even when used as fallback in templates. Adjusted related tests to verify the correct behavior of the deletion process, confirming that fallback references are cleared appropriately. Enhanced localization strings to provide clearer context for fallback group functionality in both English and Russian.
This commit is contained in:
@@ -666,6 +666,10 @@ export const en = {
|
||||
'This channel grid will be replaced with the chosen channel grid. Continue?',
|
||||
templateCopied: 'Copied: {{layers}} layers, {{slots}} slots',
|
||||
copyDroppedBumpers: 'Breaks left without a bumper block: {{count}} — set them up by hand',
|
||||
fallbackGroup: 'Fallback group',
|
||||
fallbackGroupNone: 'None — channel filler only',
|
||||
fallbackGroupHint:
|
||||
'What fills a pause when even the background layer is empty. An empty grid plays it for the whole air. Set by grid auto-build unless you pick your own.',
|
||||
postChecks: 'Post-checks',
|
||||
breakLimit: 'Breaks per hour cap, min',
|
||||
genreShare: 'Genre share per day cap, %',
|
||||
|
||||
Reference in New Issue
Block a user