update iot tooltip
@@ -19,7 +19,7 @@ Blockly.Blocks['iot_wifi_connect'] = {
this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
- // this.setTooltip(Blockly.Msg.TURTLE_WRITE_TOOLTIP);
+ this.setTooltip(Blockly.MIXLY_ESP32_IOT_WIFI_CONNECT_TOOLTIP);
}
};
@@ -49,7 +49,7 @@ Blockly.Blocks['iot_onenet_connect'] = {
//this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
- //this.setTooltip(Blockly.Msg.TURTLE_WRITE_TOOLTIP);
+ this.setTooltip(Blockly.MIXLY_ESP32_IOT_ONENET_CONNECT_TOOLTIP);
}
};
@@ -64,7 +64,7 @@ Blockly.Blocks['iot_onenet_disconnect'] = {
this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
- // this.setTooltip(Blockly.Msg.TURTLE_WRITE_TOOLTIP);
+ this.setTooltip(Blockly.MIXLY_ESP32_IOT_ONENET_DISCONNECT_TOOLTIP);
}
};
@@ -79,7 +79,7 @@ Blockly.Blocks['iot_onenet_check'] = {
this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
- // this.setTooltip(Blockly.Msg.TURTLE_WRITE_TOOLTIP);
+ this.setTooltip(Blockly.MIXLY_ESP32_IOT_ONENET_CHECK_TOOLTIP);
}
};
@@ -94,7 +94,7 @@ Blockly.Blocks['iot_onenet_publish_dict'] = {
this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
- // this.setTooltip(Blockly.Msg.TURTLE_WRITE_TOOLTIP);
+ this.setTooltip(Blockly.MIXLY_ESP32_IOT_ONENET_PUBLISH_DICT_TOOLTIP);
}
};
@@ -118,7 +118,7 @@ Blockly.Blocks['iot_onenet_publish'] = {
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setMutator(new Blockly.Mutator(['iot_publish_item']));
- //this.setTooltip(Blockly.Msg.DICTS_CREATE_WITH_TOOLTIP);
+ this.setTooltip(Blockly.MIXLY_ESP32_IOT_ONENET_PUBLISH_TOOLTIP);
},
/**
* Create XML to represent list inputs.
