seven 2 주 전
부모
커밋
a2dda6992e
4개의 변경된 파일19개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      app/Services/BetService.php
  2. 4 0
      lang/en/messages.php
  3. 4 0
      lang/vi/messages.php
  4. 4 0
      lang/zh/messages.php

+ 7 - 7
app/Services/BetService.php

@@ -566,10 +566,10 @@ class BetService extends BaseService
             }
 
             $text .= "-------------------------------------\n";
-            $text .= "期数:{$v->issue_no} \n";
-            $text .= "内容:{$v->keywords} \n";
-            $text .= "金额:{$v->amount} \n";
-            $text .= "盈亏:{$phase} \n";
+            $text .= lang("期数").":{$v->issue_no} \n";
+            $text .= lang("内容").":{$v->keywords} \n";
+            $text .= lang("金额").":{$v->amount} \n";
+            $text .= lang("盈亏").":{$phase} \n";
         }
 
         $msg['text'] = $text;
@@ -582,16 +582,16 @@ class BetService extends BaseService
 
         if ($page > 1) {
             $keyboard[] = [
-                ['text' => "👆上一页", 'callback_data' => "betRecordNextPage@@" . ($page - 1)]
+                ['text' => "👆".lang("上一页"), 'callback_data' => "betRecordNextPage@@" . ($page - 1)]
             ];
         }
         $allPage = ceil($count / $limit);
         if ($allPage > $page) {
             if ($page > 1) {
-                $keyboard[count($keyboard) - 1][] = ['text' => "👇下一页", 'callback_data' => "betRecordNextPage@@" . ($page + 1)];
+                $keyboard[count($keyboard) - 1][] = ['text' => "👇".lang("下一页"), 'callback_data' => "betRecordNextPage@@" . ($page + 1)];
             } else {
                 $keyboard[] = [
-                    ['text' => "👇下一页", 'callback_data' => "betRecordNextPage@@" . ($page + 1)]
+                    ['text' => "👇".lang("下一页"), 'callback_data' => "betRecordNextPage@@" . ($page + 1)]
                 ];
             }
         }

+ 4 - 0
lang/en/messages.php

@@ -238,5 +238,9 @@ return [
     "全部"=>"all",
     "盈利"=>"profit",
     "亏损"=>"loss",
+    "期数"=>"issue number",
+    "内容"=>"Content",
+    "金额"=>"amount",
+    "盈亏"=>"profit and loss",
 
 ];

+ 4 - 0
lang/vi/messages.php

@@ -238,6 +238,10 @@ return [
     "全部"=>"tất cả",
     "盈利"=>"Lợi nhuận",
     "亏损"=>"lỗ",
+    "期数"=>"số kỳ",
+    "内容"=>"nội dung",
+    "金额"=>"số tiền",
+    "盈亏"=>"Lợi nhuận và lỗ",
 
 
 ];

+ 4 - 0
lang/zh/messages.php

@@ -238,6 +238,10 @@ return [
     "全部"=>"全部",
     "盈利"=>"盈利",
     "亏损"=>"亏损",
+    "期数"=>"期数",
+    "内容"=>"内容",
+    "金额"=>"金额",
+    "盈亏"=>"盈亏",