diff --git a/appengine/bird/js/blocks.js b/appengine/bird/js/blocks.js index 5cc3070e3..a66c3e785 100644 --- a/appengine/bird/js/blocks.js +++ b/appengine/bird/js/blocks.js @@ -140,8 +140,8 @@ Blockly.Blocks['bird_compare'] = { this.setTooltip(function() { var op = thisBlock.getFieldValue('OP'); var TOOLTIPS = { - LT: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT, - GT: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT + 'LT': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT, + 'GT': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT }; return TOOLTIPS[op]; }); diff --git a/appengine/js/js-blocks.js b/appengine/js/js-blocks.js index b754b9211..b99b0fd95 100644 --- a/appengine/js/js-blocks.js +++ b/appengine/js/js-blocks.js @@ -146,12 +146,12 @@ Blockly.Blocks['logic_compare'].init = function() { this.setTooltip(function() { var op = thisBlock.getFieldValue('OP'); var TOOLTIPS = { - EQ: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ, - NEQ: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ, - LT: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT, - LTE: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE, - GT: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT, - GTE: Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE + 'EQ': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ, + 'NEQ': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ, + 'LT': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT, + 'LTE': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE, + 'GT': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT, + 'GTE': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE }; return TOOLTIPS[op]; });