Sfoglia il codice sorgente

GLUE界面,完整国际化定制

xuxueli 7 anni fa
parent
commit
482ea3b5a1

+ 5 - 5
xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js Vedi File

@@ -38,15 +38,15 @@ $(function() {
38 38
 		
39 39
 		if (!glueRemark) {
40 40
 			layer.open({
41
-				title: '系统提示',
42
-				content: '请输入备注',
41
+				title: I18n.system_tips,
42
+				content: I18n.system_please_input + I18n.jobinfo_glue_remark ,
43 43
 				icon: '2'
44 44
 			});
45 45
 			return;
46 46
 		}
47 47
 		if (glueRemark.length <4 || glueRemark.length > 100) {
48 48
 			layer.open({
49
-				title: '系统提示',
49
+				title: I18n.system_tips ,
50 50
 				content: '备注长度应该在4至100之间',
51 51
 				icon: '2'
52 52
 			});
@@ -65,7 +65,7 @@ $(function() {
65 65
 			success : function(data){
66 66
 				if (data.code == 200) {
67 67
 					layer.open({
68
-						title: '系统提示',
68
+						title: I18n.system_tips,
69 69
 						content: '保存成功',
70 70
 						icon: '1',
71 71
 						end: function(layero, index){
@@ -75,7 +75,7 @@ $(function() {
75 75
 					});
76 76
 				} else {
77 77
 					layer.open({
78
-						title: '系统提示',
78
+						title: I18n.system_tips,
79 79
 						content: (data.msg || "保存失败"),
80 80
 						icon: '2'
81 81
 					});