diff --git a/_locales/zh-TW/microbit-robot-strings.json b/_locales/zh-TW/microbit-robot-strings.json new file mode 100644 index 0000000..4e982d9 --- /dev/null +++ b/_locales/zh-TW/microbit-robot-strings.json @@ -0,0 +1,29 @@ +{ + "{id:group}Robot": "機器人", + "{id:group}Motors": "馬達", + "{id:group}Accessories": "配件", + "{id:group}Lines": "線條", + "{id:group}Obstacles": "障礙物", + "{id:group}Configuration": "設定", + "robot.RobotDriver.start|block": "機器人 %this 啟動", + "robot.motorSteer|block": "控制機器人馬達 $turnRatio 速度 $speed \\% || 延期 $duration 毫秒", + "robot.motorTank|block": "控制機器人馬達 左 $left \\% 右 $right \\% || 延期 $duration 毫秒", + "RobotAssist.LineFollowing|block": "跟隨線條", + "RobotAssist.Speed|block": "速度", + "RobotAssist.Display|block": "顯示", + "robot.motorStop|block": "停止機器人馬達", + "robot.armOpen|block": "打開機器人手臂 $index $opening \\%", + "robot.setColor|block": "設定機器人顏色 $rgb", + "robot.obstacleDistance|block": "與障礙物的距離 (厘米)", + "robot.onObstacleDistanceChanged|block": "當與障礙物的距離改變", + "robot.detectLine|block": "機器人檢測到線條 $detector", + "robot.onLineDetected|block": "當機器人檢測到線條感測器變化", + "robot.onLineLeftRightDetected|block": "機器人在線條上 左 $left 右 $right", + "robot.onLineLeftMiddleRightDetected|block": "機器人在線條上 左 $left 中 $middle 右 $right", + "robot.onLineOuterLeftLeftOuterRightDetected|block": "機器人在線條上 外左 $outerLeft 左 $left 右 $right 外右 $outerRight", + "robot.setMotorDrift|block": "設定馬達偏移 %drift", + "robot.setAssist|block": "設定輔助功能 $assist $enabled", + "robot.setRadioGroup|block": "設定無線組別為 $group", + "robot.playTone|block": "播放音調 $frequency 延期 $duration", + "robot.calibrate|block": "校準機器人(使用按鈕)" +} diff --git a/pxt.json b/pxt.json index 53bcec8..2913482 100644 --- a/pxt.json +++ b/pxt.json @@ -47,6 +47,7 @@ "robots/knotechcallibot.ts", "robots/tslmotionkit2.ts", "_locales/de/microbit-robot-strings.json", + "_locales/zh-TW/microbit-robot-strings.json", "tutorials/getting-started.md", "tutorials/light-and-sound.md", "tutorials/line-follower.md"