lizhen_gitee 8 месяцев назад
Родитель
Сommit
38cabbb3e4

+ 12 - 12
application/admin/lang/en/lessonpackage.php

@@ -5,19 +5,19 @@ return [
     'Image'           => 'Image',
     'Name'            => 'Name',
     'Name_en'         => 'Name(en)',
-    'Lesson_ids'      => 'Lesson ids',
-    'Sessions'        => 'Sessions',
-    'Validity'        => 'Validity',
-    'Validity_en'     => 'Validity(en)',
-    'Days'            => 'Days',
+    'Lesson_ids'      => 'Choose Lesson',
+    'Sessions'        => 'Lesson Hours',
+    'Validity'        => 'period of validity',
+    'Validity_en'     => 'period of validity(en)',
+    'Days'            => 'Validity period days',
     'Price'           => 'Price',
-    'Activeremark'    => 'Active remark',
-    'Activeremark_en' => 'Active remark(en)',
-    'Gift_lesson_id'  => 'Gift lesson id',
-    'Gift_sessions'   => 'Gift sessions',
-    'Is_show'         => 'Is show',
-    'Is_show 1'       => 'On',
-    'Is_show 0'       => 'Off',
+    'Activeremark'    => 'Event notes',
+    'Activeremark_en' => 'Event notes(en)',
+    'Gift_lesson_id'  => 'Choose Gift lesson',
+    'Gift_sessions'   => 'Gift hours',
+    'Is_show'         => 'User booking?',
+    'Is_show 1'       => 'YES',
+    'Is_show 0'       => 'INTERNAL USE ONLY',
     'Weigh'           => 'Weigh',
     'Content'         => 'Content',
     'Content_en'      => 'Content(en)',

+ 12 - 12
application/admin/lang/zh-cn/lessonpackage.php

@@ -3,24 +3,24 @@
 return [
     'Id'              => 'id',
     'Image'           => '图片',
-    'Name'            => '套标题',
-    'Name_en'         => '套标题(en)',
-    'Lesson_ids'      => '课程ids',
-    'Sessions'        => '课程数量',
+    'Name'            => '套标题',
+    'Name_en'         => '套标题(en)',
+    'Lesson_ids'      => '选择课程',
+    'Sessions'        => '课时数量(小时)',
     'Validity'        => '显示有效期',
     'Validity_en'     => '显示有效期(en)',
-    'Days'            => '实际有效天数',
+    'Days'            => '有效天数',
     'Price'           => '价格',
     'Activeremark'    => '显示活动备注',
     'Activeremark_en' => '显示活动备注(en)',
-    'Gift_lesson_id'  => '赠送课程id',
-    'Gift_sessions'   => '赠送课程数量',
-    'Is_show'         => '是否上架',
-    'Is_show 1'       => '上架',
-    'Is_show 0'       => '下架',
+    'Gift_lesson_id'  => '选择赠送课程',
+    'Gift_sessions'   => '赠送课时数量(小时)',
+    'Is_show'         => '客人可以预约?',
+    'Is_show 1'       => '可以',
+    'Is_show 0'       => '仅内部',
     'Weigh'           => '排序',
-    'Content'         => '套介绍',
-    'Content_en'      => '套介绍en',
+    'Content'         => '套介绍',
+    'Content_en'      => '套介绍en',
     'Lessona.name'     => '课程标题',
     'Lessona.name_en'  => '课程标题(en)',
     'Lessonb.name'     => '赠送课程标题',

+ 2 - 2
public/assets/js/backend/lessonpackage.js

@@ -31,7 +31,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
                         {field: 'name', title: __('Name'), operate: 'LIKE'},
                         {field: 'name_en', title: __('Name_en'), operate: 'LIKE'},
-                        {field: 'lesson_ids', title: __('Lesson_ids'), operate: 'LIKE'},
+//                        {field: 'lesson_ids', title: __('Lesson_ids'), operate: 'LIKE'},
 //                        {field: 'lessona.name', title: __('Lessona.name'), operate: 'LIKE'},
 //                        {field: 'lessona.name_en', title: __('Lessona.name_en'), operate: 'LIKE'},
                         {field: 'sessions', title: __('Sessions')},
@@ -43,7 +43,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'activeremark_en', title: __('Activeremark_en'), operate: 'LIKE'},
                         {field: 'is_show', title: __('Is_show'), searchList: {"1":__('Is_show 1'),"0":__('Is_show 0')}, formatter: Table.api.formatter.normal},
                         {field: 'weigh', title: __('Weigh'), operate: false},
-                        {field: 'gift_lesson_id', title: __('Gift_lesson_id')},
+//                        {field: 'gift_lesson_id', title: __('Gift_lesson_id')},
                         {field: 'lessonb.name', title: __('Lessonb.name'), operate: 'LIKE'},
                         {field: 'lessonb.name_en', title: __('Lessonb.name_en'), operate: 'LIKE'},
                         {field: 'gift_sessions', title: __('Gift_sessions')},