chore(ui): improve i18n

This commit is contained in:
Fu Diwei 2025-09-14 16:17:19 +08:00
parent 0f9bf32158
commit d5d6482ce3
2 changed files with 3 additions and 3 deletions

View File

@ -1059,7 +1059,7 @@
"workflow_node.notify.form.subject.placeholder": "Please enter subject",
"workflow_node.notify.form.message.label": "Message",
"workflow_node.notify.form.message.placeholder": "Please enter message",
"workflow_node.notify.form.template.guide": "<details><summary>The content using the \"Mustache\" syntax (double curly braces) and preceded by \"$\" in the subject or message are text interpolations. They will be replaced by the actual values. </summary><br>Supported text interpolations: <ol style=\"list-style: disc;\"><li><em>workflow.id</em>: The ID of the workflow.</li><li><em>workflow.name</em>: The name of the workflow.</li><li><em>run.id</em>: The ID of the workflow run.</li><li><em>error.nodeId</em>: The node ID that execution failed. If there are multiple nodes that have failed before this, it always indicate the nearest one.</li><li><em>error.nodeName</em>: The node name that execution failed. If there are multiple nodes that have failed before this, it always indicate the nearest one.</li><li><em>error.message</em>: The error message that execution failed. If there are multiple nodes that have failed before this, it always indicate the nearest one.</li><li><em>certificate.domain</em>: The primary domain of the certificate (a.k.a. <i>CommonName</i>). If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.domains</em>: The domains list of the certificate (a.k.a. <i>SubjectAltNames</i>). If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.notBefore</em>: The effect time of the certificate, formatted in RFC3339. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.notAfter</em>: The effect time of the certificate, formatted in RFC3339. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.hoursLeft</em>: The left hours of the certificate. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.daysLeft</em>: The left days of the certificate. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.validity</em>: The validity of the certificate. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>now</em>: The current time on the server, formatted in RFC3339. </li></ol><br>Example: <br><em>Your workflow {{ $workflow.name }} has failed on node {{ $error.nodeName }} at {{ $now }}.</em><br><br>Please visit the documentation for more details.</details>",
"workflow_node.notify.form.template.guide": "<details><summary>The content using the \"Mustache\" syntax (double curly braces) and preceded by \"$\" in the subject or message are text interpolations. They will be replaced by the actual values. (Expand to see more) </summary><br>Supported text interpolations: <ol style=\"list-style: disc;\"><li><em>workflow.id</em>: The ID of the workflow.</li><li><em>workflow.name</em>: The name of the workflow.</li><li><em>run.id</em>: The ID of the workflow run.</li><li><em>error.nodeId</em>: The node ID that execution failed. If there are multiple nodes that have failed before this, it always indicate the nearest one.</li><li><em>error.nodeName</em>: The node name that execution failed. If there are multiple nodes that have failed before this, it always indicate the nearest one.</li><li><em>error.message</em>: The error message that execution failed. If there are multiple nodes that have failed before this, it always indicate the nearest one.</li><li><em>certificate.domain</em>: The primary domain of the certificate (a.k.a. <i>CommonName</i>). If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.domains</em>: The domains list of the certificate (a.k.a. <i>SubjectAltNames</i>). If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.notBefore</em>: The effect time of the certificate, formatted in RFC3339. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.notAfter</em>: The effect time of the certificate, formatted in RFC3339. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.hoursLeft</em>: The left hours of the certificate. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.daysLeft</em>: The left days of the certificate. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>certificate.validity</em>: The validity of the certificate. If there are multiple nodes outputting a certificate before this, it always indicate the nearest one.</li><li><em>now</em>: The current time on the server, formatted in RFC3339. </li></ol><br>Example: <br><em>Your workflow {{ $workflow.name }} has failed on node {{ $error.nodeName }} at {{ $now }}.</em><br><br>Please visit the documentation for more details.</details>",
"workflow_node.notify.form.provider.label": "Notification channel",
"workflow_node.notify.form.provider.placeholder": "Please select notification channel",
"workflow_node.notify.form.provider.search.placeholder": "Search notification channel ...",

View File

