workflow multi languages
This commit is contained in:
@@ -5,6 +5,7 @@ import nlsSettings from "./nls.settings.json";
|
||||
import nlsDomain from "./nls.domain.json";
|
||||
import nlsAccess from "./nls.access.json";
|
||||
import nlsHistory from "./nls.history.json";
|
||||
import nlsWorkflow from "./nls.workflow.json";
|
||||
|
||||
export default Object.freeze({
|
||||
...nlsCommon,
|
||||
@@ -14,4 +15,5 @@ export default Object.freeze({
|
||||
...nlsDomain,
|
||||
...nlsAccess,
|
||||
...nlsHistory,
|
||||
...nlsWorkflow,
|
||||
});
|
||||
|
||||
33
ui/src/i18n/locales/en/nls.workflow.json
Normal file
33
ui/src/i18n/locales/en/nls.workflow.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"workflow.common.certificate.label": "Certificate",
|
||||
"workflow.common.certificate.placeholder": "Please select certificate source",
|
||||
|
||||
"workflow.node.start.title": "Start",
|
||||
"workflow.node.apply.title": "Apply",
|
||||
"workflow.node.deploy.title": "Deploy",
|
||||
"workflow.node.branch.title": "Branch",
|
||||
"workflow.node.condition.title": "Branch",
|
||||
"workflow.node.end.title": "End",
|
||||
"workflow.node.notify.title": "Notify",
|
||||
|
||||
"workflow.node.setting.label": "Setting Node",
|
||||
"workflow.node.delete.label": "Delete Node",
|
||||
"workflow.node.addBranch.label": "Add Branch",
|
||||
"workflow.node.selectNodeType.label": "Select Node Type",
|
||||
|
||||
"workflow.node.start.form.executionMethod.label": "Execution Method",
|
||||
"workflow.node.start.form.executionMethod.placeholder": "Please select execution method",
|
||||
"workflow.node.start.form.executionMethod.options.manual": "Manual",
|
||||
"workflow.node.start.form.executionMethod.options.auto": "Auto",
|
||||
"workflow.node.start.form.crontab.label": "Crontab",
|
||||
"workflow.node.start.form.crontab.placeholder": "Please enter crontab",
|
||||
|
||||
"workflow.node.notify.form.title.label": "Title",
|
||||
"workflow.node.notify.form.title.placeholder": "Please enter title",
|
||||
"workflow.node.notify.form.content.label": "Content",
|
||||
"workflow.node.notify.form.content.placeholder": "Please enter content",
|
||||
"workflow.node.notify.form.channel.label": "Channel",
|
||||
"workflow.node.notify.form.channel.placeholder": "Please select channel",
|
||||
"workflow.node.notify.form.settingChannel.label": "Setting Channel"
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import nlsSettings from "./nls.settings.json";
|
||||
import nlsDomain from "./nls.domain.json";
|
||||
import nlsAccess from "./nls.access.json";
|
||||
import nlsHistory from "./nls.history.json";
|
||||
import nlsWorkflow from "./nls.workflow.json";
|
||||
|
||||
export default Object.freeze({
|
||||
...nlsCommon,
|
||||
@@ -14,4 +15,5 @@ export default Object.freeze({
|
||||
...nlsDomain,
|
||||
...nlsAccess,
|
||||
...nlsHistory,
|
||||
...nlsWorkflow,
|
||||
});
|
||||
|
||||
33
ui/src/i18n/locales/zh/nls.workflow.json
Normal file
33
ui/src/i18n/locales/zh/nls.workflow.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"workflow.common.certificate.label": "证书",
|
||||
"workflow.common.certificate.placeholder": "请选择证书来源",
|
||||
|
||||
"workflow.node.start.title": "开始",
|
||||
"workflow.node.apply.title": "申请",
|
||||
"workflow.node.deploy.title": "部署",
|
||||
"workflow.node.branch.title": "分支",
|
||||
"workflow.node.condition.title": "分支",
|
||||
"workflow.node.end.title": "流程结束",
|
||||
"workflow.node.notify.title": "通知",
|
||||
|
||||
"workflow.node.setting.label": "设置节点",
|
||||
"workflow.node.delete.label": "删除节点",
|
||||
"workflow.node.addBranch.label": "添加分支",
|
||||
"workflow.node.selectNodeType.label": "选择节点类型",
|
||||
|
||||
"workflow.node.start.form.executionMethod.label": "执行方式",
|
||||
"workflow.node.start.form.executionMethod.placeholder": "请选择执行方式",
|
||||
"workflow.node.start.form.executionMethod.options.manual": "手动",
|
||||
"workflow.node.start.form.executionMethod.options.auto": "自动",
|
||||
"workflow.node.start.form.crontab.label": "定时表达式",
|
||||
"workflow.node.start.form.crontab.placeholder": "请输入定时表达式",
|
||||
|
||||
"workflow.node.notify.form.title.label": "标题",
|
||||
"workflow.node.notify.form.title.placeholder": "请输入标题",
|
||||
"workflow.node.notify.form.content.label": "内容",
|
||||
"workflow.node.notify.form.content.placeholder": "请输入内容",
|
||||
"workflow.node.notify.form.channel.label": "推送渠道",
|
||||
"workflow.node.notify.form.channel.placeholder": "请选择推送渠道",
|
||||
"workflow.node.notify.form.settingChannel.label": "设置推送渠道"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user