From 770ad94e95c8464b92d82a34c43f1daf19f35649 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Fri, 23 Oct 2020 16:12:49 +0100 Subject: [PATCH] Add Japanese translations for Sense HAT node (#704) --- hardware/sensehat/locales/en-US/sensehat.json | 12 +++++++++++ hardware/sensehat/locales/ja/sensehat.json | 12 +++++++++++ hardware/sensehat/sensehat.html | 20 +++++++++---------- 3 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 hardware/sensehat/locales/en-US/sensehat.json create mode 100644 hardware/sensehat/locales/ja/sensehat.json diff --git a/hardware/sensehat/locales/en-US/sensehat.json b/hardware/sensehat/locales/en-US/sensehat.json new file mode 100644 index 00000000..40656db3 --- /dev/null +++ b/hardware/sensehat/locales/en-US/sensehat.json @@ -0,0 +1,12 @@ +{ + "sensehat": { + "label": { + "outputs": "Outputs", + "motionEvents": "Motion events", + "motionEventsExamples": "accelerometer, gyroscope, magnetometer, compass", + "environmentEvents": "Environment events", + "environmentEventsExamples": "temperature, humidity, pressure", + "joystickEvents": "Joystick events" + } + } +} \ No newline at end of file diff --git a/hardware/sensehat/locales/ja/sensehat.json b/hardware/sensehat/locales/ja/sensehat.json new file mode 100644 index 00000000..8083b49e --- /dev/null +++ b/hardware/sensehat/locales/ja/sensehat.json @@ -0,0 +1,12 @@ +{ + "sensehat": { + "label": { + "outputs": "出力", + "motionEvents": "モーションイベント", + "motionEventsExamples": "加速度計、ジャイロスコープ、磁力計、方位計", + "environmentEvents": "環境イベント", + "environmentEventsExamples": "温度、湿度、気圧", + "joystickEvents": "ジョイスティックイベント" + } + } +} \ No newline at end of file diff --git a/hardware/sensehat/sensehat.html b/hardware/sensehat/sensehat.html index 25091b7a..41c42dd6 100644 --- a/hardware/sensehat/sensehat.html +++ b/hardware/sensehat/sensehat.html @@ -1,30 +1,30 @@