update i18n and Japanese message for nodes

This commit is contained in:
Hiroyasu Nishiyama 2021-03-03 10:07:33 +09:00
parent 0566a2d9b1
commit 7e40cb5331
4 changed files with 52 additions and 11 deletions

View File

@ -64,7 +64,7 @@
</div>
<div class="form-row node-input-libs-row hide" style="margin-bottom: 0px;">
<label><i class="fa fa-cubes"></i> <span>Modules</span></label>
<label><i class="fa fa-cubes"></i> <span data-i18n="function.label.modules"></span></label>
</div>
<div class="form-row node-input-libs-row hide" id="node-input-libs-container-row">
<ol id="node-input-libs-container"></ol>

View File

@ -187,7 +187,7 @@
</div>
<div class="form-row" style="height: 34px;">
<input type="checkbox" id="node-config-input-usetls" style="height: 34px; margin: 0 0 0 104px; display: inline-block; width: auto; vertical-align: top;">
<label for="node-config-input-usetls" style="width: 80px; line-height: 34px;" data-ai18n="mqtt.label.use-tls">Use TLS</label>
<label for="node-config-input-usetls" style="width: 80px; line-height: 34px;"><span data-i18n="mqtt.label.use-tls"></span></label>
<span id="node-config-row-tls" class="hide"><input style="width: 320px;" type="text" id="node-config-input-tls"></span>
</div>
<div class="form-row">
@ -207,7 +207,7 @@
<input type="number" min="0" id="node-config-input-keepalive" style="width: 100px">
</div>
<div class="form-row" style="margin-bottom:0">
<label style="vertical-align:top;"><i class="fa fa-info"></i> Session</label>
<label style="vertical-align:top;"><i class="fa fa-info"></i> <span data-i18n="mqtt.label.session"></span></label>
<div style="display: inline-block; width:calc(100% - 110px)">
<div class="form-row">
<label for="node-config-input-cleansession" style="width: auto;">
@ -355,7 +355,7 @@
</select>
</div>
<div class="form-row mqtt5">
<label>Delay</label>
<label><span data-i18n="mqtt.label.delay"></span></label>
<input type="number" min="0" id="node-config-input-will-delay" style="width: 100px" >
</div>
<div class="form-row mqtt5 mqtt5-out">
@ -837,4 +837,4 @@
}
});
})();
</script>
</script>

View File

@ -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)",

View File

@ -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メッセージ)",