mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add Japanese translations for Sense HAT node (#704)
This commit is contained in:
parent
eddeef9630
commit
770ad94e95
12
hardware/sensehat/locales/en-US/sensehat.json
Normal file
12
hardware/sensehat/locales/en-US/sensehat.json
Normal file
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
12
hardware/sensehat/locales/ja/sensehat.json
Normal file
12
hardware/sensehat/locales/ja/sensehat.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"sensehat": {
|
||||
"label": {
|
||||
"outputs": "出力",
|
||||
"motionEvents": "モーションイベント",
|
||||
"motionEventsExamples": "加速度計、ジャイロスコープ、磁力計、方位計",
|
||||
"environmentEvents": "環境イベント",
|
||||
"environmentEventsExamples": "温度、湿度、気圧",
|
||||
"joystickEvents": "ジョイスティックイベント"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,30 +1,30 @@
|
||||
|
||||
<script type="text/x-red" data-template-name="rpi-sensehat in">
|
||||
<div class="form-row">
|
||||
<label><i class="fa fa-arrow-right"></i> Outputs</label>
|
||||
<label style="width: auto" for="node-input-motion"><input style="vertical-align: top; width: auto; margin-right: 5px;" type="checkbox" id="node-input-motion"> Motion events</label>
|
||||
<div style="padding-left: 125px; margin-top: -5px; color: #bbb;">accelerometer, gyroscope, magnetometer, compass</div>
|
||||
<label><i class="fa fa-arrow-right"></i> <span data-i18n="sensehat.label.outputs"></label>
|
||||
<label style="width: auto" for="node-input-motion"><input style="vertical-align: top; width: auto; margin-right: 5px;" type="checkbox" id="node-input-motion"> <span data-i18n="sensehat.label.motionEvents"></label>
|
||||
<div style="padding-left: 125px; margin-top: -5px; color: #bbb;" data-i18n="sensehat.label.motionEventsExamples"></div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label></label>
|
||||
<label style="width: auto" for="node-input-env"><input style="vertical-align: top; width: auto; margin-right: 5px;" type="checkbox" id="node-input-env"> Environment events</label>
|
||||
<div style="padding-left: 125px; margin-top: -5px; color: #bbb;">temperature, humidity, pressure</div>
|
||||
<label style="width: auto" for="node-input-env"><input style="vertical-align: top; width: auto; margin-right: 5px;" type="checkbox" id="node-input-env"> <span data-i18n="sensehat.label.environmentEvents"></label>
|
||||
<div style="padding-left: 125px; margin-top: -5px; color: #bbb;" data-i18n="sensehat.label.environmentEventsExamples"></div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label></label>
|
||||
<label style="width: auto" for="node-input-stick"><input style="vertical-align: top; width: auto; margin-right: 5px;" type="checkbox" id="node-input-stick"> Joystick events</label>
|
||||
<label style="width: auto" for="node-input-stick"><input style="vertical-align: top; width: auto; margin-right: 5px;" type="checkbox" id="node-input-stick"> <span data-i18n="sensehat.label.joystickEvents"></label>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></label>
|
||||
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-template-name="rpi-sensehat out">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></label>
|
||||
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user