lizhen_gitee 6 ماه پیش
والد
کامیت
26019c22e1
3فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      application/api/controller/Lesson.php
  2. 2 2
      application/api/controller/Usercenter.php
  3. 1 1
      application/api/lang/en/lesson.php

+ 1 - 1
application/api/controller/Lesson.php

@@ -468,7 +468,7 @@ class Lesson extends Api
 
         //候补数量足够
         if($wait_remain >= $number){
-            $this->success(__('预约空位不足,是否转为候补?'),2);
+            $this->success(__('可预约人数不足。请确认您是否想在候补名单上。一旦他人取消,您将被自动添加到班级中'),2);
         }
 
         //两者都不够了

+ 2 - 2
application/api/controller/Usercenter.php

@@ -548,7 +548,7 @@ class Usercenter extends Api
 
             //预约情况
             $yuyue = $order['usernumber'] .' 人预约' . ($order['jointype'] == 1 ? '' : '(候补)');
-            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' Booked' : ' Waited');
+            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' Booked' : ' Waitlisted');
             $yuyue = $this->lang == 'en' ? $yuyue_en : $yuyue;
 
             $order['coach_text'] = $yuyue.'  '.$order['coach_text'];
@@ -616,7 +616,7 @@ class Usercenter extends Api
 
             //预约情况
             $yuyue = $order['usernumber'] .' 人预约' . ($order['jointype'] == 1 ? '' : '(候补)');
-            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' Booked' : 'Waited');
+            $yuyue_en = $order['usernumber'] . ($order['jointype'] == 1 ? ' Booked' : ' Waitlisted');
             $yuyue = $this->lang == 'en' ? $yuyue_en : $yuyue;
 
             $order['coach_text'] = $yuyue.'  '.$order['coach_text'];

+ 1 - 1
application/api/lang/en/lesson.php

@@ -25,7 +25,7 @@ return [
     '该配套限购一次,您已经买过了' => 'This package is limited to one purchase, you have already made a purchase',
     '预约:' => 'Booked:',
     '候补:' => 'Waitlist:',
-    '预约空位不足,是否转为候补?' => 'Insufficient booked seats, should I switch to a waitlist?',
+    '可预约人数不足。请确认您是否想在候补名单上。一旦他人取消,您将被自动添加到班级中' => 'Insufficient slots available. Please confirm if you would like to be on the waitlist. Upon any cancellations, you will be automatically added into the class',
     '没有找到足够候补人数的配套' => 'We could not find a package with enough waitlist',
     '点击太频繁,休息一下吧' => 'Click too frequently, take a break',
     '可预约名额不足' => 'Insufficient available reservation slots',