File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Blockly.Blocks['max44009_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_MAX44009_HELPURL ) ;
5050 }
5151} ;
5252
@@ -62,7 +62,7 @@ Blockly.Blocks['max44009_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_MAX44009_HELPURL ) ;
6666 }
6767} ;
6868
@@ -75,7 +75,7 @@ Blockly.Blocks['max44009_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_MAX44009_HELPURL ) ;
7979 }
8080} ;
8181
@@ -87,6 +87,6 @@ Blockly.Blocks['max44009_val'] = {
8787 this . setOutput ( true , null ) ;
8888 this . setColour ( 35 ) ;
8989 this . setTooltip ( '' ) ;
90- this . setHelpUrl ( 'http://www.example.com/' ) ;
90+ this . setHelpUrl ( Blockly . Msg . WEBDUINO_MAX44009_HELPURL ) ;
9191 }
9292} ;
Original file line number Diff line number Diff line change 11// MAX44009
22Blockly . Msg . WEBDUINO_MAX44009_SDA = "MAX44009, SDA" ;
33Blockly . Msg . WEBDUINO_MAX44009_SCL = " SCL" ;
4- Blockly . Msg . WEBDUINO_MAX44009_START = "start Detection" ;
5- Blockly . Msg . WEBDUINO_MAX44009_DO = "execute" ;
6- Blockly . Msg . WEBDUINO_MAX44009_STOP = "stop detection" ;
7- Blockly . Msg . WEBDUINO_MAX44009_VAL = "value" ;
4+ Blockly . Msg . WEBDUINO_MAX44009_START = "Detect" ;
5+ Blockly . Msg . WEBDUINO_MAX44009_DO = "Do" ;
6+ Blockly . Msg . WEBDUINO_MAX44009_STOP = "Stop Detecting" ;
7+ Blockly . Msg . WEBDUINO_MAX44009_VAL = "Value" ;
8+ Blockly . Msg . WEBDUINO_MAX44009_HELPURL = "https://resource.webduino.io/docs/cloud-component/sensor/light-sensor" ;
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ Blockly.Msg.WEBDUINO_MAX44009_SCL = " SCL";
44Blockly . Msg . WEBDUINO_MAX44009_START = "开始侦测" ;
55Blockly . Msg . WEBDUINO_MAX44009_DO = "执行" ;
66Blockly . Msg . WEBDUINO_MAX44009_STOP = "停止侦测" ;
7- Blockly . Msg . WEBDUINO_MAX44009_VAL = "数值" ;
7+ Blockly . Msg . WEBDUINO_MAX44009_VAL = "数值" ;
8+ Blockly . Msg . WEBDUINO_MAX44009_HELPURL = "https://resource.webduino.io/docs/cloud-component/sensor/light-sensor" ;
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ Blockly.Msg.WEBDUINO_MAX44009_SCL = " SCL";
44Blockly . Msg . WEBDUINO_MAX44009_START = "開始偵測" ;
55Blockly . Msg . WEBDUINO_MAX44009_DO = "執行" ;
66Blockly . Msg . WEBDUINO_MAX44009_STOP = "停止偵測" ;
7- Blockly . Msg . WEBDUINO_MAX44009_VAL = "數值" ;
7+ Blockly . Msg . WEBDUINO_MAX44009_VAL = "數值" ;
8+ Blockly . Msg . WEBDUINO_MAX44009_HELPURL = "https://resource.webduino.io/docs/cloud-component/sensor/light-sensor" ;
You can’t perform that action at this time.
0 commit comments