Ver Fonte

翻译问题

lizhen_gitee há 6 meses atrás
pai
commit
d3c2321b66

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

@@ -716,7 +716,7 @@ class Lesson extends Api
             $trylesson_order = Db::name('trylesson_order')->where($map)->where('find_in_set(:lesson_ids,lesson_ids)', ['lesson_ids' => $info['lesson_id']])->lock(true)->find();
             if(!$trylesson_order){
                 Db::rollback();
-                $this->error('试课信息不正确,请刷新重试');
+                $this->error('未找到对应的试课');
             }
 
             //修改预约单数据

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

@@ -20,7 +20,7 @@ return [
     '扣除套餐余额失败' => 'Failed to deduct package balance',
     '预约失败' => 'Reservation failed',
     '下单失败' => 'Order failed',
-    '试课信息不正确,请刷新重试' => 'The trylesson information is incorrect, please refresh and try again',
+    '未找到对应的试课' => 'The Trial Records is not found',
     '使用试课失败' => 'Failed to use try lesson',
     '该配套限购一次,您已经买过了' => 'This package is limited to one purchase, you have already made a purchase',
     '预约:' => 'Booked:',
@@ -28,4 +28,5 @@ return [
     '预约空位不足,是否转为候补?' => 'Insufficient booked seats, should I switch to a candidate?',
     '没有找到足够候补人数的配套' => 'We could not find a package with enough candidates',
     '点击太频繁,休息一下吧' => 'Click too frequently, take a break',
+    '可预约名额不足' => 'Insufficient available reservation slots',
 ];