@@ -20,7 +20,7 @@ Blockly.Blocks['tcs34725_new'] = {
2020 [ "16" , "16" ] ,
2121 [ "17" , "17" ] ,
2222 [ "18" , "18" ] ,
23- [ "19" , "19" ]
23+ [ "19" , "19" ]
2424 ] ) , "sda" )
2525 . appendField ( Blockly . Msg . WEBDUINO_TCS34725_SCL , " SCL" )
2626 . appendField ( new Blockly . FieldDropdown ( [
@@ -41,12 +41,12 @@ Blockly.Blocks['tcs34725_new'] = {
4141 [ "16" , "16" ] ,
4242 [ "17" , "17" ] ,
4343 [ "18" , "18" ] ,
44- [ "19" , "19" ]
44+ [ "19" , "19" ]
4545 ] ) , "scl" ) ;
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_TCS34725_HELPURL ) ;
5050 }
5151} ;
5252
@@ -62,7 +62,7 @@ Blockly.Blocks['tcs34725_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_TCS34725_HELPURL ) ;
6666 }
6767} ;
6868
@@ -75,7 +75,7 @@ Blockly.Blocks['tcs34725_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_TCS34725_HELPURL ) ;
7979 }
8080} ;
8181
@@ -87,6 +87,6 @@ Blockly.Blocks['tcs34725_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_TCS34725_HELPURL ) ;
9191 }
9292} ;
0 commit comments