Skip to content

Commit

Permalink
Merge pull request #2 from waltfe/master
Browse files Browse the repository at this point in the history
Update Tranditional Chinese Translate
  • Loading branch information
elecfreaks1 authored May 7, 2024
2 parents ee80946 + 2fd074f commit 684d6b0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions _locales/zh-TW/joystickbit-strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"joystickbit.rockerType.Y|block": "Y軸",
"joystickbit.JoystickBitPin.P14|block": "E",
"joystickbit.JoystickBitPin.P15|block": "F",
"joystickbit.ButtonType.down|block": "按下",
"joystickbit.onButtonEvent|block": "當按鍵 %button| %event",
"joystickbit.getButton|block": "按鍵 %button 被按下",
"joystickbit.JoystickBitPin.P13|block": "D",
"joystickbit.rockerType.X|block": "X軸",
"joystickbit.initJoystickBit|block": "初始化手把",
"joystickbit.JoystickBitPin.P12|block": "C",
"joystickbit.getRockerValue|block": "搖桿 %rocker 的值",
"joystickbit.Vibration_Motor|block": "震動 %time 毫秒",
"joystickbit|block": "遊戲手把",
"joystickbit.ButtonType.up|block": "鬆開"
}
5 changes: 3 additions & 2 deletions pxt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "joystickbit",
"version": "1.0.0",
"version": "1.0.1",
"description": "ELECFREAKS joystick:bit package",
"license": "MIT",
"dependencies": {
Expand All @@ -10,7 +10,8 @@
"README.md",
"joystickbit.ts",
"_locales/zh/joystickbit-strings.json",
"_locales/fr/joystickbit-strings.json"
"_locales/fr/joystickbit-strings.json",
"_locales/zh-TW/joystickbit-strings.json"
],
"testFiles": [
"tests.ts"
Expand Down

0 comments on commit 684d6b0

Please sign in to comment.