From e05cfb8121001158b4d6129b2f95e901da2268b6 Mon Sep 17 00:00:00 2001 From: matsujirushi Date: Fri, 1 Sep 2017 10:42:36 +0900 Subject: [PATCH] Add ja locale. --- _locales/ja/Grove-strings.json | 24 ++++++++++++++++++++++++ pxt.json | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 _locales/ja/Grove-strings.json diff --git a/_locales/ja/Grove-strings.json b/_locales/ja/Grove-strings.json new file mode 100644 index 0000000..27ec825 --- /dev/null +++ b/_locales/ja/Grove-strings.json @@ -0,0 +1,24 @@ +{ + "{id:category}Grove": "Grove", + "GroveGesture.None|block": "なし", + "GroveGesture.Right|block": "右に", + "GroveGesture.Left|block": "左に", + "GroveGesture.Up|block": "上に", + "GroveGesture.Down|block": "下に", + "GroveGesture.Forward|block": "前進", + "GroveGesture.Backward|block": "後退", + "GroveGesture.Clockwise|block": "時計回りに", + "GroveGesture.Anticlockwise|block": "反時計回りに", + "GroveGesture.Wave|block": "手振り", + "grove.onGesture|block": "[Gesture]|%gesture|ジェスチャーしたとき", + "grove.measureInCentimeters|block": "[Ultrasonic Ranger]|距離(cm)を読み取る 端子|%pin", + "grove.measureInInches|block": "[Ultrasonic Ranger]|距離(inch)を読み取る 端子|%pin", + "grove.createDisplay|block": "[4-Digit Display]|端子|%clkPin|と端子|%dataPin", + "grove.PAJ7620.init|block": "%strip|[Gesture]|初期化する", + "grove.PAJ7620.read|block": "%strip|[Gesture]|ジェスチャーを読み取る", + "grove.TM1637.show|block": "%strip|[4-Digit Display]|%dispData|を表示", + "grove.TM1637.set|block": "%strip|[4-Digit Display]|明るさを|%level|に変更", + "grove.TM1637.bit|block": "%strip|[4-Digit Display]|%dispData|を|%bitAddr|桁目に表示", + "grove.TM1637.point|block": "%strip|[4-Digit Display]|コロンの表示を|%point|に変更", + "grove.TM1637.clear|block": "%strip|[4-Digit Display]|表示を消す" +} \ No newline at end of file diff --git a/pxt.json b/pxt.json index 4c55cc6..667a182 100644 --- a/pxt.json +++ b/pxt.json @@ -8,7 +8,8 @@ }, "files": [ "README.md", - "main.ts" + "main.ts", + "_locales/ja/Grove-strings.json" ], "testFiles": [ "test.ts"