GLUE界面,完整国际化定制

master
xuxueli 7 years ago
parent e7b61fb75c
commit 892f08e088
  1. 1
      xxl-job-admin/src/main/resources/i18n/message.properties
  2. 6
      xxl-job-admin/src/main/webapp/WEB-INF/template/common/common.exception.ftl
  3. 10
      xxl-job-admin/src/main/webapp/WEB-INF/template/jobcode/jobcode.index.ftl

@ -119,6 +119,7 @@ jobinfo_opt_pause=暂停
jobinfo_opt_resume=恢复 jobinfo_opt_resume=恢复
jobinfo_opt_log=日志 jobinfo_opt_log=日志
jobinfo_opt_run=执行 jobinfo_opt_run=执行
jobinfo_glue_remark=源码备注
## job log ## job log
joblog_name=调度日志 joblog_name=调度日志

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>应用程序异常 (error)</title> <title>Error</title>
<style type="text/css"> <style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog { div.dialog {
@ -21,9 +21,9 @@
<body> <body>
<div class="dialog"> <div class="dialog">
<h1>应用程序异常</h1> <h1>System Error</h1>
<p>${exceptionMsg}</p> <p>${exceptionMsg}</p>
<a href="javascript:window.location.href='${request.contextPath}/'"> </a> <a href="javascript:window.location.href='${request.contextPath}/'">Back</a>
</p> </p>
</div> </div>

@ -87,19 +87,19 @@
<div class="modal-dialog "> <div class="modal-dialog ">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title" ><i class="fa fa-fw fa-save"></i>保存</h4> <h4 class="modal-title" ><i class="fa fa-fw fa-save"></i>${I18n.system_save}</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<form class="form-horizontal form" role="form" > <form class="form-horizontal form" role="form" >
<div class="form-group"> <div class="form-group">
<label for="lastname" class="col-sm-2 control-label">源码备注<font color="red">*</font></label> <label for="lastname" class="col-sm-2 control-label">${I18n.jobinfo_glue_remark}<font color="red">*</font></label>
<div class="col-sm-10"><input type="text" class="form-control" id="glueRemark" placeholder="请输入备注信息" maxlength="64" ></div> <div class="col-sm-10"><input type="text" class="form-control" id="glueRemark" placeholder="${I18n.system_please_input}${I18n.jobinfo_glue_remark}" maxlength="64" ></div>
</div> </div>
<hr> <hr>
<div class="form-group"> <div class="form-group">
<div class="col-sm-offset-3 col-sm-6"> <div class="col-sm-offset-3 col-sm-6">
<button type="button" class="btn btn-primary ok" >保存</button> <button type="button" class="btn btn-primary ok" >${I18n.system_save}</button>
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button> <button type="button" class="btn btn-default" data-dismiss="modal">${I18n.system_cancel}</button>
</div> </div>
</div> </div>
</form> </form>

Loading…
Cancel
Save