improve multi language

This commit is contained in:
yoan
2024-11-23 12:55:31 +08:00
parent 47050769fc
commit 37df882ed3
22 changed files with 291 additions and 105 deletions

View File

@@ -6,6 +6,7 @@ import nlsDomain from "./nls.domain.json";
import nlsAccess from "./nls.access.json";
import nlsHistory from "./nls.history.json";
import nlsWorkflow from "./nls.workflow.json";
import nlsCertificate from "./nls.certificate.json";
export default Object.freeze({
...nlsCommon,
@@ -16,4 +17,5 @@ export default Object.freeze({
...nlsAccess,
...nlsHistory,
...nlsWorkflow,
...nlsCertificate,
});

View File

@@ -0,0 +1,19 @@
{
"certificate.page.title": "证书",
"certificate.nodata": "暂无证书,添加工作流去生成证书吧😀",
"certificate.props.domain": "名称",
"certificate.props.expiry": "有效期限",
"certificate.props.expiry.days": "天",
"certificate.props.expiry.expired": "已到期",
"certificate.props.expiry.text.expire": "到期",
"certificate.props.workflow": "所属工作流",
"certificate.props.created": "颁发时间",
"certificate.props.certificate": "证书",
"certificate.props.private.key": "私钥",
"certificate.action.view": "查看证书",
"certificate.action.download": "下载证书"
}

View File

@@ -1,11 +1,15 @@
{
"dashboard.page.title": "仪表盘",
"dashboard.statistics.all": "所有",
"dashboard.statistics.near_expired": "即将过期",
"dashboard.statistics.enabled": "启用中",
"dashboard.statistics.disabled": "未启用",
"dashboard.statistics.all.certificate": "所有证书",
"dashboard.statistics.near_expired.certificate": "即将过期证书",
"dashboard.statistics.expired.certificate": "已过期证书",
"dashboard.statistics.all.workflow": "所有工作流",
"dashboard.statistics.enabled.workflow": "已启用工作流",
"dashboard.statistics.unit": "个",
"dashboard.history": "最近部署"
"dashboard.certificate": "最新证书"
}

View File

@@ -1,4 +1,42 @@
{
"workflow.page.title": "工作流",
"workflow.detail.title": "流程",
"workflow.detail.history": "历史",
"workflow.detail.action.save": "保存变更",
"workflow.detail.action.save.failed": "保存失败",
"workflow.detail.action.save.failed.uncompleted": "保存失败,请完成所有节点设置",
"workflow.detail.action.run": "立即执行",
"workflow.detail.action.run.failed": "执行失败",
"workflow.detail.action.run.success": "执行成功",
"workflow.detail.action.running": "正在执行",
"workflow.baseinfo.title": "基本信息",
"workflow.props.name": "名称",
"workflow.props.name.placeholder": "请输入名称",
"workflow.props.name.default": "未命名工作流",
"workflow.props.description": "描述",
"workflow.props.description.placeholder": "请输入描述",
"workflow.props.executionMethod": "执行方式",
"workflow.props.enabled": "是否启用",
"workflow.props.created": "创建时间",
"workflow.props.updated": "更新时间",
"workflow.action": "操作",
"workflow.action.edit": "编辑",
"workflow.action.create": "创建工作流",
"workflow.action.delete.alert.title": "删除工作流",
"workflow.action.delete.alert.description": "确定要删除此工作流吗?",
"workflow.history.page.title": "日志",
"workflow.history.props.state": "状态",
"workflow.history.props.state.success": "通过",
"workflow.history.props.state.failed": "失败",
"workflow.history.props.reason": "原因",
"workflow.history.props.time": "时间",
"workflow.common.certificate.label": "证书",
"workflow.common.certificate.placeholder": "请选择证书来源",