From 7e40cb5331fb494c3e0af93c6a8fa2ac97c722a9 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Wed, 3 Mar 2021 10:07:33 +0900 Subject: [PATCH] update i18n and Japanese message for nodes --- .../nodes/core/function/10-function.html | 2 +- .../@node-red/nodes/core/network/10-mqtt.html | 8 ++-- .../nodes/locales/en-US/messages.json | 9 ++-- .../@node-red/nodes/locales/ja/messages.json | 44 +++++++++++++++++-- 4 files changed, 52 insertions(+), 11 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/function/10-function.html b/packages/node_modules/@node-red/nodes/core/function/10-function.html index 76bcc9556..a57655cf8 100644 --- a/packages/node_modules/@node-red/nodes/core/function/10-function.html +++ b/packages/node_modules/@node-red/nodes/core/function/10-function.html @@ -64,7 +64,7 @@
- +
    diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html index 6a2b324fe..ee5e973b0 100644 --- a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html +++ b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html @@ -187,7 +187,7 @@
    - +
    @@ -207,7 +207,7 @@
    - +
    - +
    @@ -837,4 +837,4 @@ } }); })(); - \ No newline at end of file + diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json index 13f8800cb..891712f71 100755 --- a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json @@ -213,7 +213,8 @@ "function": "On Message", "initialize": "On Start", "finalize": "On Stop", - "outputs": "Outputs" + "outputs": "Outputs", + "modules": "Modules" }, "text": { "initialize": "// Code added here will be run once\n// whenever the node is deployed.\n", @@ -362,7 +363,7 @@ "keepalive": "Keep Alive", "cleansession": "Use clean session", "cleanstart": "Use clean start", - "use-tls": "Enable secure (SSL/TLS) connection", + "use-tls": "Use TLS", "tls-config":"TLS Configuration", "verify-server-cert":"Verify server certificate", "compatmode": "Use legacy MQTT 3.1 support", @@ -390,7 +391,9 @@ "protocolVersion5": "MQTT V5", "topicAliasMaximum": "Alias Max", "maximumPacketSize": "Max Packet Size", - "receiveMaximum": "Receive Max" + "receiveMaximum": "Receive Max", + "session": "Session", + "delay": "Delay" }, "sections-label":{ "birth-message": "Message sent on connection (birth message)", diff --git a/packages/node_modules/@node-red/nodes/locales/ja/messages.json b/packages/node_modules/@node-red/nodes/locales/ja/messages.json index f23c14855..c0ada3136 100644 --- a/packages/node_modules/@node-red/nodes/locales/ja/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/ja/messages.json @@ -209,16 +209,26 @@ "function": { "function": "", "label": { + "setup": "設定", "function": "コード", "initialize": "初期化処理", "finalize": "終了処理", - "outputs": "出力数" + "outputs": "出力数", + "modules": "モジュール" }, "text": { "initialize": "// ここに記述したコードは、ノードをデプロイした時に\n// 一度だけ実行されます。\n", "finalize": "// ここに記述したコードは、ノードを停止したとき\n// もしくは再デプロイしたときに実行されます。\n" }, + "require": { + "var": "変数", + "module": "モジュール" + }, "error": { + "moduleNotAllowed": "モジュール __module__ は利用できません", + "moduleLoadError": "モジュール __module__ の読み込みに失敗しました: __error__", + "moduleNameError": "モジュール変数名が不正です: __name__", + "moduleNameReserved": "予約された変数名です: __name__", "inputListener": "コード内で'input'イベントのリスナを設定できません", "non-message-returned": "Functionノードが __type__ 型のメッセージ送信を試みました" } @@ -352,10 +362,38 @@ "port": "ポート", "keepalive": "キープアライブ時間", "cleansession": "セッションの初期化", - "use-tls": "SSL/TLS接続を使用", + "cleanstart": "クリーンスタート", + "use-tls": "TLSを使用", "tls-config": "TLS設定", "verify-server-cert": "サーバの証明書を確認", - "compatmode": "旧MQTT 3.1のサポート" + "compatmode": "旧MQTT 3.1のサポート", + "userProperties": "ユーザプロパティ", + "subscriptionIdentifier": "サブスクリプションID", + "flags": "フラグ", + "nl": "このクライアントでパブリッシュされたメッセージを受信しない", + "rap": "元のパブリッシュのretainフラグを保存する", + "rh": "Retainメッセージ処理", + "rh0": "Retainメッセージを送信", + "rh1": "新しいサブスクリプションのみ送信", + "rh2": "送信しない", + "responseTopic": "返信トピック", + "contentType": "コンテントタイプ", + "correlationData": "コリレーション", + "expiry": "有効期限 (秒)", + "sessionExpiry": "セッション有効期限 (秒)", + "topicAlias": "別名", + "payloadFormatIndicator": "形式", + "payloadFormatIndicatorFalse": "未指定バイト (デフォルト)", + "payloadFormatIndicatorTrue": "UTF-8エンコードペイロード", + "protocolVersion": "プロトコル", + "protocolVersion3": "MQTT V3.1 (旧版)", + "protocolVersion4": "MQTT V3.1.1", + "protocolVersion5": "MQTT V5", + "topicAliasMaximum": "最大別名数", + "maximumPacketSize": "最大パケット長", + "receiveMaximum": "最大受信数", + "session": "セッション", + "delay": "遅延" }, "sections-label": { "birth-message": "接続時の送信メッセージ(Birthメッセージ)",