File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ Blockly.Msg.WEBDUINO_ULTRASONIC_GET_DISTANCE = "get distance over every";
3939Blockly . Msg . WEBDUINO_ULTRASONIC_GET_TIME = "ms ( 1/1000 sec )" ;
4040Blockly . Msg . WEBDUINO_ULTRASONIC_GET_DO = "do" ;
4141Blockly . Msg . WEBDUINO_ULTRASONIC_DISTANCE = "'s distance ( cm )" ;
42+ Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE = "Set Youtube:" ;
43+ Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE_SET = "Set" ;
44+ Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE_VOLUME = "Volume:" ;
4245
4346Blockly . Msg . WEBDUINO_DHT_NEW = "DHT , pin:" ;
4447Blockly . Msg . WEBDUINO_DHT_GET = "detect temperature and humidity over every" ;
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ Blockly.Msg.WEBDUINO_ULTRASONIC_GET_DISTANCE = "擷取距離,每";
6666Blockly . Msg . WEBDUINO_ULTRASONIC_GET_TIME = "豪秒 ( 1/1000 秒 ) 擷取一次" ;
6767Blockly . Msg . WEBDUINO_ULTRASONIC_GET_DO = "執行:" ;
6868Blockly . Msg . WEBDUINO_ULTRASONIC_DISTANCE = "所截取的距離 ( 公分 )" ;
69+ Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE = "設定 Youtube:" ;
70+ Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE_SET = "設定" ;
71+ Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE_VOLUME = "音量:" ;
6972
7073Blockly . Msg . WEBDUINO_DHT_NEW = "溫濕度傳感器,腳位:" ;
7174Blockly . Msg . WEBDUINO_DHT_GET = "偵測溫濕度,每" ;
Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ Blockly.Blocks['ultrasonic_change_add_music'] = {
373373Blockly . Blocks [ 'tutorial_youtube' ] = {
374374 init : function ( ) {
375375 this . appendValueInput ( "name_" )
376- . appendField ( "設定 Youtube:" ) ;
376+ . appendField ( Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE , "設定 Youtube:" ) ;
377377 this . appendDummyInput ( )
378378 . appendField ( " ID:" )
379379 . appendField ( new Blockly . FieldTextInput ( "..." ) , "id_" ) ;
@@ -389,9 +389,9 @@ Blockly.Blocks['tutorial_youtube'] = {
389389Blockly . Blocks [ 'tutorial_youtube_volume' ] = {
390390 init : function ( ) {
391391 this . appendValueInput ( "volume_" )
392- . appendField ( "設定" )
392+ . appendField ( Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE_SET , "設定" )
393393 . appendField ( new Blockly . FieldVariable ( "youtube" ) , "name_" )
394- . appendField ( "音量:" ) ;
394+ . appendField ( Blockly . Msg . WEBDUINO_ULTRASONIC_YOUTUBE_VOLUME , "音量:" ) ;
395395 this . setPreviousStatement ( true ) ;
396396 this . setNextStatement ( true ) ;
397397 this . setTooltip ( '' ) ;
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ <h4><a href="./?lang=zh-hant&page=tutorials/ultrasonic-3" target="_blank">利用
152152 < h4 > < a href ="./?lang=zh-hant&page=tutorials/ultrasonic-4 " target ="_blank "> 利用超音波傳感器控制三色 LED 燈顏色變換</ a > </ h4 > ( < a href ="./?lang=zh-hant&page=tutorials/ultrasonic-4#-JvS1HjBSLU7wbtmLxKB " target ="_blank "> 解答</ a > )
153153 </ li >
154154 < li >
155- < h4 > < a href ="./?lang=zh-hant&page=tutorials/ultrasonic-5 " target ="_blank "> 利用超音波傳感器控制 Youtbue 音量大小</ a > </ h4 > ( < a href ="./?lang=zh-hant&page=tutorials/ultrasonic-5#-JwgqGd0PtGFPC8GNcfY " target ="_blank "> 解答</ a > )
155+ < h4 > < a href ="./?lang=zh-hant&page=tutorials/ultrasonic-5 " target ="_blank "> 利用超音波傳感器控制 Youtube 音量大小</ a > </ h4 > ( < a href ="./?lang=zh-hant&page=tutorials/ultrasonic-5#-JwgqGd0PtGFPC8GNcfY " target ="_blank "> 解答</ a > )
156156 </ li >
157157 </ ul >
158158 < br />
You can’t perform that action at this time.
0 commit comments