add zn-CN translation for nodes:common,function,storage

This commit is contained in:
JIYE YU
2020-01-28 13:39:41 +09:00
parent 504d13943d
commit 7ffd37d9cb
18 changed files with 658 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="inject">
<p>手动或定期得将消息注入流中消息的payload可以为多种类型包括字符串JavaScript对象或当前时间</p>
<h3>输出</h3>
<dl class="message-properties">
<dt>payload<span class="property-type">various</span></dt>
<dd>指定的消息的payload</dd>
<dt class="optional">topic <span class="property-type">字符串</span></dt>
<dd>可以在节点中配置的可选属性</dd>
</dl>
<h3>详细</h3>
<p>通过使用特定的payload值注入节点可以启动流默认payload是当前时间的时间戳以毫秒为单位自1970年1月1日起</p>
<p>该节点还支持注入字符串数字布尔值JavaScript对象或流/全局上下文值</p>
<p>默认情况下节点可以通过在编辑器中单击节点按钮来手动触发同时也可以被设置为定期或按计划注入</p>
<p>另一个可选的设置是在每次启动流时注入一次</p>
<p>可以指定的最大<i>间隔</i>596/24 使scheduler</p>
<p><b>注意</b>:选项<i>“时间间隔” </i><i>特定时间 </i>使用了标准cron系统。这意味着因此“20分钟”并不表示在此之后20分钟而是每小时的20分钟40分钟。如果您希望设定为从现在开始的每20分钟那么请使用<i>“间隔” </i>选项</p>
<p><b>注意</b>: 使payload</p>
</script>

View File

@@ -0,0 +1,25 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="debug">
<p>调试侧边栏选项卡和运行时日志中显示选定的消息属性 默认情况下它会显示<code> msg.payload </code>JSONata</p>
<h3>详细</h3>
<p>调试侧边栏会提供已发消息的结构化视图方便您查询消息的结构</p>
<p>JavaScript对象和数组可以根据需要来折叠或扩展缓冲区对象可以显示为原始数据也可以显示为字符串</p>
<p>对任意条消息调试侧边栏还会显示接收消息的时间发送消息的节点以及消息类型等信息单击源节点ID将在工作区中显示该节点</p>
<p>节点上的按钮可用于启用或禁用其输出建议禁用或删除所有未使用的调试节点</p>
<p>还可以通过配置节点将所有消息发送到运行时日志或将简短的数据32个字符内在调试节点下的状态文本上显示</p>
</script>

View File

@@ -0,0 +1,24 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="complete">
<p>当另一个节点完成对消息的处理时触发流</p>
<h3>详细</h3>
<p>如果一个节点通知运行时它已完成消息的处理该节点可用于触发第二个流</p>
<p>这个节点可以与没有输出端口的节点一起使用例如在使用电子邮件发送节点来发送邮件后触发一个流</p>
<p>此节点只能被设置为处理流中某个所选节点的事件与Catch节点不同您不能指定所有节点模式并以流中的所有节点为目标</p>
<p>并非所有节点都会触发此事件这取决于它们是否支持于Node-RED 1.0中引入的此功能</p>
</script>

View File

@@ -0,0 +1,36 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="catch">
<p>捕获由同一标签页上的节点引发的错误</p>
<h3>输出</h3>
<dl class="message-properties">
<dt>error.message <span class="property-type">字符串</span></dt>
<dd>错误消息</dd>
<dt>error.source.id <span class="property-type">字符串</span></dt>
<dd>引发错误的节点的ID</dd>
<dt>error.source.type <span class="property-type">字符串</span></dt>
<dd>引发错误的节点的类型</dd>
<dt>error.source.name <span class="property-type">字符串</span></dt>
<dd>引发错误的节点的名称如果已设置</dd>
</dl>
<h3>详细</h3>
<p>如果节点在处理消息时抛出错误则流程通常会停止该节点可用于捕获那些错误并通过专用流程进行处理</p>
<p>默认情况下该节点将捕获同一标签页上任何节点抛出的错误或者它可以针对特定节点或配置为仅捕获另一个目标捕获节点尚未捕获的错误</p>
<p>当错误发生时所有匹配的catch节点都会收到错误消息</p>
<p>如果在子流中发送了错误则该错误将由子流中的任意捕获节点处理如果子流中不存在捕获节点则那错误将被传播到子流实例所在的标签页</p>
<p>如果消息已经具有<code>error</code><code>error</code><code>_error</code></p>
</script>

View File

@@ -0,0 +1,33 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="status">
<p>获取在同一标签页上的其他节点的状态消息</p>
<h3>输出</h3>
<dl class="message-properties">
<dt>status.text <span class="property-type">字符串</span></dt>
<dd>状态文本</dd>
<dt>status.source.type <span class="property-type">字符串</span></dt>
<dd>报告状态的节点的类型</dd>
<dt>status.source.id <span class="property-type">字符串</span></dt>
<dd>报告状态的节点的ID</dd>
<dt>status.source.name <span class="property-type">字符串</span></dt>
<dd>报告状态的节点的名称如果已设置</dd>
</dl>
<h3>详细</h3>
<p>该节点不包含<code>payload</code></p>
<p>默认情况下节点会获取同一工作空间标签页上报告所有节点的状态可以通过配置来设定目标节点</p>
</script>

View File

@@ -0,0 +1,31 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="link in">
<p>在流之间创建虚拟连线</p>
<h3>详细</h3>
<p>该节点可以连接到任何标签页上存在的任何<code>link out</code></p>
<p>仅当选择链接节点时才会显示链接节点之间的链接如果有指向另一个选项卡的链接则显示一个虚拟节点单击该虚拟节点将带您到相应的选项卡</p>
<p><b>注意</b></p>
</script>
<script type="text/x-red" data-help-name="link out">
<p>在流之间创建虚拟连线</p>
<h3>详细</h3>
<p>该节点可以连接到任何标签页上存在的任何<code>link in</code></p>
<p>仅当选择链接节点时才会显示链接节点之间的链接如果有指向另一个选项卡的链接则显示一个虚拟节点单击该虚拟节点将带您到相应的选项卡</p>
<p><b>注意</b></p>
</script>

View File

@@ -0,0 +1,21 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="comment">
<p>可用于向流添加注释的节点</p>
<h3>详细</h3>
<p>编辑面板接受Markdown语法输入的文本将在信息侧面板中显示</p>
</script>

View File

@@ -0,0 +1,24 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="unknown">
<p>您安装的Node-RED无法识别该节点的类型</p>
<h3>详细</h3>
<p><i>如果在此状态下部署节点其配置会被保存但是在安装缺少的类型之前流不会开始</i></p>
<p>使用<code> Menu-Manage Palette </code>使<b>npm install &lt;module&gt;</b>Node-Red</p>
<p>另一种可能是您已经安装了此节点类型但是缺少必须的依赖项您应检查Node-RED的启动日志中是否有与缺少节点有关的错误消息</p>
<p>以上方法都不适用时您可以联系该流的作者以获取缺少的节点类型的副本</p>
</script>