@ -1056,7 +1056,7 @@
"workflow_node.notify.form.subject.label": "通知主题",
"workflow_node.notify.form.subject.placeholder": "请输入通知主题",
"workflow_node.notify.form.message.label": "通知内容",
"workflow_node.notify.form.template.guide": "<details><summary>通知主题或内容中使用「Mustache」语法即双大括号包裹、并以「$」符号开头的文本会被视为模板插值,将在推送时被替换为实际值。</summary><br>支持的模板插值:<ol style=\"list-style: disc;\"><li><em>workflow.id</em>:工作流 ID。</li><li><em>workflow.name</em>:工作流名称。</li><li><em>run.id</em>:运行 ID。</li><li><em>error.nodeId</em>:执行失败时的节点 ID。如果在此之前有多个执行失败的节点始终表示最近的一个。</li><li><em>error.nodeName</em>:执行失败时的节点名称。如果在此之前有多个执行失败的节点,始终表示最近的一个。</li><li><em>error.message</em>:执行失败时的错误信息。如果在此之前有多个执行失败的节点,始终表示最近的一个。</li><li><em>certificate.domain</em>:证书主域名(即 <i>CommonName</i>)。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.domains</em>:证书多域名列表(即 <i>SubjectAltNames</i>)。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.notBefore</em>:证书生效时间,以 RFC3339 格式化。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.notAfter</em>:证书过期时间,以 RFC3339 格式化。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.hoursLeft</em>:证书剩余小时数。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.daysLeft</em>:证书剩余天数。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.validity</em>:证书是否有效。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>now</em>:服务器当前时间,以 RFC3339 格式化。</li></ol><br>示例:<br><em>Your workflow {{ $workflow.name }} has failed on node {{ $error.nodeName }} at {{ $now }}.</em><br><br>更多内容请查看文档。</details>",
"workflow_node.notify.form.template.guide": "<details><summary>通知主题或内容中使用「Mustache」语法即双大括号包裹、并以「$」符号开头的文本会被视为模板插值,将在推送时被替换为实际值。(展开查看更多)</summary><br>支持的模板插值:<ol style=\"list-style: disc;\"><li><em>workflow.id</em>:工作流 ID。</li><li><em>workflow.name</em>:工作流名称。</li><li><em>run.id</em>:运行 ID。</li><li><em>error.nodeId</em>:执行失败时的节点 ID。如果在此之前有多个执行失败的节点始终表示最近的一个。</li><li><em>error.nodeName</em>:执行失败时的节点名称。如果在此之前有多个执行失败的节点,始终表示最近的一个。</li><li><em>error.message</em>:执行失败时的错误信息。如果在此之前有多个执行失败的节点,始终表示最近的一个。</li><li><em>certificate.domain</em>:证书主域名(即 <i>CommonName</i>)。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.domains</em>:证书多域名列表(即 <i>SubjectAltNames</i>)。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.notBefore</em>:证书生效时间,以 RFC3339 格式化。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.notAfter</em>:证书过期时间,以 RFC3339 格式化。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.hoursLeft</em>:证书剩余小时数。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.daysLeft</em>:证书剩余天数。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>certificate.validity</em>:证书是否有效。如果在此之前有多个输出证书的节点,始终表示最近的一个。</li><li><em>now</em>:服务器当前时间,以 RFC3339 格式化。</li></ol><br>示例:<br><em>Your workflow {{ $workflow.name }} has failed on node {{ $error.nodeName }} at {{ $now }}.</em><br><br>更多内容请查看文档。</details>",
"workflow_node.notify.form.provider.label": "通知渠道",
"workflow_node.notify.form.provider.placeholder": "请选择通知渠道",
"workflow_node.notify.form.provider.search.placeholder": "搜索通知渠道……",
@ -1081,7 +1081,7 @@
"workflow_node.notify.form.telegrambot_chat_id.help": "提示:不填写时,将使用所选通知渠道授权的默认会话 ID。",
"workflow_node.notify.form.webhook_data.label": "Webhook 回调数据(可选)",
"workflow_node.notify.form.webhook_data.placeholder": "请输入 Webhook 回调数据以覆盖默认值",
"workflow_node.notify.form.webhook_data.help": "提示:不填写时,将使用所选部署目标授权的默认 Webhook 回调数据。",
"workflow_node.notify.form.webhook_data.help": "提示:不填写时,将使用所选通知渠道授权的默认 Webhook 回调数据。",
"workflow_node.notify.form.webhook_data.errmsg.json_invalid": "请输入有效的 JSON 格式字符串",
"workflow_node.notify.form.webhook_timeout.label": "Webhook 超时时间(可选)",
"workflow_node.notify.form.webhook_timeout.placeholder": "请输入 Webhook 超时时间",