Changed parent blocks to display "Collapsed blocks contain warnings." instead of having warnings "bubble up" from children. Added message to msg/messages.js .

This commit is contained in:
Beka Westberg
2018-12-17 14:54:56 -08:00
parent f16cdf912d
commit 44df2d4680
2 changed files with 13 additions and 15 deletions

View File

@@ -1206,3 +1206,8 @@ Blockly.Msg.PROCEDURES_IFRETURN_WARNING = 'Warning: This block may be used only
/// comment text - This text appears in a new workspace comment, to hint that
/// the user can type here.
Blockly.Msg.WORKSPACE_COMMENT_DEFAULT_TEXT = 'Say something...';
/// warning - This appears if the user collapses a block, and blocks inside
// that block have warnings attached to them. It should inform the user that the
// block they collapsed contains blocks that have warnings.
Blockly.Msg.COLLAPSED_WARNINGS_WARNING = 'Collapsed blocks contain warnings.';