-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add traditional Chinese locale
- Loading branch information
Showing
3 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"cuteBot": "CuteBot 的函式庫 by ELECFREAKS Co.,Ltd.", | ||
"cuteBot.IRButtons": "紅外線感測器按鈕", | ||
"cuteBot.IR_Button": "取得紅外線按鈕數值", | ||
"cuteBot.MbEvents": "循線感測器事件 MICROBIT_PIN_EVT_RISE", | ||
"cuteBot.MbPins": "生成循線感測器事件的 Pin 腳", | ||
"cuteBot.MotorsList": "選擇「左側」或「右側」的馬達", | ||
"cuteBot.RGBLights": "選擇「左側」或「右側」的 RGB 燈", | ||
"cuteBot.ServoList": "選擇「S1」或「S2」的伺服馬達 ", | ||
"cuteBot.SonarUnit": "聲納模組單位", | ||
"cuteBot.TrackingState": "循線模組狀態列", | ||
"cuteBot.backforward": "全速後退,速度為 -100", | ||
"cuteBot.closeheadlights": "關閉所有車頭 LED 燈", | ||
"cuteBot.colorLight": "設定車頭 LED 燈", | ||
"cuteBot.forward": "讓車車往前開,因為馬達個體差異,無法保證軌跡為直線", | ||
"cuteBot.motors": "設定左右輪的速度", | ||
"cuteBot.motors|param|lspeed": "設定左輪轉速,範圍為從 -100 (反轉)到 100(正轉)", | ||
"cuteBot.motors|param|rspeed": "設定右輪轉速,範圍為從 -100 (反轉)到 100(正轉)", | ||
"cuteBot.moveTime": "設定行駛方向、速度、持續時間", | ||
"cuteBot.moveTime|param|dir": "設定行駛方向", | ||
"cuteBot.moveTime|param|speed": "設定行駛速度", | ||
"cuteBot.moveTime|param|time": "設定持續行駛時間", | ||
"cuteBot.setServo": "設定伺服馬達角度", | ||
"cuteBot.setServo|param|Servo": "伺服馬達列表", | ||
"cuteBot.setServo|param|angle": "伺服馬達角度", | ||
"cuteBot.singleheadlights": "選擇車頭 LED 燈並設定其顏色", | ||
"cuteBot.stopcar": "馬上停車", | ||
"cuteBot.trackEvent": "在循線感測器找到或迷失方向時執行某操作", | ||
"cuteBot.trackSide": "使用循線感測器的某一邊感測線段", | ||
"cuteBot.trackSide|param|side": "設定透過循線感測器的某一邊感測", | ||
"cuteBot.trackSide|param|state": "該邊目前的感測狀態", | ||
"cuteBot.tracking": "判斷當前循線感測模組的狀態", | ||
"cuteBot.tracking|param|state": "循線感測模組的四個狀態", | ||
"cuteBot.turnleft": "全速左轉", | ||
"cuteBot.turnright": "全速右轉", | ||
"cuteBot.ultrasonic": "改變聲納感測範圍,會影響車車的防碰撞系統,進而獲得不同的表現" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"cuteBot.Direction.backward|block": "後退", | ||
"cuteBot.Direction.forward|block": "前進", | ||
"cuteBot.Direction.left|block": "左", | ||
"cuteBot.Direction.right|block": "右", | ||
"cuteBot.IRButtons.Eight|block": "8", | ||
"cuteBot.IRButtons.Five|block": "5", | ||
"cuteBot.IRButtons.Four|block": "4", | ||
"cuteBot.IRButtons.Nine|block": "9", | ||
"cuteBot.IRButtons.One|block": "1", | ||
"cuteBot.IRButtons.Seven|block": "7", | ||
"cuteBot.IRButtons.Six|block": "6", | ||
"cuteBot.IRButtons.Three|block": "3", | ||
"cuteBot.IRButtons.Two|block": "2", | ||
"cuteBot.IRButtons.Zero|block": "0", | ||
"cuteBot.IR_Button|block": "紅外線按鈕 %Button 被按下", | ||
"cuteBot.IR_callback|block": "當接收到紅外線訊號", | ||
"cuteBot.MbEvents.FindLine|block": "步入正軌", | ||
"cuteBot.MbEvents.LoseLine|block": "迷失方向", | ||
"cuteBot.MbPins.Left|block": "左", | ||
"cuteBot.MbPins.Right|block": "右", | ||
"cuteBot.MotorsList.M1|block": "M1", | ||
"cuteBot.MotorsList.M2|block": "M2", | ||
"cuteBot.RGBLights.ALL|block": "全部", | ||
"cuteBot.RGBLights.RGB_L|block": "右側RGB", | ||
"cuteBot.RGBLights.RGB_R|block": "左側RGB", | ||
"cuteBot.ServoList.S1|block": "S1", | ||
"cuteBot.ServoList.S2|block": "S2", | ||
"cuteBot.SonarUnit.Centimeters|block": "公分", | ||
"cuteBot.SonarUnit.Inches|block": "英吋", | ||
"cuteBot.TrackingState.L_R_line|block": "● ●", | ||
"cuteBot.TrackingState.L_R_unline|block": "◌ ◌", | ||
"cuteBot.TrackingState.L_line_R_unline|block": "● ◌", | ||
"cuteBot.TrackingState.L_unline_R_line|block": "◌ ●", | ||
"cuteBot.backforward|block": "全速倒退", | ||
"cuteBot.closeheadlights|block": "關閉所有 LED 車頭燈", | ||
"cuteBot.colorLight|block": "設定 LED 車頭燈 %light 顏色為 $color", | ||
"cuteBot.forward|block": "全速前進", | ||
"cuteBot.motors|block": "設定左邊車輪速度為 %lspeed\\% |右輪速度為 %rspeed\\%", | ||
"cuteBot.moveTime|block": "朝 %dir 以速度 %speed\\% 前進持續 %time 秒", | ||
"cuteBot.setServo|block": "設定舵機 %servo 的角度為%angle °", | ||
"cuteBot.singleheadlights|block": "設定 LED 車頭燈 %light 顏色為 R:%r G:%g B:%b", | ||
"cuteBot.stopcar|block": "馬上停車", | ||
"cuteBot.trackEvent|block": "當 %sensor| 循線感測器 %event 黑線", | ||
"cuteBot.trackSide|block": "%side 循線感測器 %state 黑線", | ||
"cuteBot.tracking|block": "循線感測器當前狀態為 %state", | ||
"cuteBot.turnleft|block": "全速左轉", | ||
"cuteBot.turnright|block": "全速右轉", | ||
"cuteBot.ultrasonic|block": "HC-SR04 聲納感測距離 %unit 單位", | ||
"cuteBot|block": "CuteBot車車", | ||
"{id:category}CuteBot": "CuteBot車車" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters