mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Message fixes and lint
This commit is contained in:
parent
b30b60e8d1
commit
406fe8c26a
2 changed files with 6 additions and 2 deletions
|
@ -120,7 +120,7 @@ Blockly.dragMode_ = Blockly.DRAG_NONE;
|
|||
/**
|
||||
* Map from function names to callbacks, for deciding what to do when a button
|
||||
* is clicked.
|
||||
* @type {!Object<string, function(!Blockly.FlyoutButton)}
|
||||
* @type {!Object<string, function(!Blockly.FlyoutButton)>}
|
||||
*/
|
||||
Blockly.flyoutButtonCallbacks_ = {};
|
||||
|
||||
|
|
|
@ -239,7 +239,11 @@ Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;
|
|||
/// tooltip - Describes the 'else' subblock during [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
|
||||
Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = 'Add a final, catch-all condition to the if block.';
|
||||
|
||||
/// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse]. The English word "otherwise" would probably be superior to "else", but the latter is used because it is traditional and shorter.
|
||||
/// block text - Evaluates a boolean condition (%1), and will either execute
|
||||
/// the statements in %2 if true, otherwise execute the statements in %3.
|
||||
/// The English word "otherwise" would probably be superior to "else", but the
|
||||
/// latter is used because it is traditional and shorter.
|
||||
/// See [https://github.com/google/blockly/wiki/IfElse#if-else-blocks https://github.com/google/blockly/wiki/IfElse#if-else-blocks].
|
||||
Blockly.Msg.CONTROLS_IFELSE_TITLE = 'if %1 do %2 else %3';
|
||||
|
||||
/// url - Information about comparisons.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue