Merge pull request #2176 from BeksOmega/fixes/2175

Changed Warnings to Interact Properly with Collapsing/Expanding.
This commit is contained in:
Rachel Fenichel
2018-12-18 11:09:49 -08:00
committed by GitHub
2 changed files with 37 additions and 2 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.';