11wqe1 1 месяц назад
Родитель
Сommit
d5a8c8a7fe

+ 1 - 1
src/components/pages/studentManage/class.vue

@@ -980,7 +980,7 @@ export default {
     },
     },
     iniPassword(id) {
     iniPassword(id) {
       this.$confirm(this.lang.Aystrtp, this.lang.tip, {
       this.$confirm(this.lang.Aystrtp, this.lang.tip, {
-        confirmButtonText: this.lang.Confirm,
+        confirmButtonText: this.lang.Reset,
         cancelButtonText: this.lang.Cancel,
         cancelButtonText: this.lang.Cancel,
         type: "warning",
         type: "warning",
       })
       })

+ 1 - 1
src/components/pages/studentManage/grade/index.vue

@@ -867,7 +867,7 @@ export default {
     },
     },
     iniPassword(id) {
     iniPassword(id) {
       this.$confirm(this.lang.Aystrtp, this.lang.tip, {
       this.$confirm(this.lang.Aystrtp, this.lang.tip, {
-        confirmButtonText: this.lang.Confirm,
+        confirmButtonText: this.lang.Reset,
         cancelButtonText: this.lang.Cancel,
         cancelButtonText: this.lang.Cancel,
         type: "warning",
         type: "warning",
       })
       })

+ 3 - 3
src/components/pages/studentManage/student.vue

@@ -245,7 +245,7 @@
         </div>
         </div>
       </el-form>
       </el-form>
       <span slot="footer" class="dialog-footer flex">
       <span slot="footer" class="dialog-footer flex">
-        <el-button class="right" @click="updateStudent">{{lang.Modified}}</el-button>
+        <el-button class="right" @click="updateStudent">{{lang.Edit}}</el-button>
       </span>
       </span>
     </el-dialog>
     </el-dialog>
   </div>
   </div>
@@ -1095,7 +1095,7 @@ export default {
       state = 0;
       state = 0;
       let params = [{ uid: id, state: state }];
       let params = [{ uid: id, state: state }];
       this.$confirm(this.lang.Aystd, this.lang.tip, {
       this.$confirm(this.lang.Aystd, this.lang.tip, {
-        confirmButtonText: this.lang.Confirm,
+        confirmButtonText: this.lang.Delete,
         cancelButtonText: this.lang.Cancel,
         cancelButtonText: this.lang.Cancel,
         type: "warning",
         type: "warning",
       })
       })
@@ -1118,7 +1118,7 @@ export default {
     },
     },
     iniPassword(id) {
     iniPassword(id) {
       this.$confirm(this.lang.Aystrtp, this.lang.tip, {
       this.$confirm(this.lang.Aystrtp, this.lang.tip, {
-        confirmButtonText: this.lang.Confirm,
+        confirmButtonText: this.lang.Reset,
         cancelButtonText: this.lang.Cancel,
         cancelButtonText: this.lang.Cancel,
         type: "warning",
         type: "warning",
       })
       })

+ 6 - 6
src/lang/en.json

@@ -42,11 +42,11 @@
   "BatchAdd":"Batch Add",
   "BatchAdd":"Batch Add",
   "XLSXMax":"XLSX. only(Max 500KB)",
   "XLSXMax":"XLSX. only(Max 500KB)",
   "EXffu":"Example XLS file for upload.",
   "EXffu":"Example XLS file for upload.",
-  "StudentAccount":"Student Account",
+  "StudentAccount":"Student ID",
   "Class":"Class",
   "Class":"Class",
   "StudentClass":"Student Class",
   "StudentClass":"Student Class",
   "InitialPassword":"Initial Password",
   "InitialPassword":"Initial Password",
-  "Aystrtp":"Are you want to reset the password?",
+  "Aystrtp":"Are you sure you want to reset the password?",
   "Reset":"Reset",
   "Reset":"Reset",
   "Resetsuccessful":"Reset successful",
   "Resetsuccessful":"Reset successful",
   "AddStudent":"Add Student",
   "AddStudent":"Add Student",
@@ -58,7 +58,7 @@
   "NoteTdpfnsai":"Note: The default password for new student accounts is 'Coco1234'",
   "NoteTdpfnsai":"Note: The default password for new student accounts is 'Coco1234'",
   "EditStudent":"Edit Student",
   "EditStudent":"Edit Student",
   "Editsuccessful":"Edit successful",
   "Editsuccessful":"Edit successful",
-  "Aystd":"Are you want to delete?",
+  "Aystd":"Are you sure you want to delete?",
   "EnterClassName":"Enter Class Name",
   "EnterClassName":"Enter Class Name",
   "Grade":"Grade",
   "Grade":"Grade",
   "NumberofStudents":"Number of Students",
   "NumberofStudents":"Number of Students",
@@ -198,7 +198,7 @@
   "enterteacheraccount":"Please enter the teacher account",
   "enterteacheraccount":"Please enter the teacher account",
   "selectdepartment":"Please select the teaching and research department",
   "selectdepartment":"Please select the teaching and research department",
   "teacherpassword":"Note: Add the teacher's account password as Coco1234",
   "teacherpassword":"Note: Add the teacher's account password as Coco1234",
-  "confirm":"confirm",
+  "confirm":"Confirm",
   "Modifyteacher":"Modify teacher",
   "Modifyteacher":"Modify teacher",
   "enterdepartment":"Enter the department…",
   "enterdepartment":"Enter the department…",
   "makechanges":"Are you sure to make the changes?",
   "makechanges":"Are you sure to make the changes?",
@@ -698,8 +698,8 @@
 
 
 
 
   "data11_5": "11.5",
   "data11_5": "11.5",
-  "enterstuname": "Please enter student name",
-  "enterstuacc": "Please enter student account",
+  "enterstuname": "Enter Student Name",
+  "enterstuacc": "Enter Student ID",
   "numberstu": "Number of students",
   "numberstu": "Number of students",
   "Cannotsameother": "Cannot be the same as other grade names!",
   "Cannotsameother": "Cannot be the same as other grade names!",
   "Stucannotempty": "Student name cannot be empty",
   "Stucannotempty": "Student name cannot be empty",