From 84c5c6cb30b83c4d5eabf61992c06c98f292b0c7 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Tue, 16 Jun 2020 07:11:53 +0900 Subject: [PATCH] Add Japanese translations for pilcd node (#657) --- hardware/PiLcd/locales/en-US/pilcd.html | 9 +++++++++ hardware/PiLcd/locales/en-US/pilcd.json | 19 +++++++++++++++++++ hardware/PiLcd/locales/ja/pilcd.html | 9 +++++++++ hardware/PiLcd/locales/ja/pilcd.json | 19 +++++++++++++++++++ hardware/PiLcd/pilcd.html | 20 ++++---------------- hardware/PiLcd/pilcd.js | 14 +++++++------- 6 files changed, 67 insertions(+), 23 deletions(-) create mode 100644 hardware/PiLcd/locales/en-US/pilcd.html create mode 100644 hardware/PiLcd/locales/en-US/pilcd.json create mode 100644 hardware/PiLcd/locales/ja/pilcd.html create mode 100644 hardware/PiLcd/locales/ja/pilcd.json diff --git a/hardware/PiLcd/locales/en-US/pilcd.html b/hardware/PiLcd/locales/en-US/pilcd.html new file mode 100644 index 00000000..4a667794 --- /dev/null +++ b/hardware/PiLcd/locales/en-US/pilcd.html @@ -0,0 +1,9 @@ + diff --git a/hardware/PiLcd/locales/en-US/pilcd.json b/hardware/PiLcd/locales/en-US/pilcd.json new file mode 100644 index 00000000..bf55ec30 --- /dev/null +++ b/hardware/PiLcd/locales/en-US/pilcd.json @@ -0,0 +1,19 @@ +{ + "pilcd": { + "label": { + "pins": "Pins" + }, + "tip": { + "tip": "Tip: Pins MUST be a comma separated list of the 6 GPIO connector pin numbers that are connected to the RS, E, D4, D5, D6 and D7 pins of the LCD." + }, + "status": { + "not-available": "not available", + "na": "N/A : __value__" + }, + "errors": { + "ignorenode": "Raspberry Pi specific node set inactive", + "libnotfound": "Cannot find Pi RPi.GPIO python library", + "needtobeexecutable": "__command__ needs to be executable" + } + } +} diff --git a/hardware/PiLcd/locales/ja/pilcd.html b/hardware/PiLcd/locales/ja/pilcd.html new file mode 100644 index 00000000..0dd86ab8 --- /dev/null +++ b/hardware/PiLcd/locales/ja/pilcd.html @@ -0,0 +1,9 @@ + diff --git a/hardware/PiLcd/locales/ja/pilcd.json b/hardware/PiLcd/locales/ja/pilcd.json new file mode 100644 index 00000000..ba861599 --- /dev/null +++ b/hardware/PiLcd/locales/ja/pilcd.json @@ -0,0 +1,19 @@ +{ + "pilcd": { + "label": { + "pins": "ピン" + }, + "tip": { + "tip": "注釈: LCDのRS、E、D4、D5、D6、およびD7ピンに接続されている6つのGPIOコネクタのピン番号を、コンマで区切りでピンに入力する必要があります。" + }, + "status": { + "not-available": "利用不可", + "na": "N/A : __value__" + }, + "errors": { + "ignorenode": "Raspberry Pi固有のノードを無視しました", + "libnotfound": "RPi.GPIO pythonライブラリを見つけられませんでした", + "needtobeexecutable": "__command__ は実行可能である必要があります" + } + } +} diff --git a/hardware/PiLcd/pilcd.html b/hardware/PiLcd/pilcd.html index faa4b475..c0ce3a11 100644 --- a/hardware/PiLcd/pilcd.html +++ b/hardware/PiLcd/pilcd.html @@ -1,26 +1,14 @@ - - -