Skip to content

Commit

Permalink
translate
Browse files Browse the repository at this point in the history
  • Loading branch information
hogan96 committed Mar 19, 2020
1 parent 54f58b1 commit 652a6be
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .header.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"target": "microbit",
"targetVersion": "2.2.19",
"name": "joyfrog",
"meta": {},
"editor": "tsprj",
"pubId": "",
"pubCurrent": false,
"_rev": null,
"id": "95b4c224-c01c-4aa0-df96-e817490a68fb",
"recentUse": 1584524856,
"modificationTime": 1584524856,
"blobId": null,
"blobVersion": null,
"blobCurrent": false,
"isDeleted": false,
"path": "pxt-joyfrog"
}
File renamed without changes.
15 changes: 15 additions & 0 deletions _locales/zh-tw/joyfrog-strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"joyfrog.joyfrog_init|block": "青蛙手柄 初始化",
"joyfrog.on_btn_pressed|block": "當按鈕 |%button 按下",
"joyfrog.on_joystick_pushed|block": "當推動搖桿",
"joyfrog.joystick_value|block": "搖桿值 %dir",
"joyfrog.on_infra_data|block": "接收到紅外資料",
"joyfrog.infra_send|block": "紅外發送 %data",
"joyfrog.digi_write|block": "數位寫 %port 值|%value",
"joyfrog.digi_read|block": "數位讀 %port",
"joyfrog.on_digi_read|block": "數位讀返回",
"joyfrog.analog_read|block": "類比讀 %port",
"joyfrog.on_analog_read|block": "類比讀",
"joyfrog.port_pwm|block": "類比寫 %port PWM 脈寬|%pulse (us) 週期|%period (us)",
"joyfrog.port_servo|block": "類比寫 %port 舵機 角度|%degree"
}
5 changes: 3 additions & 2 deletions pxt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "joyfrog",
"version": "0.1.5",
"version": "0.1.6",
"description": "Extension for Kittenbot Joystick Frog",
"license": "MIT",
"dependencies": {
Expand All @@ -9,7 +9,8 @@
"files": [
"README.md",
"main.ts",
"_locales/zh/joyfrog-strings.json"
"_locales/zh-cn/joyfrog-strings.json",
"_locales/zh-tw/joyfrog-strings.json"
],
"public": true,
"preferredEditor": "tsprj"
Expand Down

0 comments on commit 652a6be

Please sign in to comment.