fix: Typo in unsupported reason message in content libraries [FC-0114] (#38005)

- Fix a simple typo in an unsupported reason message for blocks with children in content libraries
This commit is contained in:
Chris Chávez
2026-02-12 12:18:20 -05:00
committed by GitHub
parent d20b87b180
commit ef8b03b07c
2 changed files with 4 additions and 3 deletions

View File

@@ -310,7 +310,8 @@ def validate_can_add_block_to_library(
if block_class.has_children:
raise IncompatibleTypesError(
_(
'The "{block_type}" XBlock (ID: "{block_id}") has children, so it not supported in content libraries.'
'The "{block_type}" XBlock (ID: "{block_id}") has children,'
' so it is not supported in content libraries.'
).format(block_type=block_type, block_id=block_id)
)
# Make sure the new ID is not taken already: