Add Japanese translations for daemon Node (#843)

* Separate language resources

* Add Japanese translations for daemon Node
This commit is contained in:
Wataru Sato
2021-10-19 05:12:00 +09:00
committed by GitHub
parent e6b9da52aa
commit eec57351d0
5 changed files with 128 additions and 32 deletions

View File

@@ -0,0 +1,43 @@
{
"daemon": {
"label": {
"command": "Command",
"arguments": "Arguments",
"autostart": "Auto-start daemon on deploy ?",
"addenter": "Add [enter] to every message sent ?",
"relaunch": "Relaunch command on exit or error ?",
"reply": "and",
"onclose": "on close"
},
"placeholder": {
"arguments": "space separated arguments"
},
"option": {
"reply": {
"buffer": "leave reply as a buffer",
"string": "format reply as a string",
"lines": "output lines of text",
"number": "try to convert reply to a number"
},
"onclose": {
"sigkill": "kill process immediately",
"sigterm": "try to terminate process",
"sigint": "try to interrupt process"
}
},
"tip": "<b>Note:</b> The command should just be the actual command. All parameters should be passed in as arguments.",
"status": {
"nocommand": "no command",
"running": "running",
"stopped": "stopped",
"error": "error"
},
"errors": {
"badparams": "Bad parameters - should be a JSON array or space separated",
"notrunning": "Command not running",
"notfound": "Command not found",
"notexecutable": "Command not executable",
"restarting": "Restarting"
}
}
}

View File

@@ -0,0 +1,11 @@
<script type="text/html" data-help-name="daemon">
<p>長時間実行されるシステムコマンドを呼び出します<code>msg.payload</code>stdin</p>
<p>実行中のコマンドから3つの出力stdout, stderr, リターンコードを提供します</p>
<p>パラメータはスペース区切り引用符付きスペース区切りもしくはJavaScript配列のいずれかです例えば`aa bb``"cc dd"`もしくは`["aa","bb cc""]`です</p>
<p>呼び出したプログラムが停止した場合つまりリターンコードが生成された場合本ノードはコマンドの再実行を試みます</p>
<p><code>msg.kill</code>SIGINT, SIGHUP
<code>msg.start</code></p>
<p><b>注意:</b>
例えばPythonアプリを実行する場合<code>-u</code></p>
</script>

View File

@@ -0,0 +1,43 @@
{
"daemon": {
"label": {
"command": "コマンド",
"arguments": "引数",
"autostart": "デプロイ時にデーモンを自動起動する",
"addenter": "全てのメッセージ送信に[enter]を追加する",
"relaunch": "終了またはエラー時にコマンドを再実行する",
"reply": "応答",
"onclose": "クローズ時"
},
"placeholder": {
"arguments": "スペースで区切られた引数"
},
"option": {
"reply": {
"buffer": "応答をバッファのままにする",
"string": "応答を文字列にフォーマットする",
"lines": "テキスト出力する",
"number": "応答を数字に変換するよう試みる"
},
"onclose": {
"sigkill": "プロセスを即時強制終了(kill)する",
"sigterm": "プロセスの終了(terminate)を試みる",
"sigint": "プロセスの中断(interrupt)を試みる"
}
},
"tip": "<b>注意:</b> コマンドは実際のコマンドのみとしてください。全てのパラメータは引数として渡す必要があります。",
"status": {
"nocommand": "コマンド未設定",
"running": "実行中",
"stopped": "停止",
"error": "エラー"
},
"errors": {
"badparams": "パラメータ不正 - JSON配列またはスペースで区切る必要があります",
"notrunning": "コマンドは実行されていません",
"notfound": "コマンドが見つかりません",
"notexecutable": "コマンドが実行できません",
"restarting": "再起動中"
}
}
}