lizhen_gitee 6 mesi fa
parent
commit
fd235ea978

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

@@ -256,7 +256,7 @@ class Lesson extends Api
 //                $slot['num_remark'] = __('剩N个名额',['number'=>$slot['num_remain']]);
                 $slot['num_remark'] = __('预约:').$pay_number.'/'.$slot['num_max'];
                 if($slot['waitnum_max'] > 0){
-                    $slot['num_remark'] .= '--'. __('候补:') .$wait_number.'/'.$slot['waitnum_max'];
+                    $slot['num_remark'] .= '  '. __('候补:') .$wait_number.'/'.$slot['waitnum_max'];
                 }
             }
             //上下架的影响

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

@@ -14,7 +14,7 @@ return [
     '课程已经结束了,不能再进行预约' => 'The course has ended and no more reservations can be made',
 
     '预约名额只剩N名' => 'There are only {:number} reserved spots left',
-    '候补名额只剩N名' => 'There are only {:number} candidate spots left',
+    '候补名额只剩N名' => 'There are only {:number} waitlist spots left',
     '套餐信息不正确,请刷新重试' => 'The package information is incorrect, please refresh and try again',
     '该套餐余额不足,可以使用其他支付方式' => 'The balance of this package is insufficient, you can use other payment methods',
     '扣除套餐余额失败' => 'Failed to deduct package balance',
@@ -24,9 +24,9 @@ return [
     '使用试课失败' => 'Failed to use try lesson',
     '该配套限购一次,您已经买过了' => 'This package is limited to one purchase, you have already made a purchase',
     '预约:' => 'Booked:',
-    '候补:' => 'Candidate:',
-    '预约空位不足,是否转为候补?' => 'Insufficient booked seats, should I switch to a candidate?',
-    '没有找到足够候补人数的配套' => 'We could not find a package with enough candidates',
+    '候补:' => 'Waitlist:',
+    '预约空位不足,是否转为候补?' => 'Insufficient booked seats, should I switch to a waitlist?',
+    '没有找到足够候补人数的配套' => 'We could not find a package with enough waitlist',
     '点击太频繁,休息一下吧' => 'Click too frequently, take a break',
     '可预约名额不足' => 'Insufficient available reservation slots',
 ];