From 861679f2128c3b746d7e3cee15e05bbc15f3d02b Mon Sep 17 00:00:00 2001 From: YuanHu Date: Tue, 27 Mar 2018 14:05:45 +0800 Subject: Modify i18n files. Modify i18n files. Issue-ID: SDC-1130,SDC-1131 Change-Id: I7a68dc06d269a9f0a6eaaa30d824967e8adc48d8 Signed-off-by: YuanHu --- .../src/assets/i18n/zh-CN.json | 66 ++++++++++++++++++++-- 1 file changed, 60 insertions(+), 6 deletions(-) (limited to 'sdc-workflow-designer-ui/src/assets/i18n/zh-CN.json') diff --git a/sdc-workflow-designer-ui/src/assets/i18n/zh-CN.json b/sdc-workflow-designer-ui/src/assets/i18n/zh-CN.json index 1e04f583..b93d05d3 100644 --- a/sdc-workflow-designer-ui/src/assets/i18n/zh-CN.json +++ b/sdc-workflow-designer-ui/src/assets/i18n/zh-CN.json @@ -1,5 +1,6 @@ { "WORKFLOW": { + "UNAUTHORIZED": "未授权!", "BPMN_EVENT": "事件", "BPMN_TASK": "任务", "BPMN_GETWAY": "网关", @@ -8,7 +9,19 @@ "SAVE": "保存", "TEST": "测试", "BACK": "返回", + "CONFIRM": "确认", + "CONFIRM_SAVE1": "保存并返回?", + "CONFIRM_SAVE2": "返回后,未保存的数据将无法恢复。", + "CONFIRM_SAVE_BACK": "保存并返回", + "CONFIRM_BACK": "返回", + "CREATE": "添加", + "DELETE": "删除", "START_EVENT": "开始", + "PROCESS_VARIABLE": "流程变量", + "PROCESS_VARIABLE_DEFAULT": "默认值", + "PROCESS_VARIABLE_OPERATION": "操作", + "PROCESS_VARIABLE_CREATE": "添加", + "PROCESS_VARIABLE_DELETE": "删除", "END_EVENT": "结束", "ERROR_START_EVENT": "异常开始", "ERROR_END_EVENT": "异常结束", @@ -29,18 +42,59 @@ "REST_METHOD": "方法", "TIMER_TYPE": "类型", "TIMER_DURATION": "间隔", - "TIMER_DATE": "固定日期", - "TIMER_CYCLE": "循环日期", + "TIMER_DATE": "日期", + "TIMER_CYCLE": "周期", + "TIMER_YEAR": "年", + "TIMER_MONTH": "月", + "TIMER_DAY": "日", + "TIMER_HOUR": "时", + "TIMER_MINUTE": "分", + "TIMER_SECOND": "秒", + "TIMER_CYCLE_INDEX": "循环次数", "CONNECTION_NAME": "名称", "CONNECTION_SOURCE": "源", "CONNECTION_TARGET": "目标", "CONNECTION_CONDITION": "条件", - "SCRIPT_FORMAT":"脚本类型", - "SCRIPT":"脚本", - + "SCRIPT_FORMAT": "脚本类型", + "SCRIPT": "脚本", + "SERVICE_CLASS": "类", + "SERVICE_INPUT": "输入参数", + "SERVICE_OUTPUT": "输出参数", + "REST_INPUT_QUERY": "Query参数", + "REST_INPUT_HEADER": "Header参数", + "REST_INPUT_PATH": "Path参数", + "REST_INPUT_FORMDATA": "Formdata参数", + "REST_INPUT_BODY": "Body参数", + "REST_OUTPUT": "输出参数", "MSG": { + "LOAD_FAIL": "加载失败。", "SWAGGER_NOT_EXISTS": "Swagger信息不存在请检查'swagger.json'或服务状态。", - "SAVE_SUCCESS": "保存成功" + "SAVE_FAIL": "保存失败。", + "SAVE_SUCCESS": "保存成功。", + "VARIABLE_EMPTY": "变量名不能为空。", + "VARIABLE_SAME": "变量名不能相同。", + "PROCESS_VARIABLE_EMPTY": "流程变量名不能为空。", + "PROCESS_VARIABLE_SAME": "流程变量名不能相同。", + "NODE_ID_SAME": "节点{{value}}已存在" } + }, + "VALIDATE": { + "REQUIRED": "值不能为空", + "MAX_LENGTH": "值长度不能超过{{value}}", + "MIN_LENGTH": "值长度不能少于{{value}}", + "LENGTH": "值长度必须等于{{value}}", + "IN_RANGE": "值必须在范围{{value}}内", + "INTEGER": "值必须是整数", + "FLOAT": "值必须是浮点数", + "PATTERN": "值必须符合正则表达式{{value}}", + "GREATER_OR_EQUAL": "值必须大于等于{{value}}", + "LESS_OR_EQUAL": "值必须小于等于{{value}}", + "GREATER_THAN": "值必须大于{{value}}", + "LESS_THAN": "值必须小于{{value}}", + "EQUAL": "值必须等于{{value}}", + "CHARACTER_LIMIT": "仅限下列字符:{{value}}", + "CHARACTER_LENGTH": "长度{{value}}", + "NOT_ALL_NUMBER": "不能全部为数字", + "FIRST_CHARACTER": "以字母或数字开始" } } -- cgit 1.2.3-korg