Add variable deletion as dropdown action

This commit is contained in:
Rachel Fenichel 2016-06-22 17:19:49 -07:00
parent 4a81ecb601
commit ef4882d90d
67 changed files with 128 additions and 4 deletions

View file

@ -54,6 +54,8 @@ goog.require('Blockly.Msg');
Blockly.Msg.VARIABLES_DEFAULT_NAME = 'item';
/// button text - Button that sets a calendar to today's date.\n{{Identical|Today}}
Blockly.Msg.TODAY = 'Today';
/// dropdown choice - Delete the currently selected variable.
Blockly.Msg.DELETE_VARIABLE = 'Delete the "%1" variable';
// Context menus.
/// context menu - Make a copy of the selected block (and any blocks it contains).\n{{Identical|Duplicate}}