File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Blockly.Blocks['sht31_new'] = {
4646 this . setOutput ( true , null ) ;
4747 this . setColour ( 230 ) ;
4848 this . setTooltip ( '' ) ;
49- this . setHelpUrl ( 'http://www.example.com/' ) ;
49+ this . setHelpUrl ( Blockly . Msg . WEBDUINO_SHT31_HELPURL ) ;
5050 }
5151} ;
5252
@@ -62,7 +62,7 @@ Blockly.Blocks['sht31_on'] = {
6262 this . setNextStatement ( true , null ) ;
6363 this . setColour ( 65 ) ;
6464 this . setTooltip ( '' ) ;
65- this . setHelpUrl ( 'http://www.example.com/' ) ;
65+ this . setHelpUrl ( Blockly . Msg . WEBDUINO_SHT31_HELPURL ) ;
6666 }
6767} ;
6868
@@ -75,7 +75,7 @@ Blockly.Blocks['sht31_off'] = {
7575 this . setNextStatement ( true , null ) ;
7676 this . setColour ( 65 ) ;
7777 this . setTooltip ( '' ) ;
78- this . setHelpUrl ( 'http://www.example.com/' ) ;
78+ this . setHelpUrl ( Blockly . Msg . WEBDUINO_SHT31_HELPURL ) ;
7979 }
8080} ;
8181
@@ -89,6 +89,6 @@ Blockly.Blocks['sht31_val'] = {
8989 this . setOutput ( true , null ) ;
9090 this . setColour ( 35 ) ;
9191 this . setTooltip ( '' ) ;
92- this . setHelpUrl ( 'http://www.example.com/' ) ;
92+ this . setHelpUrl ( Blockly . Msg . WEBDUINO_SHT31_HELPURL ) ;
9393 }
9494} ;
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ Blockly.Msg.WEBDUINO_SHT31_DO = "execute";
77Blockly . Msg . WEBDUINO_SHT31_IS = "'s" ;
88Blockly . Msg . WEBDUINO_SHT31_VAL = "value" ;
99Blockly . Msg . WEBDUINO_SHT31_TEMP = "temperature" ;
10- Blockly . Msg . WEBDUINO_SHT31_HUM = "humidity" ;
10+ Blockly . Msg . WEBDUINO_SHT31_HUM = "humidity" ;
11+ Blockly . Msg . WEBDUINO_SHT31_HELPURL = "https://resource.webduino.io/docs/cloud-component/sensor/dht-sensor" ;
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ Blockly.Msg.WEBDUINO_SHT31_STOP = "停止侦测";
77Blockly . Msg . WEBDUINO_SHT31_IS = "的" ;
88Blockly . Msg . WEBDUINO_SHT31_VAL = "数值" ;
99Blockly . Msg . WEBDUINO_SHT31_TEMP = "温度" ;
10- Blockly . Msg . WEBDUINO_SHT31_HUM = "湿度" ;
10+ Blockly . Msg . WEBDUINO_SHT31_HUM = "湿度" ;
11+ Blockly . Msg . WEBDUINO_SHT31_HELPURL = "https://resource.webduino.io/docs/cloud-component/sensor/dht-sensor" ;
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ Blockly.Msg.WEBDUINO_SHT31_DO = "執行";
77Blockly . Msg . WEBDUINO_SHT31_IS = "的" ;
88Blockly . Msg . WEBDUINO_SHT31_VAL = "數值" ;
99Blockly . Msg . WEBDUINO_SHT31_TEMP = "溫度" ;
10- Blockly . Msg . WEBDUINO_SHT31_HUM = "濕度" ;
10+ Blockly . Msg . WEBDUINO_SHT31_HUM = "濕度" ;
11+ Blockly . Msg . WEBDUINO_SHT31_HELPURL = "https://resource.webduino.io/docs/cloud-component/sensor/dht-sensor" ;
You can’t perform that action at this time.
0 commit comments