diff --git a/xxl-job-admin/src/main/resources/i18n/message.properties b/xxl-job-admin/src/main/resources/i18n/message.properties index 1ddd6895..c15cedef 100644 --- a/xxl-job-admin/src/main/resources/i18n/message.properties +++ b/xxl-job-admin/src/main/resources/i18n/message.properties @@ -1,5 +1,12 @@ admin_name=任务调度中心 +admin_name_full=分布式任务调度平台XXL-JOB +## system +system_tips=系统提示 +system_ok=确定 +system_close=关闭 + +## login login_btn=登录 login_remember_me=记住密码 login_username_placeholder=请输入登录账号 @@ -11,11 +18,29 @@ login_password_lt_5=登录密码不应低于5位 login_success=登录成功 login_fail=登录失败 +## logout logout_btn=注销 logout_confirm=确认注销登录? logout_success=注销成功 logout_fail=注销失败 -system_tips=系统提示 -system_ok=确定2 -system_close=关闭2 \ No newline at end of file +## dashboard +job_dashboard_name=运行报表 +job_dashboard_job_num=任务数量 +job_dashboard_job_num_tip=调度中心运行的任务数量 +job_dashboard_trigger_num=调度次数 +job_dashboard_trigger_num_tip=调度中心触发的调度次数 +job_dashboard_jobgroup_num=执行器数量 +job_dashboard_jobgroup_num_tip=调度中心在线的执行器机器数量 + +job_dashboard_report=调度报表 + +## job info +jobinfo_name=任务管理 +joblog_name=调度日志 +jobgroup_name=执行器管理 + + +## help +job_help=使用教程 +job_help_document=官方文档 diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/template/common/common.macro.ftl b/xxl-job-admin/src/main/webapp/WEB-INF/template/common/common.macro.ftl index b94530c1..c66f7c3c 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/template/common/common.macro.ftl +++ b/xxl-job-admin/src/main/webapp/WEB-INF/template/common/common.macro.ftl @@ -95,11 +95,11 @@ diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/template/help.ftl b/xxl-job-admin/src/main/webapp/WEB-INF/template/help.ftl index d50a968b..765b1cde 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/template/help.ftl +++ b/xxl-job-admin/src/main/webapp/WEB-INF/template/help.ftl @@ -16,7 +16,7 @@
-

使用教程

+

${I18nUtil.getString("job_help")}

-

分布式任务调度平台XXL-JOB

+

${I18nUtil.getString("admin_name_full")}


github    

- 文档地址 + ${I18nUtil.getString("job_help_document")}

diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/template/index.ftl b/xxl-job-admin/src/main/webapp/WEB-INF/template/index.ftl index 56ca0acd..a53bc898 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/template/index.ftl +++ b/xxl-job-admin/src/main/webapp/WEB-INF/template/index.ftl @@ -18,7 +18,7 @@
-

运行报表

+

${I18nUtil.getString("job_dashboard_name")}

@@ -79,13 +79,13 @@
- 执行器数量 + ${I18nUtil.getString("job_dashboard_jobgroup_num")} ${executorCount}
- 调度中心在线的执行器机器数量 + ${I18nUtil.getString("job_dashboard_jobgroup_num_tip")}
@@ -97,7 +97,7 @@
-

调度报表

+

${I18nUtil.getString("job_dashboard_report")}

<#----> @@ -137,6 +137,9 @@ <@netCommon.commonFooter />
<@netCommon.commonScript /> + diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/template/jobgroup/jobgroup.index.ftl b/xxl-job-admin/src/main/webapp/WEB-INF/template/jobgroup/jobgroup.index.ftl index 5a8ed9a4..f7e4887c 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/template/jobgroup/jobgroup.index.ftl +++ b/xxl-job-admin/src/main/webapp/WEB-INF/template/jobgroup/jobgroup.index.ftl @@ -18,7 +18,7 @@
-

执行器管理

+

${I18nUtil.getString("jobgroup_name")}

diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl b/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl index 05bc68a6..7fbc7a49 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl +++ b/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl @@ -19,7 +19,7 @@
-

任务管理

+

${I18nUtil.getString("jobinfo_name")}

-

调度日志

+

${I18nUtil.getString("joblog_name")}

diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/template/login.ftl b/xxl-job-admin/src/main/webapp/WEB-INF/template/login.ftl index d913a014..1dc79d58 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/template/login.ftl +++ b/xxl-job-admin/src/main/webapp/WEB-INF/template/login.ftl @@ -39,6 +39,9 @@ <@netCommon.commonScript /> diff --git a/xxl-job-admin/src/main/webapp/static/js/index.js b/xxl-job-admin/src/main/webapp/static/js/index.js index e696e52d..64670a3d 100644 --- a/xxl-job-admin/src/main/webapp/static/js/index.js +++ b/xxl-job-admin/src/main/webapp/static/js/index.js @@ -63,7 +63,7 @@ $(function () { pieChartInit(data); } else { layer.open({ - title: '系统提示', + title: system_tips, content: (data.msg || '调度报表数据加载异常'), icon: '2' });