You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by me...@apache.org on 2020/07/21 01:44:10 UTC

[shardingsphere-elasticjob-ui] 14/21: Language Information

This is an automated email from the ASF dual-hosted git repository.

menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-ui.git

commit 2d5b777c528941bdc874047357bf22ea206e8912
Author: renfufei <re...@huobi.com>
AuthorDate: Mon Jul 20 20:54:36 2020 +0800

    Language Information
---
 .../src/lang/en-US.js                              | 51 ++++++++++++++++++++++
 .../src/lang/zh-CN.js                              | 51 ++++++++++++++++++++++
 2 files changed, 102 insertions(+)

diff --git a/shardingsphere-elasticjob-ui-frontend/src/lang/en-US.js b/shardingsphere-elasticjob-ui-frontend/src/lang/en-US.js
index 0b7ca29..2a57981 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/lang/en-US.js
+++ b/shardingsphere-elasticjob-ui-frontend/src/lang/en-US.js
@@ -70,6 +70,7 @@ export default {
       title: 'Prompt',
       addSucMessage: 'Add Succeeded',
       editSucMessage: 'Edit Succeeded',
+      actionSucMessage: 'Operation Succeeded',
       conSucMessage: 'Connection Succeeded',
       conFailMessage: 'Connection Failed',
       delSucMessage: 'Delete Succeeded',
@@ -163,6 +164,56 @@ export default {
       password: 'Please enter the password of the data source'
     }
   },
+  operationJobs: {
+    labelInfo: {
+      jobName: 'Job name',
+      shardingTotalCount: 'Sharding total count',
+      cron: 'Crontab',
+      description: 'Description',
+      status: 'Status',
+      jobParameter: 'Job parameter',
+      maxTimeDiffSeconds: 'Max time diff seconds',
+      reconcileIntervalMinutes: 'Reconcile interval minutes',
+      monitorExecution: 'Monitor execution',
+      failover: 'Failover',
+      misfire: 'Misfire',
+      streamingProcess: 'Streaming process',
+      shardingItemParameters: 'Sharding item parameters',
+      jobShardingStrategyType: 'Job sharding strategy type',
+      jobExecutorServiceHandlerType: 'Executor service handler',
+      jobErrorHandlerType: 'Job error handler',
+      item: 'Sharding item',
+      serverIp: 'Server IP',
+      instanceId: 'PID',
+      editTitle: 'Update job'
+    },
+    table: {
+      operate: 'Operation'
+    },
+    rules: {
+      jobName: 'Please enter the Job name',
+      shardingTotalCount: 'Please enter the Sharding total count',
+      cron: 'Please enter the Crontab',
+      description: 'Please enter the Description',
+      status: 'Please enter the Status'
+    },
+    statusText: {
+      OK: 'OK',
+      DISABLED: 'Disabled',
+      CRASHED: 'Crashed',
+      PENDING: 'Staging',
+      SHARDING_FLAG: 'SHARDING_FLAG'
+    },
+    actionText: {
+      modify: 'Update',
+      detail: 'Detail',
+      trigger: 'Trigger',
+      disable: 'Disable',
+      enable: 'Enable',
+      shutdown: 'Shutdown',
+      remove: 'Remove',
+    }
+  },
   help: {
     design_concept_title: 'Design concept',
     design_concept_info_1: 'Console is not related to Elastic Job, it just reading data from registry center and showing the status of jobs, or updating data to registry center which will change the configuration.',
diff --git a/shardingsphere-elasticjob-ui-frontend/src/lang/zh-CN.js b/shardingsphere-elasticjob-ui-frontend/src/lang/zh-CN.js
index dc8f255..03fa557 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/lang/zh-CN.js
+++ b/shardingsphere-elasticjob-ui-frontend/src/lang/zh-CN.js
@@ -70,6 +70,7 @@ export default {
       title: '提示',
       addSucMessage: '添加成功',
       editSucMessage: '修改成功',
+      actionSucMessage: '操作成功',
       conSucMessage: '连接成功',
       conFailMessage: '连接失败',
       delSucMessage: '删除成功',
@@ -163,6 +164,56 @@ export default {
       password: '请输入数据源密码'
     }
   },
+  operationJobs: {
+    labelInfo: {
+      jobName: '作业名称',
+      shardingTotalCount: '作业分片总数',
+      cron: 'Cron表达式',
+      description: '作业描述信息',
+      status: '状态',
+      jobParameter: '自定义参数',
+      maxTimeDiffSeconds: '最大容忍本机与注册中心的时间误差秒数',
+      reconcileIntervalMinutes: '作业服务器状态修复周期',
+      monitorExecution: '监控作业执行时状态',
+      failover: '支持自动失效转移',
+      misfire: '支持错过重执行',
+      streamingProcess: '是否流式处理数据',
+      shardingItemParameters: '分片序列号/参数对照表',
+      jobShardingStrategyType: '作业分片策略类型',
+      jobExecutorServiceHandlerType: '定制线程池全路径',
+      jobErrorHandlerType: '定制异常处理类全路径',
+      item: '分片项',
+      serverIp: '服务器IP',
+      instanceId: '进程ID',
+      editTitle: '修改作业'
+    },
+    table: {
+      operate: '操作'
+    },
+    rules: {
+      jobName: '请输入作业名称',
+      shardingTotalCount: '请输入作业分片总数',
+      cron: '请输入Cron表达式',
+      description: '请输入作业描述信息',
+      status: '请选择作业状态'
+    },
+    statusText: {
+      OK: '正常',
+      DISABLED: '已失效',
+      CRASHED: '已下线',
+      PENDING: '等待运行',
+      SHARDING_FLAG: '分片待调整'
+    },
+    actionText: {
+      modify: '修改',
+      detail: '详情',
+      trigger: '触发',
+      disable: '失效',
+      enable: '生效',
+      shutdown: '终止',
+      remove: '删除',
+    }
+  },
   help: {
     design_concept_title: '设计理念',
     design_concept_info_1: '本控制台和Elastic Job并无直接关系,是通过读取Elastic Job的注册中心数据展现作业状态,或更新注册中心数据修改全局配置。',